Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1422)

Unified Diff: third_party/WebKit/LayoutTests/battery-status/page-visibility-expected.txt

Issue 1836203002: Change the battery-status layout tests to use JS mocks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/battery-status/page-visibility-expected.txt
diff --git a/third_party/WebKit/LayoutTests/battery-status/page-visibility-expected.txt b/third_party/WebKit/LayoutTests/battery-status/page-visibility-expected.txt
index 6bc9bfc0a34db03cd53c94ef97aeb3d1dc85d4c4..1d81bec2a6a6cef5e8e98aa0dc3dffe3fb41c91b 100644
--- a/third_party/WebKit/LayoutTests/battery-status/page-visibility-expected.txt
+++ b/third_party/WebKit/LayoutTests/battery-status/page-visibility-expected.txt
@@ -5,19 +5,19 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
page is visible
PASS batteryInfo is defined.
-PASS mockBatteryInfo is defined.
-PASS batteryInfo.charging is mockBatteryInfo.charging
-PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
-PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
-PASS batteryInfo.level is mockBatteryInfo.level
+PASS lastSetMockBatteryInfo is defined.
+PASS batteryInfo.charging is lastSetMockBatteryInfo.charging
+PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime
+PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime
+PASS batteryInfo.level is lastSetMockBatteryInfo.level
page is hidden
page is visible
PASS batteryInfo is defined.
-PASS mockBatteryInfo is defined.
-PASS batteryInfo.charging is mockBatteryInfo.charging
-PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
-PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
-PASS batteryInfo.level is mockBatteryInfo.level
+PASS lastSetMockBatteryInfo is defined.
+PASS batteryInfo.charging is lastSetMockBatteryInfo.charging
+PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime
+PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime
+PASS batteryInfo.level is lastSetMockBatteryInfo.level
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698