OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 library unittest.configuration; | |
6 | |
7 import 'test_case.dart'; | |
8 | |
9 /// This is a stub class used to preserve compatibility with unittest 0.11.*. | |
10 /// | |
11 /// It will be removed before the next version is released. | |
12 @deprecated | |
13 class Configuration { | |
14 Configuration(); | |
15 Configuration.blank(); | |
16 | |
17 final autoStart = true; | |
18 Duration timeout = const Duration(minutes: 2); | |
19 void onInit() {} | |
20 void onStart() {} | |
21 void onTestStart(TestCase testCase) {} | |
22 void onTestResult(TestCase testCase) {} | |
23 void onTestResultChanged(TestCase testCase) {} | |
24 void onLogMessage(TestCase testCase, String message) {} | |
25 void onDone(bool success) {} | |
26 void onSummary(int passed, int failed, int errors, List<TestCase> results, | |
27 String uncaughtError) {} | |
28 } | |
OLD | NEW |