Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 unit test library for running groups of tests in a browser, instead of the | 6 * A unit test library for running groups of tests in a browser, instead of the |
| 7 * entire test file. This is especially used for large tests files that have | 7 * entire test file. This is especially used for large tests files that have |
| 8 * many subtests, so we can mark groups as failing at a finer granularity than | 8 * many subtests, so we can mark groups as failing at a finer granularity than |
| 9 * the entire test file. | 9 * the entire test file. |
| 10 * | 10 * |
| (...skipping 23 matching lines...) Expand all Loading... | |
| 34 print('NO_SUCH_TEST'); | 34 print('NO_SUCH_TEST'); |
| 35 } | 35 } |
| 36 } | 36 } |
| 37 super.onStart(); | 37 super.onStart(); |
| 38 } | 38 } |
| 39 } | 39 } |
| 40 | 40 |
| 41 void useHtmlIndividualConfiguration([bool isLayoutTest = false]) { | 41 void useHtmlIndividualConfiguration([bool isLayoutTest = false]) { |
| 42 unittest.configure(new HtmlIndividualConfiguration(isLayoutTest)); | 42 unittest.configure(new HtmlIndividualConfiguration(isLayoutTest)); |
| 43 } | 43 } |
| 44 | |
| 45 int getCrossOriginPortNumber() { | |
|
Siggi Cherem (dart-lang)
2013/01/04 01:49:43
style nit: use =>
int get crossOriginPort => htmlc
Emily Fortuna
2013/01/04 23:26:54
Done.
| |
| 46 return htmlconfig.getCrossOriginPortNumber(); | |
| 47 } | |
| OLD | NEW |