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

Unified Diff: LayoutTests/battery-status/promise-with-eventlisteners-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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/battery-status/promise-with-eventlisteners-expected.txt
diff --git a/LayoutTests/battery-status/promise-with-eventlisteners-expected.txt b/LayoutTests/battery-status/promise-with-eventlisteners-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0cd73d83db596994b3c9cc96433b3bee602f4d16
--- /dev/null
+++ b/LayoutTests/battery-status/promise-with-eventlisteners-expected.txt
@@ -0,0 +1,44 @@
+Test promise resolution and event listeners callbacks.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+batteryStatusSuccess invoked
+PASS batteryInfo is defined.
+PASS mockBatteryInfo is defined.
+PASS batteryInfo.charging is mockBatteryInfo.charging
+PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
+PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
+PASS batteryInfo.level is mockBatteryInfo.level
+chargingchange invoked
+PASS batteryInfo is defined.
+PASS mockBatteryInfo is defined.
+PASS batteryInfo.charging is mockBatteryInfo.charging
+PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
+PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
+PASS batteryInfo.level is mockBatteryInfo.level
+chargingtimechange invoked
+PASS batteryInfo is defined.
+PASS mockBatteryInfo is defined.
+PASS batteryInfo.charging is mockBatteryInfo.charging
+PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
+PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
+PASS batteryInfo.level is mockBatteryInfo.level
+dischargingtimechange invoked
+PASS batteryInfo is defined.
+PASS mockBatteryInfo is defined.
+PASS batteryInfo.charging is mockBatteryInfo.charging
+PASS batteryInfo.chargingTime is mockBatteryInfo.chargingTime
+PASS batteryInfo.dischargingTime is mockBatteryInfo.dischargingTime
+PASS batteryInfo.level is mockBatteryInfo.level
+levelchange invoked
+PASS batteryInfo is defined.
+PASS mockBatteryInfo is defined.
+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 successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/battery-status/promise-with-eventlisteners.html ('k') | LayoutTests/battery-status/test-battery-status-basic.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698