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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures-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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.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
(Empty)
1 CONSOLE ERROR: line 39: [audit.js] this test requires the explicit comparison wi th the expected result when it runs with run-webkit-tests.
2 This is a testharness.js-based test.
3 PASS # AUDIT TASK RUNNER STARTED.
4 PASS > [basic-failure] Testing basic assertion failures.
5 FAIL X Setting foo to bar incorrectly threw ReferenceError: "bar is not defined" . assert_true: expected true got false
6 FAIL X function () { var foo = 0; } did not throw an exception. assert_true: exp ected true got false
7 FAIL X 3 < 5 is not true. assert_true: expected true got false
8 FAIL X true is not false. assert_true: expected true got false
9 FAIL X 1 is not equal to 2. assert_true: expected true got false
10 FAIL X 1 should not be equal to 1. assert_true: expected true got false
11 FAIL X typeof 3.141592 is not equal to string. assert_true: expected true got fa lse
12 FAIL X 1 is not greater than 2. assert_true: expected true got false
13 FAIL X 1 is not greater than or equal to 2. assert_true: expected true got false
14 FAIL X 2 is not less than 1. assert_true: expected true got false
15 FAIL X 2 is not less than or equal to 1. assert_true: expected true got false
16 FAIL X Decoding audio data with no argument rejected incorrectly with TypeError: Failed to execute 'decodeAudioData' on 'BaseAudioContext': 1 argument required, but only 0 present.. assert_true: expected true got false
17 FAIL X undefined resolved incorrectly. assert_true: expected true got false
18 FAIL < [basic-failure] 13 out of 13 assertions were failed. assert_true: expecte d true got false
19 PASS > [numerical-failures] Testing numerical assertion failures.
20 FAIL X 0 is not close to 0.1 within an error of 0 assert_true: expected true got false
21 FAIL X Expected 5 for all values but found 7 unexpected values. :
22 Index Actual
23 [0] 1
24 [1] 8
25 [2] 11
26 [3] 18
27 ...and 3 more errors. assert_true: expected true got false
28 FAIL X [1,8,11,18,6,5,5,5,123,49] expected to be equal to the array [1,8,10,18,6 ,5,6,5,123,48] but differs in 3 places:
29 Index Actual Expected
30 [2] 1.1000000000000000e+1 1.0000000000000000e+1
31 [6] 5.0000000000000000e+0 6.0000000000000000e+0
32 [9] 4.9000000000000000e+1 4.8000000000000000e+1 assert_true: expec ted true got false
33 FAIL X [1,1,1,1,2,2,3,3,3] expected to have the value sequence of [1,3,2] but go t 2 at index 4. assert_true: expected true got false
34 FAIL X [0.5,0.5,0.55,0.5,0.45,0.5] has a glitch at index 5 of size 0.04999999999 999999. assert_true: expected true got false
35 FAIL X [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.9] does not equal [0.7,0.6,0.5,0.4,0.3,0.2 ,0.1] with an element-wise tolerance of {"absoluteThreshold":0.02,"relativeThres hold":0}.
36 Index Actual Expected AbsError RelError Test threshold
37 [0] 1.0000000000000001e-1 6.9999999999999996e-1 5.99999999999999 98e-1 8.5714285714285721e-1 2.0000000000000000e-2
38 [1] 2.0000000000000001e-1 5.9999999999999998e-1 3.99999999999999 97e-1 6.6666666666666663e-1 2.0000000000000000e-2
39 [2] 2.9999999999999999e-1 5.0000000000000000e-1 2.00000000000000 01e-1 4.0000000000000002e-1 2.0000000000000000e-2
40 [4] 5.0000000000000000e-1 2.9999999999999999e-1 2.00000000000000 01e-1 6.6666666666666674e-1 2.0000000000000000e-2
41 [5] 5.9999999999999998e-1 2.0000000000000001e-1 3.99999999999999 97e-1 1.9999999999999998e+0 2.0000000000000000e-2
42 Max AbsError of 5.9999999999999998e-1 at index of 0.
43 Max RelError of 5.9999999999999991e+0 at index of 6. assert_true: expect ed true got false
44 FAIL X [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.9] does not equal [0.7,0.6,0.5,0.4,0.3,0.2 ,0.1] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshol d":0.1}.
45 Index Actual Expected AbsError RelError Test threshold
46 [0] 1.0000000000000001e-1 6.9999999999999996e-1 5.99999999999999 98e-1 8.5714285714285721e-1 6.9999999999999993e-2
47 [1] 2.0000000000000001e-1 5.9999999999999998e-1 3.99999999999999 97e-1 6.6666666666666663e-1 5.9999999999999998e-2
48 [2] 2.9999999999999999e-1 5.0000000000000000e-1 2.00000000000000 01e-1 4.0000000000000002e-1 5.0000000000000003e-2
49 [4] 5.0000000000000000e-1 2.9999999999999999e-1 2.00000000000000 01e-1 6.6666666666666674e-1 2.9999999999999999e-2
50 [5] 5.9999999999999998e-1 2.0000000000000001e-1 3.99999999999999 97e-1 1.9999999999999998e+0 2.0000000000000004e-2
51 Max AbsError of 5.9999999999999998e-1 at index of 0.
52 Max RelError of 5.9999999999999991e+0 at index of 6. assert_true: expect ed true got false
53 FAIL X [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.9] does not equal [0.7,0.6,0.5,0.4,0.3,0.2 ,0.1] with an element-wise tolerance of {"absoluteThreshold":0.02,"relativeThres hold":0.1}.
54 Index Actual Expected AbsError RelError Test threshold
55 [0] 1.0000000000000001e-1 6.9999999999999996e-1 5.99999999999999 98e-1 8.5714285714285721e-1 6.9999999999999993e-2
56 [1] 2.0000000000000001e-1 5.9999999999999998e-1 3.99999999999999 97e-1 6.6666666666666663e-1 5.9999999999999998e-2
57 [2] 2.9999999999999999e-1 5.0000000000000000e-1 2.00000000000000 01e-1 4.0000000000000002e-1 5.0000000000000003e-2
58 [4] 5.0000000000000000e-1 2.9999999999999999e-1 2.00000000000000 01e-1 6.6666666666666674e-1 2.9999999999999999e-2
59 [5] 5.9999999999999998e-1 2.0000000000000001e-1 3.99999999999999 97e-1 1.9999999999999998e+0 2.0000000000000004e-2
60 Max AbsError of 5.9999999999999998e-1 at index of 0.
61 Max RelError of 5.9999999999999991e+0 at index of 6. assert_true: expect ed true got false
62 FAIL < [numerical-failures] 8 out of 8 assertions were failed. assert_true: expe cted true got false
63 FAIL # AUDIT TASK RUNNER FINISHED: 2 out of 2 tasks were failed. assert_true: ex pected true got false
64 Harness: the test ran to completion.
65
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/unit-tests/audit-failures.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698