Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
14d8534c
Unverified
Commit
14d8534c
authored
Mar 13, 2020
by
Christopher Fujino
Committed by
GitHub
Mar 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add usbmuxd (#52500)
parent
144037b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
cache.dart
packages/flutter_tools/lib/src/cache.dart
+3
-0
cache_test.dart
packages/flutter_tools/test/general.shard/cache_test.dart
+18
-0
No files found.
packages/flutter_tools/lib/src/cache.dart
View file @
14d8534c
...
...
@@ -1274,6 +1274,9 @@ class IosUsbArtifacts extends CachedArtifact {
'idevicescreenshot'
,
'idevicesyslog'
,
],
'usbmuxd'
:
<
String
>[
'iproxy'
,
],
};
@override
...
...
packages/flutter_tools/test/general.shard/cache_test.dart
View file @
14d8534c
...
...
@@ -436,6 +436,24 @@ void main() {
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
});
testUsingContext
(
'verifies iproxy for usbmuxd in isUpToDateInner'
,
()
async
{
final
IosUsbArtifacts
iosUsbArtifacts
=
IosUsbArtifacts
(
'usbmuxd'
,
mockCache
);
when
(
mockCache
.
getArtifactDirectory
(
any
)).
thenReturn
(
globals
.
fs
.
currentDirectory
);
iosUsbArtifacts
.
location
.
createSync
();
final
File
iproxy
=
iosUsbArtifacts
.
location
.
childFile
(
'iproxy'
)
..
createSync
();
expect
(
iosUsbArtifacts
.
isUpToDateInner
(),
true
);
iproxy
.
deleteSync
();
expect
(
iosUsbArtifacts
.
isUpToDateInner
(),
false
);
},
overrides:
<
Type
,
Generator
>{
Cache:
()
=>
mockCache
,
FileSystem:
()
=>
MemoryFileSystem
(),
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
});
testUsingContext
(
'Does not verify executables for openssl in isUpToDateInner'
,
()
async
{
final
IosUsbArtifacts
iosUsbArtifacts
=
IosUsbArtifacts
(
'openssl'
,
mockCache
);
when
(
mockCache
.
getArtifactDirectory
(
any
)).
thenReturn
(
globals
.
fs
.
currentDirectory
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment