Commit 8e9bf7c3 authored by aroben@apple.com's avatar aroben@apple.com

Clean up #includes in TestWebKitAPI

Fixes <http://webkit.org/b/66556> TestWebKitAPI's prefix header isn't very helpful

Reviewed by Anders Carlsson.

* TestWebKitAPI/TestWebKitAPIPrefix.h: Added wtf/Platform.h. Added gtest/gtest.h for C++
files and WebKit/WebKit.h for ObjC files.

* TestWebKitAPI/InjectedBundleController.cpp:
* TestWebKitAPI/JavaScriptTest.h:
* TestWebKitAPI/PlatformUtilities.h:
* TestWebKitAPI/PlatformWebView.h:
* TestWebKitAPI/Test.h:
* TestWebKitAPI/Tests/WTF/StringOperators.cpp:
* TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
* TestWebKitAPI/Tests/WTF/VectorReverse.cpp:
* TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp:
* TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
* TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
* TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
* TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
* TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp:
* TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
* TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
* TestWebKitAPI/Tests/WebKit2/Find.cpp:
* TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp:
* TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
* TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
* TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
* TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp:
* TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
* TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp:
* TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp:
* TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
* TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
* TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
* TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp:
* TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
* TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
* TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
* TestWebKitAPI/Tests/WebKit2/WKString.cpp:
* TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp:
* TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
* TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
* TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp:
* TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
* TestWebKitAPI/Tests/WebKit2/win/TranslateMessageGeneratesWMChar.cpp:
* TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
* TestWebKitAPI/Tests/WebKit2/win/WMPrint.cpp:
* TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
* TestWebKitAPI/TestsController.cpp:
* TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
Removed now-unnecessary #includes. Moved #includes of Test.h in with the rest of the

