Remove dead code IMobileDevice.isWorking (#50084)

This commit is contained in:
Jenn Magder
2020-02-04 14:18:20 -08:00
committed by GitHub
parent 6e605f3fdc
commit d00a39cbdd
3 changed files with 0 additions and 67 deletions

View File

@@ -56,16 +56,6 @@ void main() {
);
});
testUsingContext('isWorking returns false if libimobiledevice is not installed', () async {
when(mockProcessManager.runSync(
<String>[ideviceIdPath, '-h'], environment: anyNamed('environment'),
)).thenReturn(ProcessResult(123, 1, '', ''));
expect(await globals.iMobileDevice.isWorking, false);
}, overrides: <Type, Generator>{
ProcessManager: () => mockProcessManager,
Artifacts: () => mockArtifacts,
});
testUsingContext('getAvailableDeviceIDs throws ToolExit when libimobiledevice is not installed', () async {
when(mockProcessManager.run(
<String>[ideviceIdPath, '-l'],