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

Unified Diff: third_party/WebKit/LayoutTests/battery-status/api-defined-expected.txt

Issue 1844033004: Revert of 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 e65f21a03e872d180cd98cfe86030a2ea80c3e71..f12b6b31e079bfad400e389ae0a14937cfbc98d6 100644
--- a/third_party/WebKit/LayoutTests/battery-status/api-defined-expected.txt
+++ b/third_party/WebKit/LayoutTests/battery-status/api-defined-expected.txt
@@ -12,12 +12,10 @@
PASS battery.chargingTime is defined.
PASS battery.dischargingTime is defined.
PASS battery.level is defined.
-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 battery.charging is mockBatteryInfo.charging
+PASS battery.chargingTime is mockBatteryInfo.chargingTime
+PASS battery.dischargingTime is mockBatteryInfo.dischargingTime
+PASS battery.level is mockBatteryInfo.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