template_js (787B)
1 <!doctype html> 2 <html> 3 <head> 4 <title>{{TESTTITLE}}</title> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="/annotation-model/scripts/ajv.min.js"></script> 8 <script src="/annotation-model/scripts/JSONtest.js"></script> 9 <script> 10 setup( { explicit_done: true } ); 11 12 var theDefinitions=[ 13 {{SCHEMADEFS}} 14 ]; 15 16 var theTestFile="{{TESTFILE}}"; 17 18 var runningTest = new JSONtest( { 19 "schemaDefs" : theDefinitions, 20 "testFile" : theTestFile 21 } ) ; 22 23 var c; 24 25 runningTest.Promise.then(function(test) { 26 test.runTests(test.Assertions, test.Test.content); 27 done(); 28 }); 29 </script> 30 </head> 31 <body> 32 <div id="testDescription"></div> 33 <p>The following assertions are being evaluated:</p> 34 <div id="assertion"></div> 35 </body> 36 </html>