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