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

Side by Side Diff: tests/standalone/src/StatusFileParserTest.dart

Issue 8885032: Improve the event handling for string input stream (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebased 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
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("StatusFileParserTest"); 5 #library("StatusFileParserTest");
6 6
7 #import("../../../tools/testing/dart/status_file_parser.dart"); 7 #import("../../../tools/testing/dart/status_file_parser.dart");
8 8
9 9
10 void main() { 10 void main() {
(...skipping 10 matching lines...) Expand all
21 TestReadStatusFile("compiler/tests/dartc/dartc.status"); 21 TestReadStatusFile("compiler/tests/dartc/dartc.status");
22 TestReadStatusFile("client/tests/client/client.status"); 22 TestReadStatusFile("client/tests/client/client.status");
23 TestReadStatusFile("client/tests/dartc/dartc.status"); 23 TestReadStatusFile("client/tests/dartc/dartc.status");
24 } 24 }
25 25
26 26
27 void TestReadStatusFile(String filePath) { 27 void TestReadStatusFile(String filePath) {
28 File file = new File(getFilename(filePath)); 28 File file = new File(getFilename(filePath));
29 if (file.existsSync()) { 29 if (file.existsSync()) {
30 List<Section> sections = new List<Section>(); 30 List<Section> sections = new List<Section>();
31 ReadConfigurationInto(filePath, sections); 31 ReadConfigurationInto(filePath, sections, () {
32 Expect.isTrue(sections.length > 0); 32 Expect.isTrue(sections.length > 0);
33 });
33 } 34 }
34 } 35 }
OLDNEW
« no previous file with comments | « tests/standalone/src/FileInputStreamTest.dart ('k') | tests/standalone/src/StringStreamTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698