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

Unified Diff: third_party/WebKit/LayoutTests/battery-status/multiple-promises-after-resolve-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-after-resolve-expected.txt
diff --git a/third_party/WebKit/LayoutTests/battery-status/multiple-promises-after-resolve-expected.txt b/third_party/WebKit/LayoutTests/battery-status/multiple-promises-after-resolve-expected.txt
index 4a1a557e194e1415eb98091fc202da1d2323a5fe..2ab4cb524c617ae8de9b064e6701365d93f9fab0 100644
--- a/third_party/WebKit/LayoutTests/battery-status/multiple-promises-after-resolve-expected.txt
+++ b/third_party/WebKit/LayoutTests/battery-status/multiple-promises-after-resolve-expected.txt
@@ -5,19 +5,19 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
resolution number 1
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 promise1 === promise2 is true
resolution number 2
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