Summary

Harness status: OK

Found 17 tests

Details

ResultTest NameMessage
Pass# AUDIT TASK RUNNER STARTED.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
PassExecuting "Basic tests for AudioBuffer"
Asserts runNo asserts ran
PassAudit report
Asserts runNo asserts ran
Pass> [Basic tests for AudioBuffer]
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer = context.createBuffer(4, 88200, 44100) is true.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer.sampleRate is equal to 44100.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer.length is equal to 88200.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer.duration is equal to 2.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer.numberOfChannels is equal to 4.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer.getChannelData(0) instanceof window.Float32Array is true.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer.getChannelData(1) instanceof window.Float32Array is true.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer.getChannelData(2) instanceof window.Float32Array is true.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer.getChannelData(3) instanceof window.Float32Array is true.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass buffer.getChannelData(4) threw IndexSizeError: "Failed to execute 'getChannelData' on 'AudioBuffer': channel index (4) exceeds number of channels (4)".
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass context.createBuffer(1, 1000, 24576).duration is equal to 0.040690104166666664.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass
assert_equals(1, 1)
    at Task.done ( /webaudio/resources/audit.js:1218:7)
Pass< [Basic tests for AudioBuffer] All assertions passed. (total 11 assertions)
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)
Pass# AUDIT TASK RUNNER FINISHED: 1 tasks ran successfully.
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webaudio/resources/audit.js:46:7)