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

Unified Diff: tests/standalone/src/io/StatusFileParserTest.dart

Issue 10252020: test rename overhaul: step 12 - standalone (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/standalone/src/io/SocketStreamCloseTest.dart ('k') | tests/standalone/src/io/StreamPipeTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/src/io/StatusFileParserTest.dart
diff --git a/tests/standalone/src/io/StatusFileParserTest.dart b/tests/standalone/src/io/StatusFileParserTest.dart
deleted file mode 100644
index dd67922108901b5faaaa1d9645fd283f93b0a924..0000000000000000000000000000000000000000
--- a/tests/standalone/src/io/StatusFileParserTest.dart
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-#library("StatusFileParserTest");
-
-#import("dart:io");
-#import("../../../../tools/testing/dart/status_file_parser.dart");
-
-
-void main() {
- TestReadStatusFile("client/tests/dartc/dartc.status");
- TestReadStatusFile("compiler/tests/dartc/dartc.status");
- TestReadStatusFile("frog/tests/frog/frog.status");
- TestReadStatusFile("runtime/tests/vm/vm.status");
- TestReadStatusFile("samples/tests/samples/samples.status");
- TestReadStatusFile("tests/co19/co19-compiler.status");
- TestReadStatusFile("tests/co19/co19-runtime.status");
- TestReadStatusFile("tests/corelib/corelib.status");
- TestReadStatusFile("tests/dom/dom.status");
- TestReadStatusFile("tests/html/html.status");
- TestReadStatusFile("tests/isolate/isolate.status");
- TestReadStatusFile("tests/json/json.status");
- TestReadStatusFile("tests/language/language.status");
- TestReadStatusFile("tests/standalone/standalone.status");
-}
-
-String fixedFilePath(String filePath) {
- if (new File(filePath).existsSync()) {
- return filePath;
- } else {
- return "../${filePath}";
- }
-}
-
-void TestReadStatusFile(String filePath) {
- File file = new File(fixedFilePath(filePath));
- if (file.existsSync()) {
- List<Section> sections = new List<Section>();
- ReadConfigurationInto(file.name, sections, () {
- Expect.isTrue(sections.length > 0);
- });
- }
-}
« no previous file with comments | « tests/standalone/src/io/SocketStreamCloseTest.dart ('k') | tests/standalone/src/io/StreamPipeTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698