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

Unified Diff: third_party/WebKit/LayoutTests/battery-status/multiple-promises-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/multiple-promises-expected.txt
diff --git a/third_party/WebKit/LayoutTests/battery-status/multiple-promises-expected.txt b/third_party/WebKit/LayoutTests/battery-status/multiple-promises-expected.txt
index dd82949649e28dd1fe2681ea912243fe3b649612..204660a3e52c4246536db1741f240f8a5eca6814 100644
--- a/third_party/WebKit/LayoutTests/battery-status/multiple-promises-expected.txt
+++ b/third_party/WebKit/LayoutTests/battery-status/multiple-promises-expected.txt
@@ -6,18 +6,18 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS promise1 === promise2 is true
first resolution
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
second resolution
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