Add TestWebKitAPI tests for KURL
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2012 06:07:52 +0000 (06:07 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 11 Jan 2012 06:07:52 +0000 (06:07 +0000)
commitd5d46da552647879819d258b52f882d35c6d2d6f
tree59b29d8fe26154e2689d5846172225ddde13dfc2
parentf99862e628728ae37da0296c8054b334b396b3ee
Add TestWebKitAPI tests for KURL
<http://webkit.org/b/75774>

Reviewed by Adam Barth.

Source/WebCore:

* WebCore.exp.in: Export additional KURL methods used in
testing.

Tools:

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: Add a
WebCore folder and KURL.cpp source file to the project.
* TestWebKitAPI/Tests/WebCore/KURL.cpp: Added.
(TestWebKitAPI::WebCore::SetUp): Initialize the main thread
during setup since this test doesn't go through WebKit or
WebKit2.
(TestWebKitAPI::TEST_F): Add two basic tests.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@104671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/WebCore.exp.in
Tools/ChangeLog
Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
Tools/TestWebKitAPI/Tests/WebCore/KURL.cpp [new file with mode: 0644]