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.test_case; | 5 library test.deprecated.test_case; |
6 | 6 |
7 /// This is a stub class used to preserve compatibility with unittest 0.11.*. | 7 /// This is a stub class used to preserve compatibility with unittest 0.11.*. |
8 /// | 8 /// |
9 /// It will be removed before the next version is released. | 9 /// It will be removed before the next version is released. |
10 @deprecated | 10 @deprecated |
11 abstract class TestCase { | 11 abstract class TestCase { |
12 int get id; | 12 int get id; |
13 String get description; | 13 String get description; |
14 String get message; | 14 String get message; |
15 String get result; | 15 String get result; |
16 bool get passed; | 16 bool get passed; |
17 StackTrace get stackTrace; | 17 StackTrace get stackTrace; |
18 String get currentGroup; | 18 String get currentGroup; |
19 DateTime get startTime; | 19 DateTime get startTime; |
20 Duration get runningTime; | 20 Duration get runningTime; |
21 bool get enabled; | 21 bool get enabled; |
22 final isComplete = false; | 22 final isComplete = false; |
23 } | 23 } |
OLD | NEW |