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

Unified Diff: test/runner/configuration/top_level_error_test.dart

Issue 1801363007: Add pause_after_load to the config file. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 4 years, 9 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 | « lib/src/runner/configuration/load.dart ('k') | test/runner/configuration/top_level_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/runner/configuration/top_level_error_test.dart
diff --git a/test/runner/configuration/top_level_error_test.dart b/test/runner/configuration/top_level_error_test.dart
index 87926026541f65b6117aa30470ca6c6127bb9cf8..1680811e3677e5a2e75f01eb60d89ec3ec854c1d 100644
--- a/test/runner/configuration/top_level_error_test.dart
+++ b/test/runner/configuration/top_level_error_test.dart
@@ -15,6 +15,19 @@ import '../../io.dart';
void main() {
useSandbox();
+ test("rejects an invalid pause_after_load", () {
+ d.file("dart_test.yaml", JSON.encode({
+ "pause_after_load": "flup"
+ })).create();
+
+ var test = runTest(["test.dart"]);
+ test.stderr.expect(containsInOrder([
+ "pause_after_load must be a boolean",
+ "^^^^^^"
+ ]));
+ test.shouldExit(exit_codes.data);
+ });
+
test("rejects an invalid verbose_trace", () {
d.file("dart_test.yaml", JSON.encode({
"verbose_trace": "flup"
« no previous file with comments | « lib/src/runner/configuration/load.dart ('k') | test/runner/configuration/top_level_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698