| 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) {}
|
| +}
|
|
|