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); |
- }); |
- } |
-} |