|
| 1 | +2012-04-26 Carlos Garcia Campos < [email protected]> |
| 2 | + |
| 3 | + [GTK] Build and run TestWebKitAPI WebKit2 unit tests |
| 4 | + https://bugs.webkit.org/show_bug.cgi?id=84446 |
| 5 | + |
| 6 | + Reviewed by Philippe Normand. |
| 7 | + |
| 8 | + * Scripts/run-gtk-tests: |
| 9 | + (TestRunner): Add TestWebKitAPI/WebKit2 to the list of directories |
| 10 | + containing tests. Unskip FunctionalTest.RefCountedStorage, since |
| 11 | + we are now using a custom main that initializes WTF threading. |
| 12 | + (TestRunner._setup_testing_environment): Set environment variables |
| 13 | + required to run WebKit2 tests. |
| 14 | + * TestWebKitAPI/GNUmakefile.am: |
| 15 | + * TestWebKitAPI/JavaScriptTest.cpp: Use |
| 16 | + JavaScriptCore/JSContextRef.h instead of |
| 17 | + JavaScriptCore/JavaScriptCore.h since it includes JSStringRefCF.h |
| 18 | + unconditionally. |
| 19 | + * TestWebKitAPI/PlatformWebView.h: Define PlatformWKView and |
| 20 | + PlatformWindow for GTK. |
| 21 | + * TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp: Remove |
| 22 | + unneded header that breaks the build of GTK port. |
| 23 | + * TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp: Use |
| 24 | + JavaScriptCore/JSContextRef.h instead of |
| 25 | + JavaScriptCore/JavaScriptCore.h since it includes JSStringRefCF.h |
| 26 | + unconditionally. |
| 27 | + * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp: |
| 28 | + (TestWebKitAPI::TEST): Add expected values for GTK+ port. |
| 29 | + * TestWebKitAPI/gtk/InjectedBundleControllerGtk.cpp: |
| 30 | + (TestWebKitAPI): |
| 31 | + (TestWebKitAPI::InjectedBundleController::platformInitialize): |
| 32 | + * TestWebKitAPI/gtk/PlatformUtilitiesGtk.cpp: Added. |
| 33 | + (TestWebKitAPI::Util::checkTestFinished): |
| 34 | + (TestWebKitAPI::Util::run): |
| 35 | + (TestWebKitAPI::Util::sleep): |
| 36 | + (TestWebKitAPI::Util::getFilenameFromEnvironmentVariableAsUTF8): |
| 37 | + (TestWebKitAPI::Util::createInjectedBundlePath): |
| 38 | + (TestWebKitAPI::Util::createURLForResource): |
| 39 | + (TestWebKitAPI::Util::URLForNonExistentResource): |
| 40 | + (TestWebKitAPI::Util::isKeyDown): |
| 41 | + * TestWebKitAPI/gtk/PlatformWebViewGtk.cpp: Added. |
| 42 | + (TestWebKitAPI::PlatformWebView::PlatformWebView): |
| 43 | + (TestWebKitAPI::PlatformWebView::~PlatformWebView): |
| 44 | + (TestWebKitAPI::PlatformWebView::page): |
| 45 | + (TestWebKitAPI::PlatformWebView::resizeTo): |
| 46 | + (TestWebKitAPI::doKeyStroke): |
| 47 | + (TestWebKitAPI::PlatformWebView::simulateSpacebarKeyPress): |
| 48 | + (TestWebKitAPI::PlatformWebView::simulateAltKeyPress): |
| 49 | + (TestWebKitAPI::doMouseButtonEvent): |
| 50 | + (TestWebKitAPI::PlatformWebView::simulateRightClick): |
| 51 | + (TestWebKitAPI::PlatformWebView::simulateMouseMove): |
| 52 | + * TestWebKitAPI/gtk/main.cpp: |
| 53 | + (main): |
| 54 | + |
1 | 55 | 2012-04-26 Carlos Garcia Campos < [email protected]> |
2 | 56 |
|
3 | 57 | [GTK] run-gtk-tests: Use a timeout per test instead of a global timeout |
|
0 commit comments