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

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

Issue 8664029: Test script tools/test.dart: fix type error in test_suite.dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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 | « no previous file | 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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("test_suite"); 5 #library("test_suite");
6 6
7 #import("status_file_parser.dart"); 7 #import("status_file_parser.dart");
8 #import("test_runner.dart"); 8 #import("test_runner.dart");
9 9
10 interface TestSuite { 10 interface TestSuite {
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 testExpectations = 103 testExpectations =
104 new TestExpectations(complexMatching: complexStatusMatching()); 104 new TestExpectations(complexMatching: complexStatusMatching());
105 for (var statusFilePath in statusFilePaths) { 105 for (var statusFilePath in statusFilePaths) {
106 ReadTestExpectationsInto(testExpectations, 106 ReadTestExpectationsInto(testExpectations,
107 statusFilePath, 107 statusFilePath,
108 configuration); 108 configuration);
109 } 109 }
110 110
111 receiveTestName = new ReceivePort(); 111 receiveTestName = new ReceivePort();
112 new CCTestListerIsolate().spawn().then((port) { 112 new CCTestListerIsolate().spawn().then((port) {
113 port.send(runnerPath, receiveTestName); 113 port.send(runnerPath, receiveTestName.toSendPort());
114 receiveTestName.receive(testNameHandler); 114 receiveTestName.receive(testNameHandler);
115 }); 115 });
116 } 116 }
117 117
118 void completeHandler(TestCase testCase) { 118 void completeHandler(TestCase testCase) {
119 } 119 }
120 } 120 }
121 121
122 122
123 class StandardTestSuite implements TestSuite { 123 class StandardTestSuite implements TestSuite {
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 args.add("--enable_leg"); 330 args.add("--enable_leg");
331 } 331 }
332 if (configuration["component"] == "dartc") { 332 if (configuration["component"] == "dartc") {
333 if (configuration["mode"] == "release") { 333 if (configuration["mode"] == "release") {
334 args.add("--optimize"); 334 args.add("--optimize");
335 } 335 }
336 } 336 }
337 return args; 337 return args;
338 } 338 }
339 } 339 }
OLDNEW
« 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