Title: [120930] trunk/LayoutTests
Revision
120930
Author
[email protected]
Date
2012-06-21 10:03:28 -0700 (Thu, 21 Jun 2012)

Log Message

DeviceOrientation and DeviceMotion Test Cleanup
https://bugs.webkit.org/show_bug.cgi?id=89662

Patch by Amy Ousterhout <[email protected]> on 2012-06-21
Reviewed by Ryosuke Niwa.

Replaces 'LayoutTestController' with 'TestRunner' in debug messages.
This makes it consistent with testRunner, which replaced layoutTestController.

* fast/dom/DeviceMotion/script-tests/no-page-cache.js:
* fast/dom/DeviceOrientation/script-tests/add-listener-from-callback.js:
* fast/dom/DeviceOrientation/script-tests/basic-operation.js:
* fast/dom/DeviceOrientation/script-tests/event-after-navigation.js:
* fast/dom/DeviceOrientation/script-tests/multiple-frames.js:
* fast/dom/DeviceOrientation/script-tests/no-page-cache.js:
* fast/dom/DeviceOrientation/script-tests/no-synchronous-events.js:
* fast/dom/DeviceOrientation/script-tests/null-values.js:
(setMockOrientation):
* fast/dom/DeviceOrientation/script-tests/updates.js:
(setMockOrientation):

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (120929 => 120930)


--- trunk/LayoutTests/ChangeLog	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/ChangeLog	2012-06-21 17:03:28 UTC (rev 120930)
@@ -1,3 +1,25 @@
+2012-06-21  Amy Ousterhout  <[email protected]>
+
+        DeviceOrientation and DeviceMotion Test Cleanup
+        https://bugs.webkit.org/show_bug.cgi?id=89662
+
+        Reviewed by Ryosuke Niwa.
+
+        Replaces 'LayoutTestController' with 'TestRunner' in debug messages.
+        This makes it consistent with testRunner, which replaced layoutTestController.
+
+        * fast/dom/DeviceMotion/script-tests/no-page-cache.js:
+        * fast/dom/DeviceOrientation/script-tests/add-listener-from-callback.js:
+        * fast/dom/DeviceOrientation/script-tests/basic-operation.js:
+        * fast/dom/DeviceOrientation/script-tests/event-after-navigation.js:
+        * fast/dom/DeviceOrientation/script-tests/multiple-frames.js:
+        * fast/dom/DeviceOrientation/script-tests/no-page-cache.js:
+        * fast/dom/DeviceOrientation/script-tests/no-synchronous-events.js:
+        * fast/dom/DeviceOrientation/script-tests/null-values.js:
+        (setMockOrientation):
+        * fast/dom/DeviceOrientation/script-tests/updates.js:
+        (setMockOrientation):
+
 2012-06-21  Csaba Osztrogonác  <[email protected]>
 
         [Qt] Unreviewed gardening, unskip now passing tests.

Modified: trunk/LayoutTests/fast/dom/DeviceMotion/script-tests/no-page-cache.js (120929 => 120930)


--- trunk/LayoutTests/fast/dom/DeviceMotion/script-tests/no-page-cache.js	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/fast/dom/DeviceMotion/script-tests/no-page-cache.js	2012-06-21 17:03:28 UTC (rev 120930)
@@ -5,7 +5,7 @@
     testRunner.setCanOpenWindows();
     testRunner.overridePreference('WebKitUsesPageCachePreferenceKey', 1);
 } else
