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

Unified Diff: tools/testing/dart/lib/utils.dart

Issue 841193003: cleanup to tools/testing/dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: one last bit Created 5 years, 11 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 | « tools/testing/dart/lib/test_utils.dart ('k') | tools/testing/dart/multitest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/lib/utils.dart
diff --git a/tools/testing/dart/utils.dart b/tools/testing/dart/lib/utils.dart
similarity index 95%
rename from tools/testing/dart/utils.dart
rename to tools/testing/dart/lib/utils.dart
index a1c4ecc5b55cc7b4083fa5d455bd2f39d18c938b..83e09f5c833222800cc4565227267562612e736a 100644
--- a/tools/testing/dart/utils.dart
+++ b/tools/testing/dart/lib/utils.dart
@@ -9,6 +9,17 @@ import 'dart:convert';
import 'path.dart';
+final RegExp dartExtension = new RegExp(r'\.dart$');
+
+typedef void CreateTest(Path filePath,
+ Path originTestPath,
+ bool hasCompileError,
+ bool hasRuntimeError,
+ {bool isNegativeIfChecked,
+ bool hasCompileErrorIfChecked,
+ bool hasStaticWarning,
+ String multitestKey});
+
// This is the maximum time we expect stdout/stderr of subprocesses to deliver
// data after we've got the exitCode.
const Duration MAX_STDIO_DELAY = const Duration(seconds: 30);
« no previous file with comments | « tools/testing/dart/lib/test_utils.dart ('k') | tools/testing/dart/multitest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698