| author | hamidouk |
| Wed, 12 Oct 2011 13:59:15 +0200 | |
| branch | popcorn-port |
| changeset 67 | d0c32e1c7401 |
| parent 65 | 6a8cae20f190 |
| child 75 | f5a7299bd0ff |
| permissions | -rw-r--r-- |
| 57 | 1 |
<html> |
2 |
<head> |
|
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 | 5 |
<script src="../build/LdtPlayer-release.js"></script> |
| 57 | 6 |
<script src="qunit.js" type="text/javascript"></script> |
| 63 | 7 |
<script src="sinon.js" type="text/javascript"></script> |
8 |
<script src="sinon-ie.js" type="text/javascript"></script> |
|
9 |
<script src="sinon-qunit.js" type="text/javascript"></script> |
|
| 57 | 10 |
<link rel="stylesheet" href="qunit.css" type="text/css" media="screen" /> |
| 63 | 11 |
<script src="tests/dataloader.js" type="text/javascript"></script> |
| 57 | 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 | 15 |
</head> |
16 |
<script> |
|
17 |
$(document).ready(function(){ |
|
| 67 | 18 |
/* only for unit-testing ! */ |
19 |
IriSP.jQuery = jQuery; |
|
20 |
|
|
21 |
|
|
| 63 | 22 |
test_dataloader(); |
| 57 | 23 |
test_serializer(); |
|
65
6a8cae20f190
Added new unit tests and changes to the data classes.
hamidouk
parents:
63
diff
changeset
|
24 |
test_JSONSerializer(); |
|
6a8cae20f190
Added new unit tests and changes to the data classes.
hamidouk
parents:
63
diff
changeset
|
25 |
test_serializerFactory() |
| 57 | 26 |
}); |
27 |
</script> |
|
28 |
<body> |
|
29 |
<h1 id="qunit-header">Metadataplayer Unit Tests</h1> |
|
30 |
<h2 id="qunit-banner"></h2> |
|
31 |
<div id="qunit-testrunner-toolbar"></div> |
|
32 |
<h2 id="qunit-userAgent"></h2> |
|
33 |
<ol id="qunit-tests"></ol> |
|
34 |
<div id="qunit-fixture">test markup, will be hidden</div> |
|
35 |
</body> |
|
36 |
</html> |