committed by
GitHub
parent
14a15dedbe
commit
fda9ecfef7
@@ -1148,7 +1148,6 @@ Future<void> _runInteractive({
|
||||
if (!busy) {
|
||||
rerun();
|
||||
}
|
||||
break;
|
||||
}
|
||||
});
|
||||
Watcher(file.absolute.path).events.listen((_) => rerun());
|
||||
|
||||
@@ -113,7 +113,6 @@ Future<Command> startCommand(String executable, List<String> arguments, {
|
||||
switch (outputMode) {
|
||||
case OutputMode.print:
|
||||
print(line);
|
||||
break;
|
||||
case OutputMode.capture:
|
||||
break;
|
||||
}
|
||||
@@ -127,7 +126,6 @@ Future<Command> startCommand(String executable, List<String> arguments, {
|
||||
switch (outputMode) {
|
||||
case OutputMode.print:
|
||||
print(line);
|
||||
break;
|
||||
case OutputMode.capture:
|
||||
break;
|
||||
}
|
||||
@@ -188,7 +186,6 @@ Future<CommandResult> runCommand(String executable, List<String> arguments, {
|
||||
case OutputMode.capture:
|
||||
print(result.flattenedStdout);
|
||||
print(result.flattenedStderr);
|
||||
break;
|
||||
}
|
||||
String allOutput;
|
||||
if (failureMessage == null) {
|
||||
|
||||
@@ -107,25 +107,18 @@ String _testTypeToIndexFile(ServiceWorkerTestType type) {
|
||||
switch (type) {
|
||||
case ServiceWorkerTestType.blockedServiceWorkers:
|
||||
indexFile = 'index_with_blocked_service_workers.html';
|
||||
break;
|
||||
case ServiceWorkerTestType.withFlutterJs:
|
||||
indexFile = 'index_with_flutterjs.html';
|
||||
break;
|
||||
case ServiceWorkerTestType.withoutFlutterJs:
|
||||
indexFile = 'index_without_flutterjs.html';
|
||||
break;
|
||||
case ServiceWorkerTestType.withFlutterJsShort:
|
||||
indexFile = 'index_with_flutterjs_short.html';
|
||||
break;
|
||||
case ServiceWorkerTestType.withFlutterJsEntrypointLoadedEvent:
|
||||
indexFile = 'index_with_flutterjs_entrypoint_loaded.html';
|
||||
break;
|
||||
case ServiceWorkerTestType.withFlutterJsTrustedTypesOn:
|
||||
indexFile = 'index_with_flutterjs_el_tt_on.html';
|
||||
break;
|
||||
case ServiceWorkerTestType.generatedEntrypoint:
|
||||
indexFile = 'generated_entrypoint.html';
|
||||
break;
|
||||
}
|
||||
return indexFile;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user