throwToolExit('installHook() was called with an observatory port, a diagnostic port, both, or debugger mode enabled, but then more than one test suite was run.');
throwToolExit('installHook() was called with an observatory port or debugger mode enabled, but then more than one test suite was run.');
}
finalintourTestCount=_testCount;
_testCount+=1;
...
...
@@ -205,7 +201,6 @@ class _FlutterPlatform extends PlatformPlugin {
enableObservatory:enableObservatory,
startPaused:startPaused,
observatoryPort:explicitObservatoryPort,
diagnosticPort:explicitDiagnosticPort,
);
subprocessActive=true;
finalizers.add(()async{
...
...
@@ -473,7 +468,6 @@ void main() {
boolenableObservatory:false,
boolstartPaused:false,
intobservatoryPort,
intdiagnosticPort,
}){
assert(executable!=null);// Please provide the path to the shell in the SKY_SHELL environment variable.
assert(!startPaused||enableObservatory);
...
...
@@ -490,12 +484,10 @@ void main() {
// the obvious simplification to this code and remove this entire feature.