Update manual tests and comments to refer to TestRunner instead of LayoutTestController
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Aug 2012 02:40:21 +0000 (02:40 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Aug 2012 02:40:21 +0000 (02:40 +0000)
https://bugs.webkit.org/show_bug.cgi?id=94168

Reviewed by Kent Tamura.

.:

* ManualTests/resources/multiFileResources/post-echo-and-notify-done.cgi:

Source/WebKit:

* PlatformBlackBerry.cmake:

Source/WebKit/chromium:

* public/WebDevToolsAgent.h:
(WebDevToolsAgent):
* public/WebView.h:
(WebView):

Source/WebKit/qt:

* Api/qwebelement.cpp:
(convertJSValueToWebElementVariant):
* WebCoreSupport/DumpRenderTreeSupportQt.h:

Source/WebKit/win:

* Interfaces/IWebPreferencesPrivate.idl:

Source/WebKit2:

* Shared/WebPreferencesStore.cpp:
(WebKit::WebPreferencesStore::getBoolValueForKey):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@125738 268f45cc-cd09-0410-ab3c-d52691b4dbfc

14 files changed:
ChangeLog
ManualTests/resources/multiFileResources/post-echo-and-notify-done.cgi
Source/WebKit/ChangeLog
Source/WebKit/PlatformBlackBerry.cmake
Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/public/WebDevToolsAgent.h
Source/WebKit/chromium/public/WebView.h
Source/WebKit/qt/Api/qwebelement.cpp
Source/WebKit/qt/ChangeLog
Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.h
Source/WebKit/win/ChangeLog
Source/WebKit/win/Interfaces/IWebPreferencesPrivate.idl
Source/WebKit2/ChangeLog
Source/WebKit2/Shared/WebPreferencesStore.cpp

index df2d382963fe35ae3d22ccac8dc124d011e02e5c..5d74235c95a106b01be5de03c7846679e8488b9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Update manual tests and comments to refer to TestRunner instead of LayoutTestController
+        https://bugs.webkit.org/show_bug.cgi?id=94168
+
+        Reviewed by Kent Tamura.
+
+        * ManualTests/resources/multiFileResources/post-echo-and-notify-done.cgi:
+
 2012-08-15  Bruno de Oliveira Abinader  <bruno.abinader@basyskom.com>
 
         [css3-text] Add CSS3 Text decoration compile flag
index 2c523dc0a3a1cbf46fe2d02fe726d1e6356b40e6..90036729e5ffb4aac261ecd5a166fa3c64d46293 100755 (executable)
@@ -6,7 +6,7 @@ if ($ENV{'REQUEST_METHOD'} eq "POST") {
     read(STDIN, $request, $ENV{'CONTENT_LENGTH'})
                 || die "Could not get query\n";
     print "<pre>$request</pre>";
-    print "<script>if (window.layoutTestController) layoutTestController.notifyDone();</script>";
+    print "<script>if (window.testRunner) testRunner.notifyDone();</script>";
 } else {
     print "Wrong method: " . $ENV{'REQUEST_METHOD'} . "\n";
 } 
index 8fc3428b112dd3b3ea9ef2846bc42e6cb8c400be..8b4a29e712518d37d934f2a4fcedb770ca9634b4 100644 (file)
@@ -1,3 +1,12 @@
+2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Update manual tests and comments to refer to TestRunner instead of LayoutTestController
+        https://bugs.webkit.org/show_bug.cgi?id=94168
+
+        Reviewed by Kent Tamura.
+
+        * PlatformBlackBerry.cmake:
+
 2012-08-14  Christophe Dumez  <christophe.dumez@intel.com>
 
         [EFL] undefined reference to 'g_type_init' with gold linker
index d133d0fa956c7ec0bbb79dbbdc5bcceea2636fd2..d2171719b02bebb4a223778370e973d386cb4149 100644 (file)
@@ -132,14 +132,14 @@ IF (NOT PUBLIC_BUILD)
         ${TOOLS_DIR}/DumpRenderTree/blackberry/DumpRenderTree.cpp
         ${TOOLS_DIR}/DumpRenderTree/blackberry/EventSender.cpp
         ${TOOLS_DIR}/DumpRenderTree/blackberry/GCControllerBlackBerry.cpp
-        ${TOOLS_DIR}/DumpRenderTree/blackberry/LayoutTestControllerBlackBerry.cpp
+        ${TOOLS_DIR}/DumpRenderTree/blackberry/TestRunnerBlackBerry.cpp
         ${TOOLS_DIR}/DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp
         ${TOOLS_DIR}/DumpRenderTree/blackberry/PNGImageEncoder.cpp
         ${TOOLS_DIR}/DumpRenderTree/blackberry/WorkQueueItemBlackBerry.cpp
         ${TOOLS_DIR}/DumpRenderTree/AccessibilityController.cpp
         ${TOOLS_DIR}/DumpRenderTree/AccessibilityUIElement.cpp
         ${TOOLS_DIR}/DumpRenderTree/AccessibilityTextMarker.cpp
-        ${TOOLS_DIR}/DumpRenderTree/LayoutTestController.cpp
+        ${TOOLS_DIR}/DumpRenderTree/TestRunner.cpp
         ${TOOLS_DIR}/DumpRenderTree/CyclicRedundancyCheck.cpp
         ${TOOLS_DIR}/DumpRenderTree/PixelDumpSupport.cpp
         ${TOOLS_DIR}/DumpRenderTree/WorkQueue.cpp
index 1f2ba6e4da151b097642c4378efa816716190c19..2579c0d2fd21c836053c2492e629540bd45f760e 100644 (file)
@@ -1,3 +1,15 @@
+2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Update manual tests and comments to refer to TestRunner instead of LayoutTestController
+        https://bugs.webkit.org/show_bug.cgi?id=94168
+
+        Reviewed by Kent Tamura.
+
+        * public/WebDevToolsAgent.h:
+        (WebDevToolsAgent):
+        * public/WebView.h:
+        (WebView):
+
 2012-08-15  Alec Flett  <alecflett@chromium.org>
 
         IndexedDB: generate index keys for existing data in createIndex in front end
index 9f1d53f1bf8bb2c12565fe9e697949420e48a9af..4f90302c8503262f4a76de94747a785dbd144720 100644 (file)
@@ -66,7 +66,7 @@ public:
     virtual void inspectElementAt(const WebPoint&) = 0;
     virtual void setProcessId(long) = 0;
 
-    // Exposed for LayoutTestController.
+    // Exposed for TestRunner.
     virtual void evaluateInWebInspector(long callId, const WebString& script) = 0;
 
     class MessageDescriptor {
index e8f791fa6d82b381336ce40d7e956a40346d698d..45d3dd3c34d12cb78a4f7c7924e08454919a4177 100644 (file)
@@ -507,7 +507,7 @@ public:
     // level is changed in this update from the previous update).
     virtual void updateBatteryStatus(const WebBatteryStatus&) { }
 
-    // Testing functionality for LayoutTestController -----------------------
+    // Testing functionality for TestRunner ---------------------------------
 
     // Simulates a compositor lost context.
     virtual void loseCompositorContext(int numTimes) = 0;
index 50128cbe878a8f4143fcaa2d898426d53ac613c6..a208cbc4ea5b47f18173e9224b979ebc39b91f45 100644 (file)
@@ -2057,7 +2057,7 @@ static QVariant convertJSValueToWebElementVariant(JSC::JSObject* object, int *di
         // loop since when we find an Element we do not recurse.
         visitedObjects->remove(object);
     } else if (object && object->inherits(&JSDocument::s_info)) {
-        // To support LayoutTestControllerQt::nodesFromRect(), used in DRT, we do an implicit
+        // To support TestRunnerQt::nodesFromRect(), used in DRT, we do an implicit
         // conversion from 'document' to the QWebElement representing the 'document.documentElement'.
         // We can't simply use a QVariantMap in nodesFromRect() because it currently times out
         // when serializing DOMMimeType and DOMPlugin, even if we limit the recursion.
index 1ed2e59483872d7ab9b3d19fd80563379b0cad2e..693a69df0b7855794d8bcd884a3f82c7c3a918d7 100644 (file)
@@ -1,3 +1,14 @@
+2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Update manual tests and comments to refer to TestRunner instead of LayoutTestController
+        https://bugs.webkit.org/show_bug.cgi?id=94168
+
+        Reviewed by Kent Tamura.
+
+        * Api/qwebelement.cpp:
+        (convertJSValueToWebElementVariant):
+        * WebCoreSupport/DumpRenderTreeSupportQt.h:
+
 2012-08-14  Adam Barth  <abarth@webkit.org>
 
         Delete Frame::domWindow() and Frame::existingDOMWindow()
index 34041ddfaf76f9d88018fad5a78f80705ebae606..5ed2492221131a499c27151dfb00dd2036a9bdd8 100644 (file)
@@ -52,7 +52,7 @@ QT_END_NAMESPACE
 
 extern QMap<int, QWebScriptWorld*> m_worldMap;
 
-// Used to pass WebCore::Node's to layout tests using LayoutTestController
+// Used to pass WebCore::Node's to layout tests using TestRunner
 class QWEBKIT_EXPORT QDRTNode {
 public:
     QDRTNode();
index dbbb1553e845e51af55318911b50857d495ec455..ed76faf905f4123ebf188454fe6431739ef4c90d 100644 (file)
@@ -1,3 +1,12 @@
+2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Update manual tests and comments to refer to TestRunner instead of LayoutTestController
+        https://bugs.webkit.org/show_bug.cgi?id=94168
+
+        Reviewed by Kent Tamura.
+
+        * Interfaces/IWebPreferencesPrivate.idl:
+
 2012-08-14  Adam Barth  <abarth@webkit.org>
 
         Delete Frame::domWindow() and Frame::existingDOMWindow()
index 2f1fdeae58fc646bcd00a96e95ba26de760c7422..f88f783a567c13ebba4cfed96795b111a1a39c83 100644 (file)
@@ -88,7 +88,7 @@ interface IWebPreferencesPrivate : IUnknown
     HRESULT setShouldUseHighResolutionTimers([in] BOOL useHighResolutionTimers);
     HRESULT shouldUseHighResolutionTimers([out, retval] BOOL* useHighResolutionTimers);
 
-    // Used to set preference specified by a test via LayoutTestController.overridePreference(..).
+    // Used to set preference specified by a test via TestRunner.overridePreference(..).
     // Used by DumpRenderTree.
     HRESULT setPreferenceForTest([in] BSTR key, [in] BSTR value);
 
index f6d6966c471c853665e2bbfee14e31ca2cb4957a..8ac8e69c6fe6ec55e9ca5ae8ddac36849cd112f0 100644 (file)
@@ -1,3 +1,13 @@
+2012-08-15  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Update manual tests and comments to refer to TestRunner instead of LayoutTestController
+        https://bugs.webkit.org/show_bug.cgi?id=94168
+
+        Reviewed by Kent Tamura.
+
+        * Shared/WebPreferencesStore.cpp:
+        (WebKit::WebPreferencesStore::getBoolValueForKey):
+
 2012-08-15  Bruno de Oliveira Abinader  <bruno.abinader@basyskom.com>
 
         [css3-text] Add CSS3 Text decoration compile flag
index 8668bec0c0a4fc81019e7770d060d325acba35ba..89734bf0efb080380edc645e3ec71dcdf367c6f9 100644 (file)
@@ -184,7 +184,7 @@ bool WebPreferencesStore::setBoolValueForKey(const String& key, bool value)
 
 bool WebPreferencesStore::getBoolValueForKey(const String& key) const
 {
-    // FIXME: Extend overriding to other key types used from LayoutTestController.
+    // FIXME: Extend overriding to other key types used from TestRunner.
     BoolOverridesMap::const_iterator it = boolTestRunnerOverridesMap().find(key);
     if (it != boolTestRunnerOverridesMap().end())
         return it->second;