Specify UDID for idevicelistener. (#23854)

This is needed to run flutter app on multiple iOS devices at a time.
This commit is contained in:
Alexander Aprelev
2018-11-01 20:04:42 -07:00
committed by GitHub
parent 0b35937b13
commit 47f62109d2
3 changed files with 4 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ f577a7903cc54959be2e34bc4f7f80b7009efcf4
});
testUsingContext('suppresses non-Flutter lines from output', () async {
when(mockIMobileDevice.startLogger()).thenAnswer((Invocation invocation) {
when(mockIMobileDevice.startLogger('123456')).thenAnswer((Invocation invocation) {
final Process mockProcess = MockProcess();
when(mockProcess.stdout).thenAnswer((Invocation invocation) =>
Stream<List<int>>.fromIterable(<List<int>>['''
@@ -130,7 +130,7 @@ f577a7903cc54959be2e34bc4f7f80b7009efcf4
});
testUsingContext('includes multi-line Flutter logs in the output', () async {
when(mockIMobileDevice.startLogger()).thenAnswer((Invocation invocation) {
when(mockIMobileDevice.startLogger('123456')).thenAnswer((Invocation invocation) {
final Process mockProcess = MockProcess();
when(mockProcess.stdout).thenAnswer((Invocation invocation) =>
Stream<List<int>>.fromIterable(<List<int>>['''