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
563c8f43
Unverified
Commit
563c8f43
authored
Aug 18, 2021
by
Jenn Magder
Committed by
GitHub
Aug 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Verbosify every command in ios_content_validation_test (#88404)
parent
33f5ac66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
ios_content_validation_test.dart
...s/test/integration.shard/ios_content_validation_test.dart
+12
-2
No files found.
packages/flutter_tools/test/integration.shard/ios_content_validation_test.dart
View file @
563c8f43
...
...
@@ -29,15 +29,17 @@ void main() {
'flutter'
,
);
processManager
.
runSync
(<
String
>[
final
ProcessResult
createResult
=
processManager
.
runSync
(<
String
>[
flutterBin
,
...
getLocalEngineArguments
(),
'create'
,
'--verbose'
,
'--platforms=ios'
,
'-i'
,
'objc'
,
'hello'
,
],
workingDirectory:
tempDir
.
path
);
print
(
createResult
.
stdout
);
projectRoot
=
tempDir
.
childDirectory
(
'hello'
).
path
;
});
...
...
@@ -57,7 +59,7 @@ void main() {
File
outputAppFrameworkBinary
;
setUpAll
(()
{
processManager
.
runSync
(<
String
>[
final
ProcessResult
buildResult
=
processManager
.
runSync
(<
String
>[
flutterBin
,
...
getLocalEngineArguments
(),
'build'
,
...
...
@@ -68,6 +70,7 @@ void main() {
'--obfuscate'
,
'--split-debug-info=foo debug info/'
,
],
workingDirectory:
projectRoot
);
print
(
buildResult
.
stdout
);
buildPath
=
fileSystem
.
directory
(
fileSystem
.
path
.
join
(
projectRoot
,
...
...
@@ -122,6 +125,7 @@ void main() {
infoPlistPath
,
],
);
print
(
bonjourServices
.
stdout
);
final
bool
bonjourServicesFound
=
(
bonjourServices
.
stdout
as
String
).
contains
(
'_dartobservatory._tcp'
);
expect
(
bonjourServicesFound
,
buildMode
==
BuildMode
.
debug
);
...
...
@@ -136,6 +140,7 @@ void main() {
infoPlistPath
,
],
);
print
(
localNetworkUsage
.
stdout
);
final
bool
localNetworkUsageFound
=
localNetworkUsage
.
exitCode
==
0
;
expect
(
localNetworkUsageFound
,
buildMode
==
BuildMode
.
debug
);
});
...
...
@@ -150,6 +155,7 @@ void main() {
'arm64'
,
],
);
print
(
symbols
.
stdout
);
final
bool
aotSymbolsFound
=
(
symbols
.
stdout
as
String
).
contains
(
'_kDartVmSnapshot'
);
expect
(
aotSymbolsFound
,
buildMode
!=
BuildMode
.
debug
);
});
...
...
@@ -191,6 +197,7 @@ void main() {
// Skip bitcode stripping since we just checked that above.
},
);
print
(
xcodeBackendResult
.
stdout
);
expect
(
xcodeBackendResult
.
exitCode
,
0
);
expect
(
outputFlutterFrameworkBinary
.
existsSync
(),
isTrue
);
...
...
@@ -204,6 +211,7 @@ void main() {
'hello'
,
outputAppFrameworkBinary
.
path
,
]);
print
(
grepResult
.
stdout
);
expect
(
grepResult
.
stdout
,
isNot
(
contains
(
'matches'
)));
});
});
...
...
@@ -225,6 +233,7 @@ void main() {
'FLUTTER_XCODE_ONLY_ACTIVE_ARCH'
:
'NO'
,
},
);
print
(
buildSimulator
.
stdout
);
// This test case would fail if arm64 or x86_64 simulators could not build.
expect
(
buildSimulator
.
exitCode
,
0
);
...
...
@@ -242,6 +251,7 @@ void main() {
final
ProcessResult
archs
=
processManager
.
runSync
(
<
String
>[
'file'
,
simulatorAppFrameworkBinary
.
path
],
);
print
(
archs
.
stdout
);
expect
(
archs
.
stdout
,
contains
(
'Mach-O 64-bit dynamically linked shared library x86_64'
));
expect
(
archs
.
stdout
,
contains
(
'Mach-O 64-bit dynamically linked shared library arm64'
));
});
...
...
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