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

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

Issue 105113009: Renaming unittest library names to all have package prefix names. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 | « pkg/unittest/lib/compact_vm_config.dart ('k') | pkg/unittest/lib/html_enhanced_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) 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 /** 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 library unittest_html_config; 8 library unittest.html_config;
9 9
10 import 'dart:async'; 10 import 'dart:async';
11 import 'dart:convert'; 11 import 'dart:convert';
12 import 'dart:html'; 12 import 'dart:html';
13 import 'dart:js' as js; 13 import 'dart:js' as js;
14 import 'unittest.dart'; 14 import 'unittest.dart';
15 15
16 /** Creates a table showing tests results in HTML. */ 16 /** Creates a table showing tests results in HTML. */
17 void _showResultsInPage(int passed, int failed, int errors, 17 void _showResultsInPage(int passed, int failed, int errors,
18 List<TestCase> results, bool isLayoutTest, String uncaughtError) { 18 List<TestCase> results, bool isLayoutTest, String uncaughtError) {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 window.postMessage('unittest-suite-done', '*'); 169 window.postMessage('unittest-suite-done', '*');
170 } 170 }
171 } 171 }
172 172
173 void useHtmlConfiguration([bool isLayoutTest = false]) { 173 void useHtmlConfiguration([bool isLayoutTest = false]) {
174 unittestConfiguration = isLayoutTest ? _singletonLayout : _singletonNotLayout; 174 unittestConfiguration = isLayoutTest ? _singletonLayout : _singletonNotLayout;
175 } 175 }
176 176
177 final _singletonLayout = new HtmlConfiguration(true); 177 final _singletonLayout = new HtmlConfiguration(true);
178 final _singletonNotLayout = new HtmlConfiguration(false); 178 final _singletonNotLayout = new HtmlConfiguration(false);
OLDNEW
« no previous file with comments | « pkg/unittest/lib/compact_vm_config.dart ('k') | pkg/unittest/lib/html_enhanced_config.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698