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

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

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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
« no previous file with comments | « dart/pkg/unittest/html_config.dart ('k') | dart/pkg/unittest/html_layout_config.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 */
11 library unittest; 11 #library('unittest');
12 12
13 import 'dart:html'; 13 #import('dart:html');
14 import 'unittest.dart'; 14 #import('unittest.dart');
15 15
16 16
17 class HtmlEnhancedConfiguration extends Configuration { 17 class HtmlEnhancedConfiguration extends Configuration {
18 /** Whether this is run within dartium layout tests. */ 18 /** Whether this is run within dartium layout tests. */
19 final bool _isLayoutTest; 19 final bool _isLayoutTest;
20 HtmlEnhancedConfiguration(this._isLayoutTest); 20 HtmlEnhancedConfiguration(this._isLayoutTest);
21 21
22 // TODO(rnystrom): Get rid of this if we get canonical closures for methods. 22 // TODO(rnystrom): Get rid of this if we get canonical closures for methods.
23 EventListener _onErrorClosure; 23 EventListener _onErrorClosure;
24 EventListener _onMessageClosure; 24 EventListener _onMessageClosure;
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 .unittest-row-description 406 .unittest-row-description
407 { 407 {
408 } 408 }
409 409
410 '''; 410 ''';
411 } 411 }
412 412
413 void useHtmlEnhancedConfiguration([bool isLayoutTest = false]) { 413 void useHtmlEnhancedConfiguration([bool isLayoutTest = false]) {
414 configure(new HtmlEnhancedConfiguration(isLayoutTest)); 414 configure(new HtmlEnhancedConfiguration(isLayoutTest));
415 } 415 }
OLDNEW
« no previous file with comments | « dart/pkg/unittest/html_config.dart ('k') | dart/pkg/unittest/html_layout_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698