| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 String getHtmlContents(String title, | 5 String getHtmlContents(String title, |
| 6 String controllerScript, | 6 String controllerScript, |
| 7 String dartJsScript, | 7 String dartJsScript, |
| 8 String scriptType, | 8 String scriptType, |
| 9 String sourceScript) => | 9 String sourceScript) => |
| 10 """ | 10 """ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 #library('test'); | 56 #library('test'); |
| 57 | 57 |
| 58 #import('${dartHome.append('lib/unittest/unittest.dart')}', prefix: 'unittest'); | 58 #import('${dartHome.append('lib/unittest/unittest.dart')}', prefix: 'unittest'); |
| 59 #import('${dartHome.append('lib/unittest/html_config.dart')}', | 59 #import('${dartHome.append('lib/unittest/html_config.dart')}', |
| 60 prefix: 'config'); | 60 prefix: 'config'); |
| 61 | 61 |
| 62 #import('${library}', prefix: "Test"); | 62 #import('${library}', prefix: "Test"); |
| 63 | 63 |
| 64 main() { | 64 main() { |
| 65 config.useHtmlConfiguration(); | 65 config.useHtmlConfiguration(); |
| 66 group('', Test.main); | 66 unittest.group('', Test.main); |
| 67 } | 67 } |
| 68 """; | 68 """; |
| 69 | 69 |
| OLD | NEW |