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

Unified Diff: LayoutTests/battery-status/multiple-promises-after-resolve-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/multiple-promises-after-resolve-expected.txt
diff --git a/LayoutTests/battery-status/multiple-promises-after-resolve-expected.txt b/LayoutTests/battery-status/multiple-promises-after-resolve-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..316cd8b36a707ffb67528ff8a468f8517d955702
--- /dev/null
+++ b/LayoutTests/battery-status/multiple-promises-after-resolve-expected.txt
@@ -0,0 +1,23 @@
+Test battery status API with multiple promises after resolve.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+resolution number 1
+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
+resolution number 2
+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
+

Powered by Google App Engine
This is Rietveld 408576698