Changeset 84334 in webkit


Ignore:
Timestamp:
Apr 19, 2011 8:21:09 PM (13 years ago)
Author:
yi.4.shen@nokia.com
Message:

2011-04-19 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Andreas Kling.

[Qt][Symbian] Fix Api test failure -- tst_QWebView::setPalette()
https://bugs.webkit.org/show_bug.cgi?id=57254

Skip test for setPalette() which doesn't work
when WTF_USE_QT_MOBILE_THEME is defined.

  • tests/qgraphicswebview/tst_qgraphicswebview.cpp:
  • tests/qwebview/tst_qwebview.cpp:
  • tests/tests.pri:
Location:
trunk/Source/WebKit/qt
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/qt/ChangeLog

    r84332 r84334  
     12011-04-19  Yi Shen  <yi.4.shen@nokia.com>
     2
     3        Reviewed by Andreas Kling.
     4
     5        [Qt][Symbian] Fix Api test failure -- tst_QWebView::setPalette()
     6        https://bugs.webkit.org/show_bug.cgi?id=57254
     7
     8        Skip test for setPalette() which doesn't work
     9        when WTF_USE_QT_MOBILE_THEME is defined.
     10
     11        * tests/qgraphicswebview/tst_qgraphicswebview.cpp:
     12        * tests/qwebview/tst_qwebview.cpp:
     13        * tests/tests.pri:
     14
    1152011-04-19  Yi Shen  <yi.4.shen@nokia.com>
    216
  • trunk/Source/WebKit/qt/tests/qgraphicswebview/tst_qgraphicswebview.cpp

    r84332 r84334  
    4242    void crashOnSetScaleBeforeSetUrl();
    4343    void widgetsRenderingThroughCache();
     44#if !(defined(WTF_USE_QT_MOBILE_THEME) && WTF_USE_QT_MOBILE_THEME)
    4445    void setPalette_data();
    4546    void setPalette();
     47#endif
    4648    void renderHints();
    4749#if defined(ENABLE_TILED_BACKING_STORE) && ENABLE_TILED_BACKING_STORE
     
    312314}
    313315
     316#if !(defined(WTF_USE_QT_MOBILE_THEME) && WTF_USE_QT_MOBILE_THEME)
    314317void tst_QGraphicsWebView::setPalette_data()
    315318{
     
    459462    QVERIFY(img1 != img2);
    460463}
     464#endif
    461465
    462466void tst_QGraphicsWebView::renderHints()
  • trunk/Source/WebKit/qt/tests/qwebview/tst_qwebview.cpp

    r82517 r84334  
    6363
    6464    void crashTests();
    65 
     65#if !(defined(WTF_USE_QT_MOBILE_THEME) && WTF_USE_QT_MOBILE_THEME)
    6666    void setPalette_data();
    6767    void setPalette();
     68#endif
    6869};
    6970
     
    326327}
    327328
     329#if !(defined(WTF_USE_QT_MOBILE_THEME) && WTF_USE_QT_MOBILE_THEME)
    328330void tst_QWebView::setPalette_data()
    329331{
     
    454456    QVERIFY(img1 != img2);
    455457}
     458#endif
    456459
    457460void tst_QWebView::renderingAfterMaxAndBack()
  • trunk/Source/WebKit/qt/tests/tests.pri

    r83108 r84334  
    3030}
    3131
     32# Use the Qt Mobile theme if it is in the CONFIG
     33use_qt_mobile_theme: DEFINES += WTF_USE_QT_MOBILE_THEME=1
     34
    3235# This define is used by some tests to look up resources in the source tree
    3336!symbian: DEFINES += TESTS_SOURCE_DIR=\\\"$$PWD/\\\"
Note: See TracChangeset for help on using the changeset viewer.