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

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

Issue 11301046: Restructure pkg/unittest and pkg/webdriver to follow the pub conventions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #library('unittest_interactive_html_config'); 12 library unittest_interactive_html_config;
13 13
14 // TODO(gram) - add options for: remove IFrame on done/keep 14 // TODO(gram) - add options for: remove IFrame on done/keep
15 // IFrame for failed tests/keep IFrame for all tests. 15 // IFrame for failed tests/keep IFrame for all tests.
16 16
17 #import('dart:html'); 17 import 'dart:html';
18 #import('dart:math'); 18 import 'dart:math';
19 #import('unittest.dart'); 19 import 'unittest.dart';
20 20
21 /** The messages exchanged between parent and child. */ 21 /** The messages exchanged between parent and child. */
22 22
23 class _Message { 23 class _Message {
24 static const START = 'start'; 24 static const START = 'start';
25 static const LOG = 'log'; 25 static const LOG = 'log';
26 static const STACK = 'stack'; 26 static const STACK = 'stack';
27 static const PASS = 'pass'; 27 static const PASS = 'pass';
28 static const FAIL = 'fail'; 28 static const FAIL = 'fail';
29 static const ERROR = 'error'; 29 static const ERROR = 'error';
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 display: block; 664 display: block;
665 list-style-type: disc; 665 list-style-type: disc;
666 -webkit-margin-before: 1em; 666 -webkit-margin-before: 1em;
667 -webkit-margin-after: 1em; 667 -webkit-margin-after: 1em;
668 -webkit-margin-start: 0px; 668 -webkit-margin-start: 0px;
669 -webkit-margin-end: 0px; 669 -webkit-margin-end: 0px;
670 -webkit-padding-start: 40px; 670 -webkit-padding-start: 40px;
671 } 671 }
672 672
673 """; 673 """;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698