Changeset 177908 in webkit


Ignore:
Timestamp:
Jan 5, 2015, 5:07:59 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][GTK] WKPreferencesDefaults test failed after r177506
https://bugs.webkit.org/show_bug.cgi?id=140077

Patch by Hunseop Jeong <Hunseop Jeong> on 2015-01-05
Reviewed by Csaba Osztrogonác.

WebKit C SPI is available on EFL,GTK.
Changed the define order to pass the API test.

  • TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:

(TestWebKitAPI::TEST):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r177870 r177908  
     12015-01-05  Hunseop Jeong  <hs85.jeong@samsung.com>
     2
     3        [EFL][GTK] WKPreferencesDefaults test failed after r177506
     4        https://bugs.webkit.org/show_bug.cgi?id=140077
     5
     6        Reviewed by Csaba Osztrogonác.
     7
     8        WebKit C SPI is available on EFL,GTK.
     9        Changed the define order to pass the API test.
     10
     11        * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
     12        (TestWebKitAPI::TEST):
     13
    1142015-01-01  Alexey Proskuryakov  <ap@apple.com>
    215
  • trunk/Tools/TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp

    r177506 r177908  
    4545TEST(WebKit2, WKPreferencesDefaults)
    4646{
    47 #if WK_HAVE_C_SPI
     47#if PLATFORM(GTK) || PLATFORM(EFL)
     48    static const char* expectedStandardFontFamily = "Times";
     49    static const char* expectedFixedFontFamily = "Courier New";
     50    static const char* expectedSerifFontFamily = "Times";
     51    static const char* expectedSansSerifFontFamily = "Helvetica";
     52    static const char* expectedCursiveFontFamily = "Comic Sans MS";
     53    static const char* expectedFantasyFontFamily = "Impact";
     54    static const char* expectedPictographFontFamily = "Times";
     55#elif WK_HAVE_C_SPI
    4856    static const char* expectedStandardFontFamily = "Times";
    4957    static const char* expectedFixedFontFamily = "Courier";
     
    6169    static const char* expectedFantasyFontFamily = "Papyrus";
    6270    static const char* expectedPictographFontFamily = "AppleColorEmoji";
    63 #elif PLATFORM(GTK) || PLATFORM(EFL)
    64     static const char* expectedStandardFontFamily = "Times";
    65     static const char* expectedFixedFontFamily = "Courier New";
    66     static const char* expectedSerifFontFamily = "Times";
    67     static const char* expectedSansSerifFontFamily = "Helvetica";
    68     static const char* expectedCursiveFontFamily = "Comic Sans MS";
    69     static const char* expectedFantasyFontFamily = "Impact";
    70     static const char* expectedPictographFontFamily = "Times";
    7171#endif
    7272
Note: See TracChangeset for help on using the changeset viewer.