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

Side by Side Diff: third_party/WebKit/LayoutTests/battery-status/multiple-windows-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 multiple windows with page visibility. 1 Test multiple windows 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 first window: page is visible 6 first window: page is visible
7 resolution in window 7 resolution in window
8 PASS batteryInfo is defined. 8 PASS batteryInfo is defined.
9 PASS mockBatteryInfo is defined. 9 PASS lastSetMockBatteryInfo is defined.
10 PASS batteryInfo.charging is mockBatteryInfo.charging 10 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging
11 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime 11 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime
12 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime 12 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime
13 PASS batteryInfo.level is mockBatteryInfo.level 13 PASS batteryInfo.level is lastSetMockBatteryInfo.level
14 first window: page is hidden 14 first window: page is hidden
15 resolution in secondWindow 15 resolution in secondWindow
16 PASS batteryInfo is defined. 16 PASS batteryInfo is defined.
17 PASS mockBatteryInfo is defined. 17 PASS lastSetMockBatteryInfo is defined.
18 PASS batteryInfo.charging is mockBatteryInfo.charging 18 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging
19 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime 19 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime
20 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime 20 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime
21 PASS batteryInfo.level is mockBatteryInfo.level 21 PASS batteryInfo.level is lastSetMockBatteryInfo.level
22 first window: page is visible 22 first window: page is visible
23 PASS batteryInfo is defined. 23 PASS batteryInfo is defined.
24 PASS mockBatteryInfo is defined. 24 PASS lastSetMockBatteryInfo is defined.
25 PASS batteryInfo.charging is mockBatteryInfo.charging 25 PASS batteryInfo.charging is lastSetMockBatteryInfo.charging
26 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime 26 PASS batteryInfo.chargingTime is lastSetMockBatteryInfo.chargingTime
27 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime 27 PASS batteryInfo.dischargingTime is lastSetMockBatteryInfo.dischargingTime
28 PASS batteryInfo.level is mockBatteryInfo.level 28 PASS batteryInfo.level is lastSetMockBatteryInfo.level
29 PASS successfullyParsed is true 29 PASS successfullyParsed is true
30 30
31 TEST COMPLETE 31 TEST COMPLETE
32 32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698