diff --git a/dev/integration_tests/deferred_components_test/.gitignore b/dev/integration_tests/deferred_components_test/.gitignore index 9d532b18a0..36fea878d4 100644 --- a/dev/integration_tests/deferred_components_test/.gitignore +++ b/dev/integration_tests/deferred_components_test/.gitignore @@ -30,6 +30,7 @@ .pub-cache/ .pub/ /build/ +/customassets/ # Web related lib/generated_plugin_registrant.dart diff --git a/dev/integration_tests/deferred_components_test/README.md b/dev/integration_tests/deferred_components_test/README.md index 37f6535847..aa955a0d72 100644 --- a/dev/integration_tests/deferred_components_test/README.md +++ b/dev/integration_tests/deferred_components_test/README.md @@ -1,5 +1,13 @@ # Deferred components integration test app +## Setup + +This integration test app requires manually downloading additional assets to build. Run + +`./download_assets.sh` + +before running any of the tests. + ## Tests This app contains two sets of tests: diff --git a/dev/integration_tests/deferred_components_test/download_assets.sh b/dev/integration_tests/deferred_components_test/download_assets.sh new file mode 100755 index 0000000000..2951af5124 --- /dev/null +++ b/dev/integration_tests/deferred_components_test/download_assets.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# Copyright 2014 The Flutter Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +mkdir customassets +curl https://raw.githubusercontent.com/flutter/goldens/0fbd6c5d30ec714ffefd63b47910aee7debd2e7e/dev/integration_tests/assets_for_deferred_components_test/flutter_logo.png --output customassets/flutter_logo.png +curl https://raw.githubusercontent.com/flutter/goldens/0fbd6c5d30ec714ffefd63b47910aee7debd2e7e/dev/integration_tests/assets_for_deferred_components_test/key.properties --output android/key.properties +curl https://raw.githubusercontent.com/flutter/goldens/0fbd6c5d30ec714ffefd63b47910aee7debd2e7e/dev/integration_tests/assets_for_deferred_components_test/testing-keystore.jks --output android/testing-keystore.jks