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

Unified Diff: third_party/WebKit/LayoutTests/battery-status/no-gc-with-eventlisteners-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/no-gc-with-eventlisteners-expected.txt
diff --git a/third_party/WebKit/LayoutTests/battery-status/no-gc-with-eventlisteners-expected.txt b/third_party/WebKit/LayoutTests/battery-status/no-gc-with-eventlisteners-expected.txt
index 58d413267922741d99ededcb5fec1b72b3a413ca..de03af182be6870a143d066c718dacf97f2e00e1 100644
--- a/third_party/WebKit/LayoutTests/battery-status/no-gc-with-eventlisteners-expected.txt
+++ b/third_party/WebKit/LayoutTests/battery-status/no-gc-with-eventlisteners-expected.txt
@@ -3,10 +3,12 @@ Test no garbage collection of battery manager object when listeners are attached
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-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 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 successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698