forked from PureMVC/puremvc-typescript-multicore-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
81 lines (66 loc) · 2.05 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>PureMVC TypeScript Multicore Framework Unit Tests</title>
<!-- Needed by YUI Test Unit Test Framework Library -->
<link type="text/css" rel="stylesheet" href="test/lib/fonts-min.css" />
<script type="text/javascript" src="test/lib/yui-min.js"></script>
<!-- Custom Test Runner -->
<link type="text/css" rel="stylesheet" href="test/lib/testrunner.css" />
<script type="text/javascript" src="test/lib/testrunner.js"></script>
<!-- Require.js library from http://requirejs.org/ -->
<script src="test/lib/require.js" type="text/javascript"></script>
<!-- PureMVC TypeScript Multicore Framework Unit Test Cases -->
<script type="text/javascript">
require.config
(
{
paths:
{
puremvc: 'bin/puremvc-typescript-multicore-1.1-min',
test: 'test/bin/puremvc-typescript-multicore-1.1-unit-tests',
YUITest: 'test/lib/yuitest_1.0.0b1'
}
}
);
</script>
</head>
<body class="yui3-skin-sam yui-skin-sam">
<h1>PureMVC TypeScript Multicore Framework Unit Tests</h1>
<div id="testLogger" class="yui3-skin-sam"></div>
<script type="text/javascript">
require
(
[
'test',
'YUITest'
],
function
(
test,
YUITest
)
{
runTests
(
"PureMVC TypeScript Multicore Framework Unit Tests",
[
new YUITest.TestCase( new test.ControllerTest ),
new YUITest.TestCase( new test.ModelTest ),
new YUITest.TestCase( new test.ViewTest ),
new YUITest.TestCase( new test.MacroCommandTest ),
new YUITest.TestCase( new test.SimpleCommandTest ),
new YUITest.TestCase( new test.FacadeTest ),
new YUITest.TestCase( new test.MediatorTest ),
new YUITest.TestCase( new test.NotificationTest ),
new YUITest.TestCase( new test.NotifierTest ),
new YUITest.TestCase( new test.ObserverTest ),
new YUITest.TestCase( new test.ProxyTest )
]
);
}
);
</script>
</body>
</html>