-    debug('This test can not be run without the LayoutTestController');
+    debug('This test can not be run without the TestRunner');
 
 var pageOneOnloadCount = 0;
 function reportPageOneOnload() {

Modified: trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/add-listener-from-callback.js (120929 => 120930)


--- trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/add-listener-from-callback.js	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/add-listener-from-callback.js	2012-06-21 17:03:28 UTC (rev 120930)
@@ -7,7 +7,7 @@
 if (window.testRunner)
     testRunner.setMockDeviceOrientation(true, mockAlpha, true, mockBeta, true, mockGamma);
 else
-    debug('This test can not be run without the LayoutTestController');
+    debug('This test can not be run without the TestRunner');
 
 var deviceOrientationEvent;
 function checkOrientation(event) {

Modified: trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/basic-operation.js (120929 => 120930)


--- trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/basic-operation.js	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/basic-operation.js	2012-06-21 17:03:28 UTC (rev 120930)
@@ -7,7 +7,7 @@
 if (window.testRunner)
     testRunner.setMockDeviceOrientation(true, mockAlpha, true, mockBeta, true, mockGamma);
 else
-    debug('This test can not be run without the LayoutTestController');
+    debug('This test can not be run without the TestRunner');
 
 var deviceOrientationEvent;
 window.addEventListener('deviceorientation', function(e) {

Modified: trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/event-after-navigation.js (120929 => 120930)


--- trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/event-after-navigation.js	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/event-after-navigation.js	2012-06-21 17:03:28 UTC (rev 120930)
@@ -3,7 +3,7 @@
 if (window.testRunner)
     testRunner.overridePreference('WebKitUsesPageCachePreferenceKey', 1);
 else
-    debug('This test can not be run without the LayoutTestController');
+    debug('This test can not be run without the TestRunner');
 
 document.body._onload_ = function() {
     window.addEventListener('deviceorientation', function() { } );

Modified: trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/multiple-frames.js (120929 => 120930)


--- trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/multiple-frames.js	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/multiple-frames.js	2012-06-21 17:03:28 UTC (rev 120930)
@@ -31,7 +31,7 @@
 if (window.testRunner)
     testRunner.setMockDeviceOrientation(true, mockEvent.alpha, true, mockEvent.beta, true, mockEvent.gamma);
 else
-    debug('This test can not be run without the LayoutTestController');
+    debug('This test can not be run without the TestRunner');
 
 var childFrame = document.createElement('iframe');
 document.body.appendChild(childFrame);

Modified: trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/no-page-cache.js (120929 => 120930)


--- trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/no-page-cache.js	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/no-page-cache.js	2012-06-21 17:03:28 UTC (rev 120930)
@@ -5,7 +5,7 @@
     testRunner.setCanOpenWindows();
     testRunner.overridePreference('WebKitUsesPageCachePreferenceKey', 1);
 } else
-    debug('This test can not be run without the LayoutTestController');
+    debug('This test can not be run without the TestRunner');
 
 var pageOneOnloadCount = 0;
 function reportPageOneOnload() {

Modified: trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/no-synchronous-events.js (120929 => 120930)


--- trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/no-synchronous-events.js	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/no-synchronous-events.js	2012-06-21 17:03:28 UTC (rev 120930)
@@ -3,7 +3,7 @@
 if (window.testRunner)
     testRunner.setMockDeviceOrientation(true, 1.1, true, 2.2, true, 3.3);
 else
-    debug('This test can not be run without the LayoutTestController');
+    debug('This test can not be run without the TestRunner');
 
 var hasAddEventListenerReturned = false;
 window.addEventListener('deviceorientation', function() {

Modified: trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/null-values.js (120929 => 120930)


--- trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/null-values.js	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/null-values.js	2012-06-21 17:03:28 UTC (rev 120930)
@@ -9,7 +9,7 @@
             null != mockEvent.beta, null == mockEvent.beta ? 0 : mockEvent.beta,
             null != mockEvent.gamma, null == mockEvent.gamma ? 0 : mockEvent.gamma);
     else
-        debug('This test can not be run without the LayoutTestController');
+        debug('This test can not be run without the TestRunner');
 }
 
 var deviceOrientationEvent;

Modified: trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/updates.js (120929 => 120930)


--- trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/updates.js	2012-06-21 16:53:57 UTC (rev 120929)
+++ trunk/LayoutTests/fast/dom/DeviceOrientation/script-tests/updates.js	2012-06-21 17:03:28 UTC (rev 120930)
@@ -6,7 +6,7 @@
     if (window.testRunner)
         testRunner.setMockDeviceOrientation(true, mockEvent.alpha, true, mockEvent.beta, true, mockEvent.gamma);
     else
-        debug('This test can not be run without the LayoutTestController');
+        debug('This test can not be run without the TestRunner');
 }
 
 var deviceOrientationEvent;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to