OLD | NEW |
1 <html> <head><title>Frogger Test</title></head> | 1 <html> <head><title>Frogger Test</title></head> |
2 <body> | 2 <body> |
3 <script type="application/javascript" | 3 <script type="application/javascript" |
4 src="../../lib/unittest/test_controller.js"></script> | 4 src="../../lib/unittest/test_controller.js"></script> |
5 <script type="application/dart"> | 5 <script type="application/dart"> |
6 #import('dart:dom'); | 6 #import('dart:dom'); |
7 #import('../../lib/unittest/unittest_dom.dart'); | 7 #import('../../lib/unittest/unittest.dart'); |
| 8 #import('../../lib/unittest/dom_configuration.dart'); |
8 | 9 |
9 void main() { | 10 void main() { |
| 11 useDomConfiguration(); |
10 test('MathTest', () { Expect.equals(2, 1 + 1); }); | 12 test('MathTest', () { Expect.equals(2, 1 + 1); }); |
11 test('BoolTest', () { Expect.notEquals(true, false); }); | 13 test('BoolTest', () { Expect.notEquals(true, false); }); |
12 } | 14 } |
13 </script> | 15 </script> |
14 | 16 |
15 <iframe src="tip.html" style="visibility:hidden;display:none"></iframe> | 17 <iframe src="tip.html" style="visibility:hidden;display:none"></iframe> |
16 </body> | 18 </body> |
17 </html> | 19 </html> |
OLD | NEW |