Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(64)

Side by Side Diff: pkg/unittest/lib/html_enhanced_config.dart

Issue 11862002: Make 'useXConfiguration' check for an existing configuration. This is so that it (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 /** 5 /**
6 * A simple unit test library for running tests in a browser. 6 * A simple unit test library for running tests in a browser.
7 * 7 *
8 * Provides enhanced HTML output with collapsible group headers 8 * Provides enhanced HTML output with collapsible group headers
9 * and other at-a-glance information about the test results. 9 * and other at-a-glance information about the test results.
10 */ 10 */
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
405 } 405 }
406 406
407 .unittest-row-description 407 .unittest-row-description
408 { 408 {
409 } 409 }
410 410
411 '''; 411 ''';
412 } 412 }
413 413
414 void useHtmlEnhancedConfiguration([bool isLayoutTest = false]) { 414 void useHtmlEnhancedConfiguration([bool isLayoutTest = false]) {
415 if (config != null) return;
415 configure(new HtmlEnhancedConfiguration(isLayoutTest)); 416 configure(new HtmlEnhancedConfiguration(isLayoutTest));
416 } 417 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698