git-svn-id: svn://svn.chromium.org/blink/trunk@93404 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 2af4c7a1
2011-08-19 Adam Roben <aroben@apple.com>
Clean up #includes in TestWebKitAPI
Fixes <http://webkit.org/b/66556> TestWebKitAPI's prefix header isn't very helpful
Reviewed by Anders Carlsson.
* TestWebKitAPI/TestWebKitAPIPrefix.h: Added wtf/Platform.h. Added gtest/gtest.h for C++
files and WebKit/WebKit.h for ObjC files.
* TestWebKitAPI/InjectedBundleController.cpp:
* TestWebKitAPI/JavaScriptTest.h:
* TestWebKitAPI/PlatformUtilities.h:
* TestWebKitAPI/PlatformWebView.h:
* TestWebKitAPI/Test.h:
* TestWebKitAPI/Tests/WTF/StringOperators.cpp:
* TestWebKitAPI/Tests/WTF/VectorBasic.cpp:
* TestWebKitAPI/Tests/WTF/VectorReverse.cpp:
* TestWebKitAPI/Tests/WebKit2/AboutBlankLoad.cpp:
* TestWebKitAPI/Tests/WebKit2/CanHandleRequest.cpp:
* TestWebKitAPI/Tests/WebKit2/CookieManager.cpp:
* TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
* TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash_Bundle.cpp:
* TestWebKitAPI/Tests/WebKit2/DownloadDecideDestinationCrash.cpp:
* TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
* TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
* TestWebKitAPI/Tests/WebKit2/Find.cpp:
* TestWebKitAPI/Tests/WebKit2/ForceRepaint.cpp:
* TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
* TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
* TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle.cpp:
* TestWebKitAPI/Tests/WebKit2/HitTestResultNodeHandle_Bundle.cpp:
* TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
* TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic_Bundle.cpp:
* TestWebKitAPI/Tests/WebKit2/MouseMoveAfterCrash.cpp:
* TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
* TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
* TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
* TestWebKitAPI/Tests/WebKit2/ResponsivenessTimerDoesntFireEarly.cpp:
* TestWebKitAPI/Tests/WebKit2/RestoreSessionStateContainingFormData.cpp:
* TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
* TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp:
* TestWebKitAPI/Tests/WebKit2/WKString.cpp:
* TestWebKitAPI/Tests/WebKit2/WKStringJSString.cpp:
* TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
* TestWebKitAPI/Tests/WebKit2/win/DoNotCopyANullCFURLResponse.cpp:
* TestWebKitAPI/Tests/WebKit2/win/HideFindIndicator.cpp:
* TestWebKitAPI/Tests/WebKit2/win/ResizeViewWhileHidden.cpp:
* TestWebKitAPI/Tests/WebKit2/win/TranslateMessageGeneratesWMChar.cpp:
* TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
* TestWebKitAPI/Tests/WebKit2/win/WMPrint.cpp:
* TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
* TestWebKitAPI/TestsController.cpp:
* TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
Removed now-unnecessary #includes. Moved #includes of Test.h in with the rest of the
#includes since it is no longer a special header.
2011-08-18 Dirk Pranke <dpranke@chromium.org> 2011-08-18 Dirk Pranke <dpranke@chromium.org>
new-run-webkit-tests hung while acquiring http lock on snow leopard bots new-run-webkit-tests hung while acquiring http lock on snow leopard bots
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include "InjectedBundleTest.h" #include "InjectedBundleTest.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include <WebKit2/WebKit2.h>
#include <algorithm> #include <algorithm>
#include <assert.h> #include <assert.h>
......
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <gtest/gtest.h>
#include <wtf/Platform.h>
#if PLATFORM(MAC) #if PLATFORM(MAC)
#ifdef __OBJC__ #ifdef __OBJC__
@class WKView; @class WKView;
......
...@@ -27,10 +27,7 @@ ...@@ -27,10 +27,7 @@
#define PlatformUtilities_h #define PlatformUtilities_h
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
#include <WebKit2/WebKit2.h>
#include <gtest/gtest.h>
#include <string> #include <string>
#include <wtf/Platform.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
namespace Util { namespace Util {
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#ifndef PlatformWebView_h #ifndef PlatformWebView_h
#define PlatformWebView_h #define PlatformWebView_h
#include <wtf/Platform.h>
#if USE(CG) #if USE(CG)
#include <CoreGraphics/CGGeometry.h> #include <CoreGraphics/CGGeometry.h>
#endif #endif
......
...@@ -26,8 +26,6 @@ ...@@ -26,8 +26,6 @@
#ifndef Test_h #ifndef Test_h
#define Test_h #define Test_h
#include <gtest/gtest.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
#define EXPECT_NOT_NULL(expression) \ #define EXPECT_NOT_NULL(expression) \
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include <wtf/Platform.h>
#if __APPLE__ #if __APPLE__
...@@ -41,5 +42,12 @@ ...@@ -41,5 +42,12 @@
#define WTF_EXPORT_PRIVATE #define WTF_EXPORT_PRIVATE
#include <stdint.h> #include <stdint.h>
#include <WebKit2/WebKit2.h> #include <WebKit2/WebKit2.h>
#ifdef __cplusplus
#include <gtest/gtest.h>
#endif
#if PLATFORM(MAC) && defined(__OBJC__)
#import <WebKit/WebKit.h>
#endif
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#define JS_EXPORTDATA #define JS_EXPORTDATA
#define WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING() (++wtfStringCopyCount) #define WTF_STRINGTYPEADAPTER_COPIED_WTF_STRING() (++wtfStringCopyCount)
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include <JavaScriptCore/Vector.h> #include <JavaScriptCore/Vector.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include <JavaScriptCore/Vector.h> #include <JavaScriptCore/Vector.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,11 +23,8 @@ ...@@ -23,11 +23,8 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,12 +23,9 @@ ...@@ -23,12 +23,9 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WKContextPrivate.h> #include <WebKit2/WKContextPrivate.h>
#include <WebKit2/WKNumber.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,13 +23,10 @@ ...@@ -23,13 +23,10 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WKCookieManager.h> #include <WebKit2/WKCookieManager.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
#include <WebKit2/WebKit2.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,11 +23,9 @@ ...@@ -23,11 +23,9 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h> #include "Test.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <WebKit2/WKBundlePrivate.h> #include <WebKit2/WKBundlePrivate.h>
#include <WebKit2/WKBundleScriptWorld.h> #include <WebKit2/WKBundleScriptWorld.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
#include <WebKit2/WebKit2.h>
#include <assert.h> #include <assert.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WKDownload.h> #include <WebKit2/WKDownload.h>
......
...@@ -23,13 +23,11 @@ ...@@ -23,13 +23,11 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include "Test.h"
#include <JavaScriptCore/JavaScriptCore.h> #include <JavaScriptCore/JavaScriptCore.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
#include <WebKit2/WebKit2.h>
#include <WebKit2/WKSerializedScriptValue.h> #include <WebKit2/WKSerializedScriptValue.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,11 +23,9 @@ ...@@ -23,11 +23,9 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h> #include "Test.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,12 +23,9 @@ ...@@ -23,12 +23,9 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
#include <WebKit2/WebKit2.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,11 +23,9 @@ ...@@ -23,11 +23,9 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h> #include "Test.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,11 +23,9 @@ ...@@ -23,11 +23,9 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h> #include "Test.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,11 +23,8 @@ ...@@ -23,11 +23,8 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,11 +23,8 @@ ...@@ -23,11 +23,8 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <WebKit2/WKBundlePage.h> #include <WebKit2/WKBundlePage.h>
#include <WebKit2/WKBundleHitTestResult.h> #include <WebKit2/WKBundleHitTestResult.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
#include <WebKit2/WebKit2.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,11 +23,8 @@ ...@@ -23,11 +23,8 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
*/ */
#include "InjectedBundleTest.h" #include "InjectedBundleTest.h"
#include <WebKit2/WebKit2.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "JavaScriptTest.h" #include "JavaScriptTest.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
......
...@@ -23,11 +23,9 @@ ...@@ -23,11 +23,9 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h> #include "Test.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,11 +23,8 @@ ...@@ -23,11 +23,8 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WebKit2.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,13 +23,11 @@ ...@@ -23,13 +23,11 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include "Test.h"
#include <JavaScriptCore/JavaScriptCore.h> #include <JavaScriptCore/JavaScriptCore.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
#include <WebKit2/WebKit2.h>
#include <WebKit2/WKSerializedScriptValue.h> #include <WebKit2/WKSerializedScriptValue.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
......
...@@ -23,11 +23,10 @@ ...@@ -23,11 +23,10 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "JavaScriptTest.h" #include "JavaScriptTest.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include "Test.h"
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "JavaScriptTest.h" #include "JavaScriptTest.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
......
...@@ -23,14 +23,9 @@ ...@@ -23,14 +23,9 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include <WebKit2/WKPreferences.h>
#include <WebKit2/WKPreferencesPrivate.h> #include <WebKit2/WKPreferencesPrivate.h>
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
#include <WebKit2/WKString.h>
#include <wtf/Platform.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -23,10 +23,6 @@ ...@@ -23,10 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include <WebKit2/WKString.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
TEST(WebKit2, WKString) TEST(WebKit2, WKString)
......
...@@ -23,9 +23,6 @@ ...@@ -23,9 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include <WebKit2/WKString.h>
#include <WebKit2/WKStringPrivate.h> #include <WebKit2/WKStringPrivate.h>
#include <JavaScriptCore/JSStringRef.h> #include <JavaScriptCore/JSStringRef.h>
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include "WindowMessageObserver.h" #include "WindowMessageObserver.h"
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
#include <WebKit2/WKURLResponseCF.h> #include <WebKit2/WKURLResponseCF.h>
#include <wtf/RetainPtr.h> #include <wtf/RetainPtr.h>
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include "WindowMessageObserver.h" #include "WindowMessageObserver.h"
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "PlatformWebView.h" #include "PlatformWebView.h"
#include <WebKit2/WKRetainPtr.h> #include <WebKit2/WKRetainPtr.h>
......
...@@ -23,13 +23,9 @@ ...@@ -23,13 +23,9 @@
* THE POSSIBILITY OF SUCH DAMAGE. * THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "Test.h"
#include "JavaScriptTest.h" #include "JavaScriptTest.h"
#include "PlatformUtilities.h" #include "PlatformUtilities.h"
#include "SyntheticBackingScaleFactorWindow.h" #include "SyntheticBackingScaleFactorWindow.h"
#include <WebKit/WebFrame.h>
#include <WebKit/WebView.h>
#include <WebKit2/WKURLCF.h> #include <WebKit2/WKURLCF.h>
#include <wtf/RetainPtr.h> #include <wtf/RetainPtr.h>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include "TestsController.h" #include "TestsController.h"
#include <gtest/gtest.h>
#include <wtf/Threading.h> #include <wtf/Threading.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <WebKit2/WKStringCF.h> #include <WebKit2/WKStringCF.h>
#include <WebKit2/WKURLCF.h> #include <WebKit2/WKURLCF.h>
#include <WebKit2/WKURLResponseNS.h> #include <WebKit2/WKURLResponseNS.h>
#include <WebKit2/WebKit2.h>
#include <wtf/RetainPtr.h> #include <wtf/RetainPtr.h>
namespace TestWebKitAPI { namespace TestWebKitAPI {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment