forked from firka/flutter
pass track widget creation flag through to build script (#31277)
This commit is contained in:
@@ -59,6 +59,7 @@ void main() {
|
||||
), throwsA(isInstanceOf<ToolExit>()));
|
||||
}, overrides: <Type, Generator>{
|
||||
Platform: () => notLinuxPlatform,
|
||||
FileSystem: () => memoryFilesystem,
|
||||
});
|
||||
|
||||
testUsingContext('Linux build invokes build script', () async {
|
||||
@@ -70,7 +71,8 @@ void main() {
|
||||
when(mockProcessManager.start(<String>[
|
||||
'/linux/build.sh',
|
||||
'/',
|
||||
'release'
|
||||
'release',
|
||||
'no-track-widget-creation',
|
||||
], runInShell: true)).thenAnswer((Invocation invocation) async {
|
||||
return mockProcess;
|
||||
});
|
||||
|
||||
@@ -71,6 +71,7 @@ void main() {
|
||||
'/macos/build.sh',
|
||||
'/',
|
||||
'release',
|
||||
'no-track-widget-creation',
|
||||
], runInShell: true)).thenAnswer((Invocation invocation) async {
|
||||
return mockProcess;
|
||||
});
|
||||
|
||||
@@ -72,6 +72,7 @@ void main() {
|
||||
r'C:\windows\build.bat',
|
||||
r'C:\',
|
||||
'release',
|
||||
'no-track-widget-creation',
|
||||
], runInShell: true)).thenAnswer((Invocation invocation) async {
|
||||
return mockProcess;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user