source: trunk/LayoutTests/batterystatus/updates-expected.txt @ 174190

Revision 122088, 464 bytes checked in by gyuyoung.kim@samsung.com, 2 years ago (diff)

Check returned value in BatteryStatus APIs test cases
https://bugs.webkit.org/show_bug.cgi?id=90665

Reviewed by Adam Barth.

It is good to compare with actual values to recognize what is difference.

  • batterystatus/add-listener-from-callback-expected.txt:
  • batterystatus/basic-all-types-of-events-expected.txt:
  • batterystatus/basic-operation-expected.txt:
  • batterystatus/script-tests/add-listener-from-callback.js:

(checkBatteryStatus):

  • batterystatus/script-tests/basic-all-types-of-events.js:

(checkBatteryStatus):

  • batterystatus/script-tests/basic-operation.js:
  • batterystatus/script-tests/updates.js:

(checkBatteryStatus):

  • batterystatus/updates-expected.txt:
Line 
1Tests that updates to the battery event causes new events to fire.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS battery.charging is false
7PASS battery.chargingTime is Infinity
8PASS battery.dischargingTime is 6000
9PASS battery.level is 0.7
10PASS battery.charging is true
11PASS battery.chargingTime is 7000
12PASS battery.dischargingTime is Infinity
13PASS battery.level is 0.3
14PASS successfullyParsed is true
15
16TEST COMPLETE
17
Note: See TracBrowser for help on using the repository browser.