OLD | NEW |
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 library unittest.deprecated.simple_configuration; | 5 library test.deprecated.simple_configuration; |
6 | 6 |
7 import 'test_case.dart'; | 7 import 'test_case.dart'; |
8 import 'configuration.dart'; | 8 import 'configuration.dart'; |
9 | 9 |
10 /// This is a stub class used to preserve compatibility with unittest 0.11.*. | 10 /// This is a stub class used to preserve compatibility with unittest 0.11.*. |
11 /// | 11 /// |
12 /// It will be removed before the next version is released. | 12 /// It will be removed before the next version is released. |
13 @deprecated | 13 @deprecated |
14 class SimpleConfiguration extends Configuration { | 14 class SimpleConfiguration extends Configuration { |
15 bool throwOnTestFailures = true; | 15 bool throwOnTestFailures = true; |
16 SimpleConfiguration() : super.blank(); | 16 SimpleConfiguration() : super.blank(); |
17 | 17 |
18 String formatResult(TestCase testCase) => ""; | 18 String formatResult(TestCase testCase) => ""; |
19 } | 19 } |
OLD | NEW |