| Index: pkg/unittest/lib/src/test_case.dart
|
| diff --git a/pkg/unittest/lib/src/test_case.dart b/pkg/unittest/lib/src/test_case.dart
|
| index 0b13cb1ef668a6d05e6cf27010b43d595acd2665..d791d37d0f63c7b3ada2faf5239e87ac475f9763 100644
|
| --- a/pkg/unittest/lib/src/test_case.dart
|
| +++ b/pkg/unittest/lib/src/test_case.dart
|
| @@ -53,7 +53,7 @@ class TestCase {
|
| /** The group (or groups) under which this test is running. */
|
| final String currentGroup;
|
|
|
| - Date startTime;
|
| + DateTime startTime;
|
|
|
| Duration runningTime;
|
|
|
| @@ -78,7 +78,7 @@ class TestCase {
|
| _setUp();
|
| }
|
| _config.onTestStart(this);
|
| - startTime = new Date.now();
|
| + startTime = new DateTime.now();
|
| runningTime = null;
|
| test();
|
| }
|
| @@ -88,7 +88,7 @@ class TestCase {
|
| if (runningTime == null) {
|
| // TODO(gram): currently the duration measurement code is blocked
|
| // by issue 4437. When that is fixed replace the line below with:
|
| - // runningTime = new Date.now().difference(startTime);
|
| + // runningTime = new DateTime.now().difference(startTime);
|
| runningTime = new Duration(milliseconds: 0);
|
| }
|
| if (!_doneTeardown) {
|
|
|