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
42d4bcb9
Unverified
Commit
42d4bcb9
authored
Nov 01, 2021
by
Gary Qian
Committed by
GitHub
Nov 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate test to moved FlutterPlayStoreSplitApplication (#92593)
parent
6ef91147
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
AndroidManifest.xml
..._components_test/android/app/src/main/AndroidManifest.xml
+1
-1
run_release_test.sh
...ration_tests/deferred_components_test/run_release_test.sh
+3
-2
No files found.
dev/integration_tests/deferred_components_test/android/app/src/main/AndroidManifest.xml
View file @
42d4bcb9
...
...
@@ -10,7 +10,7 @@ found in the LICENSE file. -->
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name=
"io.flutter.
app
.FlutterPlayStoreSplitApplication"
android:name=
"io.flutter.
embedding.android
.FlutterPlayStoreSplitApplication"
android:label=
"deferred_components_test"
android:extractNativeLibs=
"false"
>
<activity
...
...
dev/integration_tests/deferred_components_test/run_release_test.sh
View file @
42d4bcb9
...
...
@@ -32,14 +32,15 @@ java -jar $bundletool_jar_path install-apks --apks=build/app/outputs/bundle/rele
$adb_path
shell
"
am start -n io.flutter.integration.deferred_components_test/.MainActivity
sleep
2
0
sleep
3
0
exit
"
$adb_path
logcat
-d
-t
"
$script_start_time
"
-s
"flutter"
>
build/app/outputs/bundle/release/run_logcat.log
$adb_path
logcat
-d
-t
"
$script_start_time
"
>
build/app/outputs/bundle/release/run_logcat.log
echo
""
if
cat
build/app/outputs/bundle/release/run_logcat.log |
grep
-q
"Running deferred code"
;
then
echo
"All tests passed."
exit
0
fi
cat
build/app/outputs/bundle/release/run_logcat.log
echo
"Failure: Deferred component did not load."
exit
1
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