| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 /// A simple unit test library for running tests in a browser. | 5 /// A simple unit test library for running tests in a browser. |
| 6 /// | 6 /// |
| 7 /// Provides enhanced HTML output with collapsible group headers | 7 /// Provides enhanced HTML output with collapsible group headers |
| 8 /// and other at-a-glance information about the test results. | 8 /// and other at-a-glance information about the test results. |
| 9 library unittest.html_enhanced_config; | 9 library unittest.html_enhanced_config; |
| 10 | 10 |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 | 396 |
| 397 '''; | 397 '''; |
| 398 } | 398 } |
| 399 | 399 |
| 400 void useHtmlEnhancedConfiguration([bool isLayoutTest = false]) { | 400 void useHtmlEnhancedConfiguration([bool isLayoutTest = false]) { |
| 401 unittestConfiguration = isLayoutTest ? _singletonLayout : _singletonNotLayout; | 401 unittestConfiguration = isLayoutTest ? _singletonLayout : _singletonNotLayout; |
| 402 } | 402 } |
| 403 | 403 |
| 404 final _singletonLayout = new HtmlEnhancedConfiguration(true); | 404 final _singletonLayout = new HtmlEnhancedConfiguration(true); |
| 405 final _singletonNotLayout = new HtmlEnhancedConfiguration(false); | 405 final _singletonNotLayout = new HtmlEnhancedConfiguration(false); |
| OLD | NEW |