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

Side by Side Diff: LayoutTests/battery-status/multiple-promises-expected.txt

Issue 329723005: Battery Status API: blink promise implementation and layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert to a single resolver at a time Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 Test multiple promise resolution.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS promise1 === promise2 is false
7 first resolution
8 PASS batteryInfo is defined.
9 PASS mockBatteryInfo is defined.
10 PASS batteryInfo.charging is mockBatteryInfo.charging
11 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
12 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
13 PASS batteryInfo.level is mockBatteryInfo.level
14 second resolution
15 PASS batteryInfo is defined.
16 PASS mockBatteryInfo is defined.
17 PASS batteryInfo.charging is mockBatteryInfo.charging
18 PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
19 PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
20 PASS batteryInfo.level is mockBatteryInfo.level
21 PASS successfullyParsed is true
22
23 TEST COMPLETE
24
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698