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

Side by Side Diff: third_party/WebKit/LayoutTests/battery-status/page-visibility-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, 8 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 unified diff | Download patch
OLDNEW
1 Test with page visibility. 1 Test with page visibility.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 page is visible 6 page is visible
7 PASS batteryInfo is defined. 7 PASS batteryInfo is defined.
8 PASS mockBatteryInfo is defined. 8 PASS lastSetMockBatteryInfo is defined.
9 PASS batteryInfo.charging is mockBatteryInfo.charging 9 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging
10 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime 10 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime
11 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime 11 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime
12 PASS batteryInfo.level is mockBatteryInfo.level 12 PASS batteryInfo.level is lastSetMockBatteryInfo.level
13 page is hidden 13 page is hidden
14 page is visible 14 page is visible
15 PASS batteryInfo is defined. 15 PASS batteryInfo is defined.
16 PASS mockBatteryInfo is defined. 16 PASS lastSetMockBatteryInfo is defined.
17 PASS batteryInfo.charging is mockBatteryInfo.charging 17 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging
18 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime 18 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime
19 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime 19 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime
20 PASS batteryInfo.level is mockBatteryInfo.level 20 PASS batteryInfo.level is lastSetMockBatteryInfo.level
21 PASS successfullyParsed is true 21 PASS successfullyParsed is true
22 22
23 TEST COMPLETE 23 TEST COMPLETE
24 24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698