unittests/index.html
author hamidouk
Fri, 21 Oct 2011 11:21:35 +0200
branchpopcorn-port
changeset 111 df08c7f9535c
parent 100 dbd302a995f5
child 127 3ce493c93d6c
permissions -rw-r--r--
added a basic layout manager.
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>
75
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
     4
	<!-- the following libs are included only for unit testing -->
65
6a8cae20f190 Added new unit tests and changes to the data classes.
hamidouk
parents: 63
diff changeset
     5
	<script src="../res/js/jquery.min.js"></script>
75
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
     6
	<script src="../res/js/jquery.tools.min.js"></script>
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
     7
	<script src="../res/js/jquery-ui.min.js"></script>
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
     8
	<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.4/themes/base/jquery-ui.css" type="text/css" media="screen" />
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
     9
	<!-- -->	
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    10
	
83
1fb63a1a8ac3 various changes to unit tests.
hamidouk
parents: 75
diff changeset
    11
	<script src="../build/LdtPlayer-release.js" type="text/javascript"></script>
1fb63a1a8ac3 various changes to unit tests.
hamidouk
parents: 75
diff changeset
    12
	<script src="mockSerializer.js" type="text/javascript"></script>
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    13
	<script src="qunit.js" type="text/javascript"></script>
63
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
    14
	<script src="sinon.js" type="text/javascript"></script>
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
    15
	<script src="sinon-ie.js" type="text/javascript"></script>
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
    16
	<script src="sinon-qunit.js" type="text/javascript"></script>
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    17
	  <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
    18
	<script src="tests/dataloader.js" type="text/javascript"></script>
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    19
	<script src="tests/serializer.js" type="text/javascript"></script>
83
1fb63a1a8ac3 various changes to unit tests.
hamidouk
parents: 75
diff changeset
    20
	<script src="tests/mockSerializer.js" type="text/javascript"></script>
65
6a8cae20f190 Added new unit tests and changes to the data classes.
hamidouk
parents: 63
diff changeset
    21
	<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
    22
	<script src="tests/serializerFactory.js" type="text/javascript"></script>
75
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    23
	<script src="tests/widget.js" type="text/javascript"></script>
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    24
	<script src="tests/playerWidget.js" type="text/javascript"></script>
83
1fb63a1a8ac3 various changes to unit tests.
hamidouk
parents: 75
diff changeset
    25
	<script src="tests/annotationsWidget.js" type="text/javascript"></script>
100
dbd302a995f5 added a new widget and the tests which come with it.
hamidouk
parents: 83
diff changeset
    26
	<script src="tests/segmentsWidget.js" type="text/javascript"></script>
111
df08c7f9535c added a basic layout manager.
hamidouk
parents: 100
diff changeset
    27
	<script src="tests/layout.js" type="text/javascript"></script>
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    28
</head>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    29
<script>
75
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    30
 $(document).ready(function(){ 
67
d0c32e1c7401 added a line to use jQuery (for testing purposes).
hamidouk
parents: 65
diff changeset
    31
		/* only for unit-testing ! */
d0c32e1c7401 added a line to use jQuery (for testing purposes).
hamidouk
parents: 65
diff changeset
    32
		IriSP.jQuery = jQuery;
d0c32e1c7401 added a line to use jQuery (for testing purposes).
hamidouk
parents: 65
diff changeset
    33
		
63
acf10cf0ebd1 added sinon.js mocking library to the project
hamidouk
parents: 57
diff changeset
    34
		test_dataloader();
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    35
		test_serializer();
83
1fb63a1a8ac3 various changes to unit tests.
hamidouk
parents: 75
diff changeset
    36
		test_mockSerializer();
65
6a8cae20f190 Added new unit tests and changes to the data classes.
hamidouk
parents: 63
diff changeset
    37
		test_JSONSerializer();
75
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    38
		test_serializerFactory();
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    39
		test_widget();
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    40
		test_player_widget();
83
1fb63a1a8ac3 various changes to unit tests.
hamidouk
parents: 75
diff changeset
    41
		test_annotations_widget();
100
dbd302a995f5 added a new widget and the tests which come with it.
hamidouk
parents: 83
diff changeset
    42
		test_segments_widget();
111
df08c7f9535c added a basic layout manager.
hamidouk
parents: 100
diff changeset
    43
		test_layout();
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    44
});
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    45
</script>	
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    46
<body>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    47
  <h1 id="qunit-header">Metadataplayer Unit Tests</h1>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    48
 <h2 id="qunit-banner"></h2>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    49
 <div id="qunit-testrunner-toolbar"></div>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    50
 <h2 id="qunit-userAgent"></h2>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    51
 <ol id="qunit-tests"></ol>
75
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    52
 <div id="qunit-fixture" style="position: float;">
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    53
	  <div id='popcorn-div'>Popcorn div</div>
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    54
	  <div id='widget-div'></div>
f5a7299bd0ff changes to the unit tests.
hamidouk
parents: 67
diff changeset
    55
 </div>
57
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    56
</body>
eabfc9a2eb35 Added unit testing with QUnit.
hamidouk
parents:
diff changeset
    57
</html>