unittests/index.html
author hamidouk
Wed, 12 Oct 2011 11:54:26 +0200
branchpopcorn-port
changeset 65 6a8cae20f190
parent 63 acf10cf0ebd1
child 67 d0c32e1c7401
permissions -rw-r--r--
Added new unit tests and changes to the data classes.
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>
65
6a8cae20f190 Added new unit tests and changes to the data classes.
hamidouk
parents: 63
diff changeset
     4
	<script src="../res/js/jquery.min.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>
65
6a8cae20f190 Added new unit tests and changes to the data classes.
hamidouk
parents: 63
diff changeset
    13
	<script src="tests/JSONSerializer.js" type="text/javascript"></script>
6a8cae20f190 Added new unit tests and changes to the data classes.
hamidouk
parents: 63
diff changeset
    14
	<script src="tests/serializerFactory.js" type="text/javascript"></script>
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    15
</head>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    16
<script>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    17
 $(document).ready(function(){
63
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
    18
		test_dataloader();
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    19
		test_serializer();
65
6a8cae20f190 Added new unit tests and changes to the data classes.
hamidouk
parents: 63
diff changeset
    20
		test_JSONSerializer();
6a8cae20f190 Added new unit tests and changes to the data classes.
hamidouk
parents: 63
diff changeset
    21
		test_serializerFactory()
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    22
});
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    23
</script>	
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    24
<body>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    25
  <h1 id="qunit-header">Metadataplayer Unit Tests</h1>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    26
 <h2 id="qunit-banner"></h2>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    27
 <div id="qunit-testrunner-toolbar"></div>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    28
 <h2 id="qunit-userAgent"></h2>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    29
 <ol id="qunit-tests"></ol>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    30
 <div id="qunit-fixture">test markup, will be hidden</div>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    31
</body>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    32
</html>