content/media/webaudio/test/layouttest-glue.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/media/webaudio/test/layouttest-glue.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +// Reimplementation of the LayoutTest API from Blink so we can easily port
     1.5 +// WebAudio tests to Simpletest, without touching the internals of the test.
     1.6 +
     1.7 +function testFailed(msg) {
     1.8 +  ok(false, msg);
     1.9 +}
    1.10 +
    1.11 +function testPassed(msg) {
    1.12 +  ok(true, msg);
    1.13 +}
    1.14 +
    1.15 +function finishJSTest() {
    1.16 +  SimpleTest.finish();
    1.17 +}
    1.18 +
    1.19 +function description(str) {
    1.20 +  info(str);
    1.21 +}
    1.22 +

mercurial