| OLD | NEW |
| (Empty) | |
| 1 library test_information; |
| 2 |
| 3 import 'path.dart'; |
| 4 |
| 5 class TestInformation { |
| 6 Path filePath; |
| 7 Path originTestPath; |
| 8 Map optionsFromFile; |
| 9 bool hasCompileError; |
| 10 bool hasRuntimeError; |
| 11 bool isNegativeIfChecked; |
| 12 bool hasCompileErrorIfChecked; |
| 13 bool hasStaticWarning; |
| 14 String multitestKey; |
| 15 |
| 16 TestInformation(this.filePath, this.originTestPath, this.optionsFromFile, |
| 17 this.hasCompileError, this.hasRuntimeError, |
| 18 this.isNegativeIfChecked, this.hasCompileErrorIfChecked, |
| 19 this.hasStaticWarning, |
| 20 {this.multitestKey: ''}) { |
| 21 assert(filePath.isAbsolute); |
| 22 } |
| 23 } |
| 24 |
| 25 class HtmlTestInformation extends TestInformation { |
| 26 List<String> expectedMessages; |
| 27 List<String> scripts; |
| 28 |
| 29 HtmlTestInformation(Path filePath, this.expectedMessages, this.scripts) |
| 30 : super(filePath, filePath, |
| 31 {'isMultitest': false, 'isMultiHtmlTest': false}, |
| 32 false, false, false, false, false) {} |
| 33 } |
| OLD | NEW |