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

Unified Diff: third_party/WebKit/LayoutTests/battery-status/api-defined-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/api-defined-expected.txt
diff --git a/third_party/WebKit/LayoutTests/battery-status/api-defined-expected.txt b/third_party/WebKit/LayoutTests/battery-status/api-defined-expected.txt
index f12b6b31e079bfad400e389ae0a14937cfbc98d6..e65f21a03e872d180cd98cfe86030a2ea80c3e71 100644
--- a/third_party/WebKit/LayoutTests/battery-status/api-defined-expected.txt
+++ b/third_party/WebKit/LayoutTests/battery-status/api-defined-expected.txt
@@ -12,10 +12,12 @@ PASS battery.charging is defined.
PASS battery.chargingTime is defined.
PASS battery.dischargingTime is defined.
PASS battery.level is defined.
-PASS battery.charging is mockBatteryInfo.charging
-PASS battery.chargingTime is mockBatteryInfo.chargingTime
-PASS battery.dischargingTime is mockBatteryInfo.dischargingTime
-PASS battery.level is mockBatteryInfo.level
+PASS batteryInfo is defined.
+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 typeof battery.onchargingchange == 'object' is true
PASS typeof battery.onchargingtimechange == 'object' is true
PASS typeof battery.ondischargingtimechange == 'object' is true

Powered by Google App Engine
This is Rietveld 408576698