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

Side by Side Diff: tools/testing/dart/test_runner.dart

Issue 14153003: Remove deprecated <, <=, >, and >= of DateTime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « tests/standalone/io/secure_socket_bad_certificate_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * Classes and methods for executing tests. 6 * Classes and methods for executing tests.
7 * 7 *
8 * This module includes: 8 * This module includes:
9 * - Managing parallel execution of tests, including timeout checks. 9 * - Managing parallel execution of tests, including timeout checks.
10 * - Evaluating the output of each test as pass/fail/crash/timeout. 10 * - Evaluating the output of each test as pass/fail/crash/timeout.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 return readDepsFile("$_outputFile.deps").then((dependencies) { 154 return readDepsFile("$_outputFile.deps").then((dependencies) {
155 if (dependencies != null) { 155 if (dependencies != null) {
156 dependencies.addAll(_bootstrapDependencies); 156 dependencies.addAll(_bootstrapDependencies);
157 var jsOutputLastModified = TestUtils.lastModifiedCache.getLastModified( 157 var jsOutputLastModified = TestUtils.lastModifiedCache.getLastModified(
158 new Uri.fromComponents(scheme: 'file', path: _outputFile)); 158 new Uri.fromComponents(scheme: 'file', path: _outputFile));
159 if (jsOutputLastModified != null) { 159 if (jsOutputLastModified != null) {
160 for (var dependency in dependencies) { 160 for (var dependency in dependencies) {
161 var dependencyLastModified = 161 var dependencyLastModified =
162 TestUtils.lastModifiedCache.getLastModified(dependency); 162 TestUtils.lastModifiedCache.getLastModified(dependency);
163 if (dependencyLastModified == null || 163 if (dependencyLastModified == null ||
164 dependencyLastModified > jsOutputLastModified) { 164 dependencyLastModified.isAfter(jsOutputLastModified)) {
165 return false; 165 return false;
166 } 166 }
167 } 167 }
168 return true; 168 return true;
169 } 169 }
170 } 170 }
171 return false; 171 return false;
172 }); 172 });
173 } 173 }
174 } 174 }
(...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after
1723 } 1723 }
1724 } 1724 }
1725 1725
1726 void eventAllTestsDone() { 1726 void eventAllTestsDone() {
1727 for (var listener in _eventListener) { 1727 for (var listener in _eventListener) {
1728 listener.allDone(); 1728 listener.allDone();
1729 } 1729 }
1730 } 1730 }
1731 } 1731 }
1732 1732
OLDNEW
« no previous file with comments | « tests/standalone/io/secure_socket_bad_certificate_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698