Changeset 68910 in webkit
- Timestamp:
- Oct 1, 2010 12:07:40 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 52 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r68907 r68910 1 2010-10-01 Sam Weinig <sam@webkit.org> 2 3 Reviewed by Adam Roben. 4 5 Add simple API tester for WebKit2 6 https://bugs.webkit.org/show_bug.cgi?id=46953 7 8 This adds a very simple testing infrastructure for testing APIs exposed 9 through the WebKit project. It consists of two parts: 1) a project that 10 builds the all the tests 2) a script that searches the tests directory and 11 calls the tester once for each test. 12 13 This adds the infrastructure and two tests: 14 - Tests/WTF/Vector1.cpp - A proof of concept test of WTF data-structures. 15 - Tests/WebKit2/BasicTest1.cpp - A proof of concept test of WebKit2 API. 16 17 This currently only works on the mac, but is designed to be easily ported 18 to any platform. 19 20 * Scripts/run-api-tests: Added. 21 * Scripts/build-api-tests: Added. 22 Scripts to build/run the tests. 23 24 * TestWebKitAPI: Added. 25 * TestWebKitAPI/Configurations: Added. 26 * TestWebKitAPI/Configurations/Base.xcconfig: Added. 27 * TestWebKitAPI/Configurations/DebugRelease.xcconfig: Added. 28 * TestWebKitAPI/Configurations/TestWebKitAPI.xcconfig: Added. 29 * TestWebKitAPI/ForwardingHeaders: Added. 30 * TestWebKitAPI/ForwardingHeaders/wtf: Added. 31 * TestWebKitAPI/PlatformUtilities.h: Added. 32 * TestWebKitAPI/PlatformWebView.h: Added. 33 (TestWebKitAPI::PlatformWebView::platformView): 34 * TestWebKitAPI/StringFunctions.h: Added. 35 * TestWebKitAPI/Test.h: Added. 36 (TestWebKitAPI::Test::~Test): 37 (TestWebKitAPI::Test::name): 38 (TestWebKitAPI::Test::Register::Register): 39 (TestWebKitAPI::Test::Register::create): 40 (TestWebKitAPI::Test::Test): 41 * TestWebKitAPI/TestWebKitAPI.xcodeproj: Added. 42 * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Added. 43 * TestWebKitAPI/TestWebKitAPIPrefix.h: Added. 44 * TestWebKitAPI/TestsController.cpp: Added. 45 (TestWebKitAPI::TestsController::shared): 46 (TestWebKitAPI::TestsController::TestsController): 47 (TestWebKitAPI::TestsController::runTestNamed): 48 (TestWebKitAPI::TestsController::testFailed): 49 (TestWebKitAPI::TestsController::registerCreateTestFunction): 50 * TestWebKitAPI/TestsController.h: Added. 51 * TestWebKitAPI/mac: Added. 52 * TestWebKitAPI/mac/PlatformUtilitiesMac.mm: Added. 53 (TestWebKitAPI::Util::run): 54 (TestWebKitAPI::Util::createURLForResource): 55 * TestWebKitAPI/mac/PlatformWebViewMac.mm: Added. 56 (TestWebKitAPI::PlatformWebView::PlatformWebView): 57 (TestWebKitAPI::PlatformWebView::resizeTo): 58 (TestWebKitAPI::PlatformWebView::~PlatformWebView): 59 (TestWebKitAPI::PlatformWebView::page): 60 (TestWebKitAPI::PlatformWebView::focus): 61 * TestWebKitAPI/mac/main.mm: Added. 62 Infrastructure. 63 64 * TestWebKitAPI/Tests: Added. 65 * TestWebKitAPI/Tests/WTF: Added. 66 * TestWebKitAPI/Tests/WTF/Vector1.cpp: Added. 67 * TestWebKitAPI/Tests/WebKit2: Added. 68 * TestWebKitAPI/Tests/WebKit2/BasicTest1.cpp: Added. 69 (TestWebKitAPI::State::State): 70 * TestWebKitAPI/Tests/WebKit2/basic-1.html: Added. 71 Proof of concept tests. 72 1 73 2010-10-01 Adam Roben <aroben@apple.com> 2 74
Note: See TracChangeset
for help on using the changeset viewer.