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

Side by Side Diff: android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback-expected.txt

Issue 1394303007: [WebViewLayoutTest] Fix potential rounding error in testBatteryApi() layout test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the precision test Created 5 years, 2 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
« no previous file with comments | « android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test Battery Status API callback in WebView 1 Test Battery Status API callback in WebView
2 batteryStatusSuccess invoked 2 batteryStatusSuccess invoked
3 PASS: battery.level is >= 0 3 PASS: battery.level is >= 0
4 PASS: battery.level is <= 1 4 PASS: battery.level is <= 1
5 PASS: isInteger(battery.level * 100) is true 5 PASS: battery.level.toPrecision(2) == battery.level is true
6 PASS: !battery.charging || battery.dischargingTime === Infinity is true 6 PASS: !battery.charging || battery.dischargingTime === Infinity is true
7 PASS: battery.charging || battery.chargingTime === Infinity is true 7 PASS: battery.charging || battery.chargingTime === Infinity is true
8 TEST FINISHED 8 TEST FINISHED
OLDNEW
« no previous file with comments | « android_webview/tools/WebViewShell/test/blink-apis/battery-status/battery-callback.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698