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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt

Issue 2568573002: Additional unit test for audit.js: failure cases and logging examples. (Closed)
Patch Set: Simplify containValues() algorithm and error message Created 4 years 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: third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt
diff --git a/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f38b660d020f6cd56489b285bbb1feb9b1aa8335
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-expected.txt
@@ -0,0 +1,29 @@
+CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison with the expected result when it runs with run-webkit-tests.
+This is a testharness.js-based test.
+PASS # AUDIT TASK RUNNER STARTED.
+PASS > [numerical] Numerical assertion unit test.
+PASS 2.3 is 2 within an error of 0.3.
+PASS [1,1,1] contains only the constant 1.
+PASS [1,1,1] is identical to the array [1,1,1].
+PASS [1,1,1,1,2,2,3,3,3] contains all the expected values in the correct order: one, two, three.
+PASS [0.5,0.5,0.55,0.5,0.45,0.5] has no glitch above the threshold of 0.06.
+PASS < [numerical] All assertions passed. (total 5 assertions)
+PASS > [basic] Simple unit tests for basic assertions.
+PASS OfflineAudioContext does exist.
+PASS Setting foo to 0 did not throw an exception.
+PASS function () { var foo = bar; } threw ReferenceError : "bar is not defined".
+PASS 3 < 5 is true.
+PASS false is false.
+PASS 1 is equal to 1.
+PASS 1 is not equal to 2.
+PASS object is equal to object.
+PASS 2 is greater than 1.
+PASS 2 is greater than or equal to 2.
+PASS 1 is less than 2.
+PASS 1 is less than or equal to 1.
+PASS Decoding audio data with no argument rejected correctly with TypeError: Failed to execute 'decodeAudioData' on 'BaseAudioContext': 1 argument required, but only 0 present..
+PASS Start OAC rendering resolved correctly.
+PASS < [basic] All assertions passed. (total 14 assertions)
+PASS # AUDIT TASK RUNNER FINISHED: 2 tasks ran successfully.
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698