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