[Qt] Compile WTF tests of TestWebKitAPI
authorhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Feb 2013 08:25:14 +0000 (08:25 +0000)
committerhausmann@webkit.org <hausmann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 7 Feb 2013 08:25:14 +0000 (08:25 +0000)
commit13b557372d47701de479358f11f1ee84b30890f3
treece6dcd7c9ac2ba8ebff5128cd45feb8f5742166d
parent28c4abd59d3a76ca836a8c0df8c4aaf29e3eb38d
[Qt] Compile WTF tests of TestWebKitAPI
https://bugs.webkit.org/show_bug.cgi?id=108935

Reviewed by Kenneth Rohde Christiansen.

.:

Build gtest on Linux.

* WebKit.pro:

Source/ThirdParty:

Add qmake build system .pro file for building gtest as static library.

* gtest/gtest.pro: Added.

Tools:

Add initial stubs and files for building at least the WTF tests.
The WK2 tests need more platform code, in particular PlatformWebView
and injected bundle support.

* TestWebKitAPI/TestWebKitAPI.pri: Added.
* TestWebKitAPI/TestWebKitAPI.pro: Added.
* TestWebKitAPI/Tests/WTF/WTF.pro: Added.
* TestWebKitAPI/qt/InjectedBundleControllerQt.cpp: Added.
(TestWebKitAPI):
(TestWebKitAPI::InjectedBundleController::platformInitialize):
* TestWebKitAPI/qt/PlatformUtilitiesQt.cpp: Added.
(Util):
(TestWebKitAPI::Util::run):
(TestWebKitAPI::Util::sleep):
(TestWebKitAPI::Util::createInjectedBundlePath):
(TestWebKitAPI::Util::createURLForResource):
(TestWebKitAPI::Util::URLForNonExistentResource):
* TestWebKitAPI/qt/main.cpp: Added.
(main):
* Tools.pro:
* qmake/mkspecs/features/default_post.prf:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
ChangeLog
Source/ThirdParty/ChangeLog
Source/ThirdParty/gtest/gtest.pro [new file with mode: 0644]
Tools/ChangeLog
Tools/TestWebKitAPI/TestWebKitAPI.pri [new file with mode: 0644]
Tools/TestWebKitAPI/TestWebKitAPI.pro [new file with mode: 0644]
Tools/TestWebKitAPI/Tests/WTF/WTF.pro [new file with mode: 0644]
Tools/TestWebKitAPI/qt/InjectedBundleControllerQt.cpp [new file with mode: 0644]
Tools/TestWebKitAPI/qt/PlatformUtilitiesQt.cpp [new file with mode: 0644]
Tools/TestWebKitAPI/qt/main.cpp [new file with mode: 0644]
Tools/Tools.pro
Tools/qmake/mkspecs/features/default_post.prf
WebKit.pro