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

Side by Side Diff: third_party/dart-packages/unittest/unittest/src/test_case.dart

Issue 971083002: Create an apptesting framework for dart. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Make the apptest runner work. Created 5 years, 9 months 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
OLDNEW
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.test_case; 5 library unittest.test_case;
6 6
7 import '../unittest.dart'; 7 import '../unittest.dart';
8 8
9 /// An individual unit test. 9 /// An individual unit test.
10 abstract class TestCase { 10 abstract class TestCase {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 Duration get runningTime; 46 Duration get runningTime;
47 47
48 /// Whether this test is enabled. 48 /// Whether this test is enabled.
49 /// 49 ///
50 /// Disabled tests won't be run. 50 /// Disabled tests won't be run.
51 bool get enabled; 51 bool get enabled;
52 52
53 /// Whether this test case has finished running. 53 /// Whether this test case has finished running.
54 bool get isComplete => !enabled || result != null; 54 bool get isComplete => !enabled || result != null;
55 } 55 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698