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

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

Issue 22284003: pkg: analysis aided cleanup (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: nits Created 7 years, 4 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 | « pkg/serialization/test/serialization_test.dart ('k') | pkg/unittest/lib/mirror_matchers.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 * This configuration can be used to rerun selected tests, as well 6 * This configuration can be used to rerun selected tests, as well
7 * as see diagnostic output from tests. It runs each test in its own 7 * as see diagnostic output from tests. It runs each test in its own
8 * IFrame, so the configuration consists of two parts - a 'parent' 8 * IFrame, so the configuration consists of two parts - a 'parent'
9 * config that manages all the tests, and a 'child' config for the 9 * config that manages all the tests, and a 'child' config for the
10 * IFrame that runs the individual tests. 10 * IFrame that runs the individual tests.
11 * 11 *
12 * Note: this unit test configuration will not work with the debugger (the tests 12 * Note: this unit test configuration will not work with the debugger (the tests
13 * are executed in a separate IFrame). 13 * are executed in a separate IFrame).
14 */ 14 */
15 library unittest_interactive_html_config; 15 library unittest_interactive_html_config;
16 16
17 // TODO(gram) - add options for: remove IFrame on done/keep 17 // TODO(gram) - add options for: remove IFrame on done/keep
18 // IFrame for failed tests/keep IFrame for all tests. 18 // IFrame for failed tests/keep IFrame for all tests.
19 19
20 import 'dart:html'; 20 import 'dart:html';
21 import 'dart:async'; 21 import 'dart:async';
22 import 'dart:json' as json; 22 import 'dart:json' as json;
23 import 'dart:math';
24 23
25 import 'package:stack_trace/stack_trace.dart'; 24 import 'package:stack_trace/stack_trace.dart';
26 25
27 import 'unittest.dart'; 26 import 'unittest.dart';
28 27
29 /** The messages exchanged between parent and child. */ 28 /** The messages exchanged between parent and child. */
30 class _Message { 29 class _Message {
31 static const START = 'start'; 30 static const START = 'start';
32 static const LOG = 'log'; 31 static const LOG = 'log';
33 static const STACK = 'stack'; 32 static const STACK = 'stack';
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 ul, menu, dir { 700 ul, menu, dir {
702 display: block; 701 display: block;
703 list-style-type: disc; 702 list-style-type: disc;
704 -webkit-margin-before: 1em; 703 -webkit-margin-before: 1em;
705 -webkit-margin-after: 1em; 704 -webkit-margin-after: 1em;
706 -webkit-margin-start: 0px; 705 -webkit-margin-start: 0px;
707 -webkit-margin-end: 0px; 706 -webkit-margin-end: 0px;
708 -webkit-padding-start: 40px; 707 -webkit-padding-start: 40px;
709 } 708 }
710 """; 709 """;
OLDNEW
« no previous file with comments | « pkg/serialization/test/serialization_test.dart ('k') | pkg/unittest/lib/mirror_matchers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698