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

Unified Diff: tests/standalone/io/status_file_parser_test.dart

Issue 2984203002: Move the status file parser into its own package. (Closed)
Patch Set: Created 3 years, 5 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 | « pkg/status_file/test/status_expression_test.dart ('k') | tests/standalone/io/test_runner_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/io/status_file_parser_test.dart
diff --git a/tests/standalone/io/status_file_parser_test.dart b/tests/standalone/io/status_file_parser_test.dart
deleted file mode 100644
index 07c23187416ab8d1e6debd976e0f19e2c4f67513..0000000000000000000000000000000000000000
--- a/tests/standalone/io/status_file_parser_test.dart
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2013, 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 "package:expect/expect.dart";
-import "dart:io";
-import "../../../tools/testing/dart/path.dart";
-import "../../../tools/testing/dart/status_file.dart";
-import "../../../tools/testing/dart/utils.dart";
-
-void main() {
- 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/language/language.status");
- testReadStatusFile("tests/standalone/standalone.status");
-}
-
-String fixFilePath(String filePath) {
- if (new File(filePath).existsSync()) {
- return filePath;
- } else {
- return "../${filePath}";
- }
-}
-
-void testReadStatusFile(String filePath) {
- var file = new File(fixFilePath(filePath));
- if (!file.existsSync()) return;
-
- var statusFile = new StatusFile.read(file.path);
- Expect.isTrue(statusFile.sections.length > 0);
-}
« no previous file with comments | « pkg/status_file/test/status_expression_test.dart ('k') | tests/standalone/io/test_runner_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698