Changeset 168834 in webkit
- Timestamp:
- May 14, 2014 5:48:45 AM (10 years ago)
- Location:
- trunk/Tools
- Files:
-
- 1 added
- 1 deleted
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r168833 r168834 1 2014-05-14 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 REGRESSION(CMAKE): [GTK] InputMethodFilter unit test is not built 4 https://bugs.webkit.org/show_bug.cgi?id=132686 5 6 Reviewed by Philippe Normand. 7 8 Bring back InputMethodFilter test to the build and compile it into 9 a single binary TestWebCore with the other WebCore tests. Also 10 move it from TestWebKitAPI/gtk/ to TestWebKitAPI/Tests/WebCore/gtk/. 11 12 * Scripts/run-gtk-tests: 13 (TestRunner): Remove WebCoreGtk from the list of test directories. 14 * TestWebKitAPI/PlatformGTK.cmake: 15 * TestWebKitAPI/Tests/WebCore/gtk/InputMethodFilter.cpp: Renamed from Tools/TestWebKitAPI/Tests/gtk/InputMethodFilter.cpp. 16 1 17 2014-05-14 Zsolt Borbely <zsborbely.u-szeged@partner.samsung.com> 2 18 -
trunk/Tools/Scripts/run-gtk-tests
r167769 r168834 59 59 60 60 class TestRunner: 61 TEST_DIRS = [ "WebKit2Gtk", "WebKit2", "JavaScriptCore", "WTF", "WebCore" , "WebCoreGtk"]61 TEST_DIRS = [ "WebKit2Gtk", "WebKit2", "JavaScriptCore", "WTF", "WebCore" ] 62 62 63 63 SKIPPED = [ -
trunk/Tools/TestWebKitAPI/PlatformGTK.cmake
r168615 r168834 112 112 set_target_properties(TestWebKit2 PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebKit2) 113 113 114 # The list below works like a test expectation. Tests in the 115 # test_{webkit2_api|webcore}_BINARIES list are added to the test runner and 116 # tried on the bots on every build. Tests in test_{webkit2_api|webcore}_BINARIES 117 # are compiled and suffixed with fail and skipped from the test runner. 118 # 119 # Make sure that the tests are passing on both Debug and 120 # Release builds before adding it to test_{webkit2_api|webcore}_BINARIES. 121 122 set(test_webcore_BINARIES 123 LayoutUnit 124 URL 114 set(TestWebCoreGtk_SOURCES 115 ${WEBCORE_DIR}/platform/graphics/IntPoint.cpp 116 ${WEBCORE_DIR}/platform/graphics/IntRect.cpp 117 ${WEBCORE_DIR}/platform/graphics/IntSize.cpp 118 ${WEBCORE_DIR}/platform/graphics/cairo/IntRectCairo.cpp 119 ${WEBCORE_DIR}/platform/graphics/gtk/IntRectGtk.cpp 120 ${WEBCORE_DIR}/platform/gtk/GtkInputMethodFilter.cpp 121 ${TESTWEBKITAPI_DIR}/Tests/WebCore/gtk/InputMethodFilter.cpp 125 122 ) 126 123 124 add_executable(TestWebCore 125 ${test_main_SOURCES} 126 ${TestWebCoreGtk_SOURCES} 127 ${TESTWEBKITAPI_DIR}/TestsController.cpp 128 ${TESTWEBKITAPI_DIR}/Tests/WebCore/LayoutUnit.cpp 129 ${TESTWEBKITAPI_DIR}/Tests/WebCore/URL.cpp 130 ) 131 132 target_link_libraries(TestWebCore ${test_webcore_LIBRARIES}) 133 add_test(TestWebCore ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebCore/TestWebCore) 134 set_tests_properties(TestWebCore PROPERTIES TIMEOUT 60) 135 set_target_properties(TestWebCore PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${TESTWEBKITAPI_RUNTIME_OUTPUT_DIRECTORY}/WebCore) -
trunk/Tools/TestWebKitAPI/Tests/WebCore/gtk/InputMethodFilter.cpp
r168833 r168834 26 26 #include "config.h" 27 27 28 #include "GtkInputMethodFilter.h"29 28 #include "WTFStringUtilities.h" 29 #include <WebCore/GtkInputMethodFilter.h> 30 30 #include <gdk/gdkkeysyms.h> 31 31 #include <gtk/gtk.h> … … 52 52 Vector<String>& events() { return m_events; } 53 53 54 void sendKeyEventToFilter(unsigned int gdkKeyValue, GdkEventType type, unsigned intmodifiers = 0)54 void sendKeyEventToFilter(unsigned gdkKeyValue, GdkEventType type, unsigned modifiers = 0) 55 55 { 56 56 GdkEvent* event = gdk_event_new(type); … … 74 74 } 75 75 76 void sendPressAndReleaseKeyEventPairToFilter(unsigned int gdkKeyValue, unsigned intmodifiers = 0)76 void sendPressAndReleaseKeyEventPairToFilter(unsigned gdkKeyValue, unsigned modifiers = 0) 77 77 { 78 78 sendKeyEventToFilter(gdkKeyValue, GDK_KEY_PRESS, modifiers);
Note: See TracChangeset
for help on using the changeset viewer.