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

Unified Diff: tools/testing/dart/test_suite.dart

Issue 704733004: Fix HTML tests on non-browser runtimes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/test_suite.dart
diff --git a/tools/testing/dart/test_suite.dart b/tools/testing/dart/test_suite.dart
index dae353a5c3773b8fe2136795fd6826df18cecb5e..7bbef25988fee9167adfa467b62d810b211737e3 100644
--- a/tools/testing/dart/test_suite.dart
+++ b/tools/testing/dart/test_suite.dart
@@ -839,9 +839,10 @@ class StandardTestSuite extends TestSuite {
String testName = buildTestCaseDisplayName(suiteDir, info.originTestPath,
multitestName: info.multitestKey);
Set<Expectation> expectations = testExpectations.expectations(testName);
- if (info is HtmlTestInformation &&
- TestUtils.isBrowserRuntime(configuration['runtime'])) {
- enqueueBrowserTest([], null, info, testName, expectations);
+ if (info is HtmlTestInformation) {
+ if (TestUtils.isBrowserRuntime(configuration['runtime'])) {
+ enqueueBrowserTest([], null, info, testName, expectations);
+ }
return;
}
var filePath = info.filePath;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698