unittests/index.html
author hamidouk
Tue, 11 Oct 2011 17:15:23 +0200
branchpopcorn-port
changeset 63 acf10cf0ebd1
parent 57 eabfc9a2eb35
child 65 6a8cae20f190
permissions -rw-r--r--
added sinon.js mocking library to the project
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     1
<html>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     2
<head>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     3
	<title>Unit Tests</title>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     4
	<script src="http://code.jquery.com/jquery-latest.js"></script>
63
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
     5
	<script src="../build/LdtPlayer-release.js"></script>
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
     6
	<script src="qunit.js" type="text/javascript"></script>
63
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
     7
	<script src="sinon.js" type="text/javascript"></script>
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
     8
	<script src="sinon-ie.js" type="text/javascript"></script>
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
     9
	<script src="sinon-qunit.js" type="text/javascript"></script>
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    10
	  <link rel="stylesheet" href="qunit.css" type="text/css" media="screen" />
63
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
    11
	<script src="tests/dataloader.js" type="text/javascript"></script>
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    12
	<script src="tests/serializer.js" type="text/javascript"></script>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    13
</head>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    14
<body>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    15
<script>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    16
 $(document).ready(function(){
63
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
    17
		test_dataloader();
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    18
		test_serializer();
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    19
});
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    20
</script>	
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    21
<body>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    22
  <h1 id="qunit-header">Metadataplayer Unit Tests</h1>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    23
 <h2 id="qunit-banner"></h2>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    24
 <div id="qunit-testrunner-toolbar"></div>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    25
 <h2 id="qunit-userAgent"></h2>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    26
 <ol id="qunit-tests"></ol>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    27
 <div id="qunit-fixture">test markup, will be hidden</div>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    28
</body>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    29
</html>