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

Unified Diff: pkg/status_file/test/status_expression_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/repo_status_files_test.dart ('k') | tests/standalone/io/status_file_parser_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/status_file/test/status_expression_test.dart
diff --git a/tests/standalone/status_expression_test.dart b/pkg/status_file/test/status_expression_test.dart
similarity index 93%
rename from tests/standalone/status_expression_test.dart
rename to pkg/status_file/test/status_expression_test.dart
index fbf7b1d696466d7dd0fa405e01d4f03ae60be308..d641e2ba08772ebd4c656c0ce25e69698d25617a 100644
--- a/tests/standalone/status_expression_test.dart
+++ b/pkg/status_file/test/status_expression_test.dart
@@ -1,17 +1,21 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2017, 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.
import "package:expect/expect.dart";
-import "../../tools/testing/dart/environment.dart";
-import "../../tools/testing/dart/status_expression.dart";
+import "package:status_file/environment.dart";
+import "package:status_file/src/expression.dart";
class TestEnvironment implements Environment {
final Map<String, String> _values;
TestEnvironment(this._values);
+ void validate(String name, String value, List<String> errors) {
+ throw new UnimplementedError();
+ }
+
/// Looks up the value of the variable with [name].
String lookUp(String name) => _values[name];
« no previous file with comments | « pkg/status_file/test/repo_status_files_test.dart ('k') | tests/standalone/io/status_file_parser_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698