OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>Some Tests</title> | |
5 <style type="text/css"> | |
6 .unittest-table { font-family: monospace; border: 1px; } | |
7 .unittest-pass { background: #6b3;} | |
8 .unittest-fail { background: #d55;} | |
9 .unittest-error { background: #a11;} | |
10 .unittest-xml-log {opacity:0; color: white;} | |
11 .test-area { display: none; } | |
12 body { overflow: visible; } | |
13 </style> | |
14 </head> | |
15 <body> | |
16 <h1>Loading and running tests</h1> | |
17 <script> | |
18 | |
19 function Person(firstname, lastname){ | |
20 this.firstname = firstname; | |
21 this.lastname = lastname; | |
22 this.father = null; | |
23 this.children = []; | |
24 }; | |
25 Person.prototype.sayHello = function() { return "Hello, I'm " + this.firstname +
" " + this.lastname; }; | |
26 | |
27 </script> | |
28 <script type="application/dart" src="browser_tests.dart"></script> | |
29 <script src="packages/browser/dart.js"></script> | |
30 <script src="packages/browser/interop.js"></script> | |
31 </body> | |
32 </html> | |
OLD | NEW |