1 | <!DOCTYPE html> |
---|
2 | <html style="height:100%;"> |
---|
3 | <head> |
---|
4 | <title>The Dojo Unit Test Harness, $Rev: f5832f7 $</title> |
---|
5 | |
---|
6 | <script type="text/javascript" src="_parseURLargs.js"></script> |
---|
7 | |
---|
8 | <style type="text/css"> |
---|
9 | @import "../../dojo/resources/dojo.css"; |
---|
10 | /* |
---|
11 | body { |
---|
12 | margin: 0px; |
---|
13 | padding: 0px; |
---|
14 | font-size: 13px; |
---|
15 | color: #292929; |
---|
16 | font-family: Myriad, Lucida Grande, Bitstream Vera Sans, Arial, Helvetica, sans-serif; |
---|
17 | *font-size: small; |
---|
18 | *font: x-small; |
---|
19 | } |
---|
20 | |
---|
21 | th, td { |
---|
22 | font-size: 13px; |
---|
23 | color: #292929; |
---|
24 | font-family: Myriad, Lucida Grande, Bitstream Vera Sans, Arial, Helvetica, sans-serif; |
---|
25 | font-weight: normal; |
---|
26 | } |
---|
27 | |
---|
28 | * body { |
---|
29 | line-height: 1.25em; |
---|
30 | } |
---|
31 | |
---|
32 | table { |
---|
33 | border-collapse: collapse; |
---|
34 | } |
---|
35 | */ |
---|
36 | |
---|
37 | #testLayout { |
---|
38 | position: relative; |
---|
39 | left: 0px; |
---|
40 | top: 0px; |
---|
41 | width: 100%; |
---|
42 | height: 100%; |
---|
43 | border: 1px solid black; |
---|
44 | border: 0px; |
---|
45 | } |
---|
46 | |
---|
47 | .tabBody { |
---|
48 | margin: 0px; |
---|
49 | padding: 0px; |
---|
50 | /* |
---|
51 | border: 1px solid black; |
---|
52 | */ |
---|
53 | background-color: #DEDEDE; |
---|
54 | border: 0px; |
---|
55 | width: 100%; |
---|
56 | height: 100%; |
---|
57 | position: absolute; |
---|
58 | left: 0px; |
---|
59 | top: 0px; |
---|
60 | overflow: auto; |
---|
61 | } |
---|
62 | |
---|
63 | #logBody { |
---|
64 | padding-left: 5px; |
---|
65 | padding-top: 5px; |
---|
66 | font-family: Monaco, monospace; |
---|
67 | font-size: 11px; |
---|
68 | white-space: pre; |
---|
69 | } |
---|
70 | |
---|
71 | #progressOuter { |
---|
72 | background-color: #e9e9e9; |
---|
73 | background-image: -webkit-linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); |
---|
74 | background-image: -moz-linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); |
---|
75 | background-image: -ms-linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); |
---|
76 | background-image: -o-linear-gradient(rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); |
---|
77 | |
---|
78 | height: 1em; |
---|
79 | /*the following trick is necessary to prevent IE from wrapping the last piece of progress bar into a new line*/ |
---|
80 | _margin:1px; |
---|
81 | _padding: -1px; |
---|
82 | } |
---|
83 | |
---|
84 | #progressOuter .success, #progressOuter .failure{ |
---|
85 | float: left; |
---|
86 | height: 1em; |
---|
87 | } |
---|
88 | |
---|
89 | #play, #pause { |
---|
90 | font-family: Arial; |
---|
91 | font-size: 1.4em; |
---|
92 | border: 1px solid #DEDEDE; |
---|
93 | cursor: pointer; |
---|
94 | padding-right: 0.5em; |
---|
95 | } |
---|
96 | |
---|
97 | .header { |
---|
98 | border: 1px solid #DEDEDE; |
---|
99 | } |
---|
100 | |
---|
101 | button.tab { |
---|
102 | border-width: 1px 1px 0px 1px; |
---|
103 | border-style: solid; |
---|
104 | border-color: #DEDEDE; |
---|
105 | margin-right: 5px; |
---|
106 | } |
---|
107 | |
---|
108 | #testListContainer { |
---|
109 | /* |
---|
110 | border: 1px solid black; |
---|
111 | */ |
---|
112 | position: relative; |
---|
113 | height: 99%; |
---|
114 | width: 100%; |
---|
115 | overflow: auto; |
---|
116 | } |
---|
117 | |
---|
118 | #testList { |
---|
119 | border-collapse: collapse; |
---|
120 | position: absolute; |
---|
121 | left: 0px; |
---|
122 | width: 100%; |
---|
123 | } |
---|
124 | |
---|
125 | #testList td { |
---|
126 | border-bottom: 1px solid #DEDEDE; |
---|
127 | border-right : 1px solid #DEDEDE; |
---|
128 | padding: 3px; |
---|
129 | } |
---|
130 | |
---|
131 | #testListHeader th { |
---|
132 | border-bottom: 1px solid #DEDEDE; |
---|
133 | border-right : 1px solid #DEDEDE; |
---|
134 | padding: 3px; |
---|
135 | font-weight: bolder; |
---|
136 | font-style: italic; |
---|
137 | } |
---|
138 | |
---|
139 | #testList tfoot { |
---|
140 | font-weight: bold; |
---|
141 | } |
---|
142 | |
---|
143 | #toggleButtons { |
---|
144 | float: left; |
---|
145 | background-color: #DEDEDE; |
---|
146 | } |
---|
147 | |
---|
148 | div.testGroupName { |
---|
149 | position: absolute; |
---|
150 | } |
---|
151 | |
---|
152 | .inProgress { |
---|
153 | background-color: #85afde; |
---|
154 | } |
---|
155 | |
---|
156 | .success { |
---|
157 | background-color: #7cdea7; |
---|
158 | } |
---|
159 | |
---|
160 | .failure { |
---|
161 | background-color: #de827b; |
---|
162 | } |
---|
163 | </style> |
---|
164 | </head> |
---|
165 | <body style="height: 100%;"> |
---|
166 | <table id="testLayout" cellpadding="0" cellspacing="0" style="margin: 0;"> |
---|
167 | <tr valign="top" height="40"> |
---|
168 | <td colspan="2" id="logoBar"> |
---|
169 | <h3 style="margin: 5px 5px 0px 5px; float: left;">D.O.H.: The Dojo Objective Harness</h3> |
---|
170 | <img src="small_logo.png" height="40" style="margin: 0px 5px 0px 5px; float: right;"> |
---|
171 | <span style="margin: 10px 5px 0px 5px; float: right;"> |
---|
172 | <input type="checkbox" id="audio" name="audio"> |
---|
173 | <label for="audio">sounds?</label> |
---|
174 | </span> |
---|
175 | </td> |
---|
176 | </tr> |
---|
177 | <tr valign="top" height="10"> |
---|
178 | <td colspan="2"><div id="progressOuter" onclick="doh._jumpToSuite(arguments[0]);"></div></td> |
---|
179 | </tr> |
---|
180 | <tr valign="top" height="30"> |
---|
181 | <td width="30%" class="header"> |
---|
182 | <span id="toggleButtons" onclick="doh.togglePaused();"> |
---|
183 | <button id="play">►</button> |
---|
184 | <button id="pause" style="display: none;">║</button> |
---|
185 | </span> |
---|
186 | <span id="runningStatus"> |
---|
187 | <span id="pausedMsg">Stopped</span> |
---|
188 | <span id="playingMsg" style="display: none;">Tests Running</span> |
---|
189 | </span> |
---|
190 | </td> |
---|
191 | <td width="*" class="header" valign="bottom"> |
---|
192 | <button class="tab" onclick="doh.showTestPage();">Test Page</button> |
---|
193 | <button class="tab" onclick="doh.showLogPage();">Log</button> |
---|
194 | <button class="tab" onclick="doh.showPerfTestsPage();">Performance Tests Results</button> |
---|
195 | </td> |
---|
196 | </tr> |
---|
197 | <tr valign="top" style="border: 0; padding: 0; margin: 0;"> |
---|
198 | <td style="border: 0; padding: 0; margin: 0; height:100%;"> |
---|
199 | <div id="testListContainer"> |
---|
200 | <table cellpadding="0" cellspacing="0" border="0" |
---|
201 | width="100%" id="testList" style="margin: 0;" onclick="doh._jumpToLog(arguments[0]);"> |
---|
202 | <thead> |
---|
203 | <tr id="testListHeader" style="border: 0; padding: 0; margin: 0;" > |
---|
204 | <th> </th> |
---|
205 | <th width="20"> |
---|
206 | <input type="checkbox" checked |
---|
207 | onclick="doh.toggleRunAll();"> |
---|
208 | </th> |
---|
209 | <th width="*" style="text-align: left;">test</th> |
---|
210 | <th width="50">time</th> |
---|
211 | </tr> |
---|
212 | </thead> |
---|
213 | <tbody valign="top"> |
---|
214 | <tr id="groupTemplate" style="display: none;"> |
---|
215 | <td style="font-family: Arial; width: 15px;">►</td> |
---|
216 | <td> |
---|
217 | <input type="checkbox" checked> |
---|
218 | </td> |
---|
219 | <td>group name</td> |
---|
220 | <td>10ms</td> |
---|
221 | </tr> |
---|
222 | <tr id="testTemplate" style="display: none;"> |
---|
223 | <td> </td> |
---|
224 | <td> </td> |
---|
225 | <td style="padding-left: 20px;">test name</td> |
---|
226 | <td>10ms</td> |
---|
227 | </tr> |
---|
228 | </tbody> |
---|
229 | </table> |
---|
230 | </div> |
---|
231 | </td> |
---|
232 | <td style="height: 100%;"> |
---|
233 | <div style="position: relative; width: 100%; height: 100%; top: 0px; left: 0px;"> |
---|
234 | <div class="tabBody" |
---|
235 | style="z-index: 1;"> |
---|
236 | <pre id="logBody"></pre> |
---|
237 | <div id="perfTestsBody" style="background-color: white;"></div> |
---|
238 | </div> |
---|
239 | <iframe id="testBody" class="tabBody" |
---|
240 | style="z-index: -1;"></iframe> |
---|
241 | <!-- |
---|
242 | src="http://redesign.dojotoolkit.org"></iframe> |
---|
243 | --> |
---|
244 | </div> |
---|
245 | </td> |
---|
246 | </tr> |
---|
247 | </table> |
---|
248 | <span id="hiddenAudio"></span> |
---|
249 | </body> |
---|
250 | </html> |
---|
251 | |
---|