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

Unified Diff: tools/testing/dart/lib/test_information.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_case.dart ('k') | tools/testing/dart/lib/test_progress.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/testing/dart/lib/test_information.dart
diff --git a/tools/testing/dart/lib/test_information.dart b/tools/testing/dart/lib/test_information.dart
new file mode 100644
index 0000000000000000000000000000000000000000..f5d353dba776a5cf6c90cce148cf95f95d7dc11d
--- /dev/null
+++ b/tools/testing/dart/lib/test_information.dart
@@ -0,0 +1,33 @@
+library test_information;
+
+import 'path.dart';
+
+class TestInformation {
+ Path filePath;
+ Path originTestPath;
+ Map optionsFromFile;
+ bool hasCompileError;
+ bool hasRuntimeError;
+ bool isNegativeIfChecked;
+ bool hasCompileErrorIfChecked;
+ bool hasStaticWarning;
+ String multitestKey;
+
+ TestInformation(this.filePath, this.originTestPath, this.optionsFromFile,
+ this.hasCompileError, this.hasRuntimeError,
+ this.isNegativeIfChecked, this.hasCompileErrorIfChecked,
+ this.hasStaticWarning,
+ {this.multitestKey: ''}) {
+ assert(filePath.isAbsolute);
+ }
+}
+
+class HtmlTestInformation extends TestInformation {
+ List<String> expectedMessages;
+ List<String> scripts;
+
+ HtmlTestInformation(Path filePath, this.expectedMessages, this.scripts)
+ : super(filePath, filePath,
+ {'isMultitest': false, 'isMultiHtmlTest': false},
+ false, false, false, false, false) {}
+}
« no previous file with comments | « tools/testing/dart/lib/test_case.dart ('k') | tools/testing/dart/lib/test_progress.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698