Skip to content

Commit e167181

Browse files
authored
Move flutter_gallery to the testing folder (flutter#52532)
Move Flutter Gallery to dev/integration_tests/ as it is an older copy used only for testing. The current version of the Flutter Gallery now lives in https://github.com/flutter/gallery.
1 parent 1606d87 commit e167181

File tree

250 files changed

+85
-103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+85
-103
lines changed

dev/bots/analyze.dart

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ Future<void> verifyNoTestPackageImports(String workingDirectory) async {
320320
name.startsWith('packages/flutter/test/engine/') ||
321321
name.startsWith('examples/layers/test/smoketests/raw/') ||
322322
name.startsWith('examples/layers/test/smoketests/rendering/') ||
323-
name.startsWith('examples/flutter_gallery/test/calculator')) {
323+
name.startsWith('dev/integration_tests/flutter_gallery/test/calculator')) {
324324
// We only exempt driver tests, some of our special trivial tests.
325325
// Driver tests aren't typically expected to use TypeMatcher and company.
326326
// The trivial tests don't typically do anything at all and it would be
@@ -817,92 +817,92 @@ final Set<Hash256> _grandfatheredBinaries = <Hash256>{
817817
Hash256(0xD29D4E0AF9256DC9, 0x2D0A8F8810608A5E, 0x64A132AD8B397CA2, 0xC4DDC0B1C26A68C3),
818818

819819
// packages/flutter_tools/templates/app/web/icons/Icon-192.png.copy.tmpl
820-
// examples/flutter_gallery/web/icons/Icon-192.png
820+
// dev/integration_tests/flutter_gallery/web/icons/Icon-192.png
821821
Hash256(0x3DCE99077602F704, 0x21C1C6B2A240BC9B, 0x83D64D86681D45F2, 0x154143310C980BE3),
822822

823823
// packages/flutter_tools/templates/app/web/icons/Icon-512.png.copy.tmpl
824-
// examples/flutter_gallery/web/icons/Icon-512.png
824+
// dev/integration_tests/flutter_gallery/web/icons/Icon-512.png
825825
Hash256(0xBACCB205AE45f0B4, 0x21BE1657259B4943, 0xAC40C95094AB877F, 0x3BCBE12CD544DCBE),
826826

827827
// packages/flutter_tools/templates/app/web/favicon.png.copy.tmpl
828-
// examples/flutter_gallery/web/favicon.png
828+
// dev/integration_tests/flutter_gallery/web/favicon.png
829829
Hash256(0x7AB2525F4B86B65D, 0x3E4C70358A17E5A1, 0xAAF6F437f99CBCC0, 0x46DAD73d59BB9015),
830830

831831
// GALLERY ICONS
832832

833-
// examples/flutter_gallery/android/app/src/main/res/mipmap-hdpi/ic_background.png
833+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-hdpi/ic_background.png
834834
Hash256(0x03CFDE53C249475C, 0x277E8B8E90AC8A13, 0xE5FC13C358A94CCB, 0x67CA866C9862A0DD),
835835

836-
// examples/flutter_gallery/android/app/src/main/res/mipmap-hdpi/ic_foreground.png
836+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-hdpi/ic_foreground.png
837837
Hash256(0x86A83E23A505EFCC, 0x39C358B699EDE12F, 0xC088EE516A1D0C73, 0xF3B5D74DDAD164B1),
838838

839-
// examples/flutter_gallery/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
839+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
840840
Hash256(0xD813B1A77320355E, 0xB68C485CD47D0F0F, 0x3C7E1910DCD46F08, 0x60A6401B8DC13647),
841841

842-
// examples/flutter_gallery/android/app/src/main/res/mipmap-xhdpi/ic_background.png
842+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-xhdpi/ic_background.png
843843
Hash256(0x35AFA76BD5D6053F, 0xEE927436C78A8794, 0xA8BA5F5D9FC9653B, 0xE5B96567BB7215ED),
844844

845-
// examples/flutter_gallery/android/app/src/main/res/mipmap-xhdpi/ic_foreground.png
845+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-xhdpi/ic_foreground.png
846846
Hash256(0x263CE9B4F1F69B43, 0xEBB08AE9FE8F80E7, 0x95647A59EF2C040B, 0xA8AEB246861A7DFF),
847847

848-
// examples/flutter_gallery/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
848+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
849849
Hash256(0x5E1A93C3653BAAFF, 0x1AAC6BCEB8DCBC2F, 0x2AE7D68ECB07E507, 0xCB1FA8354B28313A),
850850

851-
// examples/flutter_gallery/android/app/src/main/res/mipmap-xxhdpi/ic_background.png
851+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-xxhdpi/ic_background.png
852852
Hash256(0xA5C77499151DDEC6, 0xDB40D0AC7321FD74, 0x0646C0C0F786743F, 0x8F3C3C408CAC5E8C),
853853

854-
// examples/flutter_gallery/android/app/src/main/res/mipmap-xxhdpi/ic_foreground.png
854+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-xxhdpi/ic_foreground.png
855855
Hash256(0x33DE450980A2A16B, 0x1982AC7CDC1E7B01, 0x919E07E0289C2139, 0x65F85BCED8895FEF),
856856

857-
// examples/flutter_gallery/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
857+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
858858
Hash256(0xC3B8577F4A89BA03, 0x830944FB06C3566B, 0x4C99140A2CA52958, 0x089BFDC3079C59B7),
859859

860-
// examples/flutter_gallery/android/app/src/main/res/mipmap-xxxhdpi/ic_background.png
860+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-xxxhdpi/ic_background.png
861861
Hash256(0xDEBC241D6F9C5767, 0x8980FDD46FA7ED0C, 0x5B8ACD26BCC5E1BC, 0x473C89B432D467AD),
862862

863-
// examples/flutter_gallery/android/app/src/main/res/mipmap-xxxhdpi/ic_foreground.png
863+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-xxxhdpi/ic_foreground.png
864864
Hash256(0xBEFE5F7E82BF8B64, 0x148D869E3742004B, 0xF821A9F5A1BCDC00, 0x357D246DCC659DC2),
865865

866-
// examples/flutter_gallery/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
866+
// dev/integration_tests/flutter_gallery/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
867867
Hash256(0xC385404341FF9EDD, 0x30FBE76F0EC99155, 0x8EA4F4AFE8CC0C60, 0x1CA3EDEF177E1DA8),
868868

869-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-1024.png
869+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-1024.png
870870
Hash256(0x6BE5751A29F57A80, 0x36A4B31CC542C749, 0x984E49B22BD65CAA, 0x75AE8B2440848719),
871871

872-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-120.png
872+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-120.png
873873
Hash256(0x9972A2264BFA8F8D, 0x964AFE799EADC1FA, 0x2247FB31097F994A, 0x1495DC32DF071793),
874874

875-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-152.png
875+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-152.png
876876
Hash256(0x4C7CC9B09BEEDA24, 0x45F57D6967753910, 0x57D68E1A6B883D2C, 0x8C52701A74F1400F),
877877

878-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-167.png
878+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-167.png
879879
Hash256(0x66DACAC1CFE4D349, 0xDBE994CB9125FFD7, 0x2D795CFC9CF9F739, 0xEDBB06CE25082E9C),
880880

881-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-180.png
881+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-180.png
882882
Hash256(0x5188621015EBC327, 0xC9EF63AD76E60ECE, 0xE82BDC3E4ABF09E2, 0xEE0139FA7C0A2BE5),
883883

884-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-20.png
884+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-20.png
885885
Hash256(0x27D2752D04EE9A6B, 0x78410E208F74A6CD, 0xC90D9E03B73B8C60, 0xD05F7D623E790487),
886886

887-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-29.png
887+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-29.png
888888
Hash256(0xBB20556B2826CF85, 0xD5BAC73AA69C2AC3, 0x8E71DAD64F15B855, 0xB30CB73E0AF89307),
889889

890-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-40.png
890+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-40.png
891891
Hash256(0x623820FA45CDB0AC, 0x808403E34AD6A53E, 0xA3E9FDAE83EE0931, 0xB020A3A4EF2CDDE7),
892892

893-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-58.png
893+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-58.png
894894
Hash256(0xC6D631D1E107215E, 0xD4A58FEC5F3AA4B5, 0x0AE9724E07114C0C, 0x453E5D87C2CAD3B3),
895895

896-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-60.png
896+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-60.png
897897
Hash256(0x4B6F58D1EB8723C6, 0xE717A0D09FEC8806, 0x90C6D1EF4F71836E, 0x618672827979B1A2),
898898

899-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-76.png
899+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-76.png
900900
Hash256(0x0A1744CC7634D508, 0xE85DD793331F0C8A, 0x0B7C6DDFE0975D8F, 0x29E91C905BBB1BED),
901901

902-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-80.png
902+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-80.png
903903
Hash256(0x24032FBD1E6519D6, 0x0BA93C0D5C189554, 0xF50EAE23756518A2, 0x3FABACF4BD5DAF08),
904904

905-
// examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-87.png
905+
// dev/integration_tests/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-87.png
906906
Hash256(0xC17BAE6DF6BB234A, 0xE0AF4BEB0B805F12, 0x14E74EB7AA9A30F1, 0x5763689165DA7DDF),
907907

908908

dev/bots/deploy_gallery.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if [[ "$OS" == "linux" ]]; then
3232
export BUNDLE_GEMFILE="$FLUTTER_ROOT/dev/ci/docker_linux/Gemfile"
3333
# ANDROID_SDK_ROOT must be set in the env.
3434
(
35-
cd examples/flutter_gallery
35+
cd dev/integration_tests/flutter_gallery
3636
flutter build apk --release -t lib/main_publish.dart
3737
)
3838
echo "Android Flutter Gallery built"
@@ -44,7 +44,7 @@ if [[ "$OS" == "linux" ]]; then
4444
fi
4545
set -x
4646
(
47-
cd examples/flutter_gallery/android
47+
cd dev/integration_tests/flutter_gallery/android
4848
bundle exec fastlane deploy_play_store
4949
)
5050
else
@@ -54,7 +54,7 @@ elif [[ "$OS" == "darwin" ]]; then
5454
echo "Building Flutter Gallery $version for iOS..."
5555
export BUNDLE_GEMFILE="$FLUTTER_ROOT/dev/ci/mac/Gemfile"
5656
(
57-
cd examples/flutter_gallery
57+
cd dev/integration_tests/flutter_gallery
5858
flutter build ios --release --no-codesign -t lib/main_publish.dart
5959

6060
# flutter build ios will run CocoaPods script. Check generated locations.
@@ -92,7 +92,7 @@ elif [[ "$OS" == "darwin" ]]; then
9292
if [[ "$CIRRUS_BRANCH" == "dev" && "$version" != *"pre"* ]]; then
9393
echo "Archiving with distribution profile and deploying to TestFlight..."
9494
(
95-
cd examples/flutter_gallery/ios
95+
cd dev/integration_tests/flutter_gallery/ios
9696
export DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS="-t DAV"
9797
bundle exec fastlane build_and_deploy_testflight upload:true
9898
)
@@ -102,7 +102,7 @@ elif [[ "$OS" == "darwin" ]]; then
102102
# the secrets aren't available on PRs.
103103
echo "Testing archiving with distribution profile..."
104104
(
105-
cd examples/flutter_gallery/ios
105+
cd dev/integration_tests/flutter_gallery/ios
106106
# Cirrus Mac VMs come with an old version of fastlane which was causing
107107
# dependency issues (https://github.com/flutter/flutter/issues/43435),
108108
# so explicitly use the version specified in $BUNDLE_GEMFILE.

dev/bots/test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ Future<void> _runFrameworkTests() async {
421421
tests: <String>[ path.join('test', 'widgets') + path.separator ],
422422
);
423423
// Try compiling code outside of the packages/flutter directory with and without --track-widget-creation
424-
await _runFlutterTest(path.join(flutterRoot, 'examples', 'flutter_gallery'), options: <String>['--track-widget-creation'], tableData: bigqueryApi?.tabledata);
425-
await _runFlutterTest(path.join(flutterRoot, 'examples', 'flutter_gallery'), options: <String>['--no-track-widget-creation'], tableData: bigqueryApi?.tabledata);
424+
await _runFlutterTest(path.join(flutterRoot, 'dev', 'integration_tests', 'flutter_gallery'), options: <String>['--track-widget-creation'], tableData: bigqueryApi?.tabledata);
425+
await _runFlutterTest(path.join(flutterRoot, 'dev', 'integration_tests', 'flutter_gallery'), options: <String>['--no-track-widget-creation'], tableData: bigqueryApi?.tabledata);
426426
}
427427

428428
Future<void> runLibraries() async {

dev/devicelab/bin/tasks/drive_perf_debug_warning.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Future<String> _runWithMode(String mode, String deviceId) async {
2121
}
2222

2323
Future<TaskResult> run() async {
24-
cd('${flutterDirectory.path}/examples/flutter_gallery');
24+
cd('${flutterDirectory.path}/dev/integration_tests/flutter_gallery');
2525
final Device device = await devices.workingDevice;
2626
await device.unlock();
2727
final String deviceId = device.deviceId;

dev/devicelab/bin/tasks/flutter_gallery__back_button_memory.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const String packageName = 'io.flutter.demo.gallery';
1616
const String activityName = 'io.flutter.demo.gallery.MainActivity';
1717

1818
class BackButtonMemoryTest extends MemoryTest {
19-
BackButtonMemoryTest() : super('${flutterDirectory.path}/examples/flutter_gallery', 'test_memory/back_button.dart', packageName);
19+
BackButtonMemoryTest() : super('${flutterDirectory.path}/dev/integration_tests/flutter_gallery', 'test_memory/back_button.dart', packageName);
2020

2121
@override
2222
AndroidDevice get device => super.device as AndroidDevice;

dev/devicelab/bin/tasks/flutter_gallery__image_cache_memory.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import 'package:flutter_devicelab/tasks/perf_tests.dart';
1010

1111
Future<void> main() async {
1212
await task(MemoryTest(
13-
'${flutterDirectory.path}/examples/flutter_gallery',
13+
'${flutterDirectory.path}/dev/integration_tests/flutter_gallery',
1414
'test_memory/image_cache_memory.dart',
1515
'io.flutter.demo.gallery',
1616
).run);

dev/devicelab/bin/tasks/flutter_gallery__memory_nav.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import 'package:flutter_devicelab/tasks/perf_tests.dart';
1010

1111
Future<void> main() async {
1212
await task(MemoryTest(
13-
'${flutterDirectory.path}/examples/flutter_gallery',
13+
'${flutterDirectory.path}/dev/integration_tests/flutter_gallery',
1414
'test_memory/memory_nav.dart',
1515
'io.flutter.demo.gallery',
1616
).run);

dev/devicelab/bin/tasks/flutter_gallery_instrumentation_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import 'package:flutter_devicelab/framework/adb.dart';
99
import 'package:flutter_devicelab/framework/framework.dart';
1010
import 'package:flutter_devicelab/framework/utils.dart';
1111

12-
// This test runs "//examples/flutter_gallery/test/live_smoketest.dart", which communicates
12+
// This test runs "//dev/integration_tests/flutter_gallery/test/live_smoketest.dart", which communicates
1313
// with the Java code to report its status. If this test fails due to a problem on the Dart
1414
// side, you can debug that by just running that file directly using `flutter run`.
1515

@@ -18,7 +18,7 @@ Future<void> main() async {
1818

1919
await task(() async {
2020
final Directory galleryDirectory =
21-
dir('${flutterDirectory.path}/examples/flutter_gallery');
21+
dir('${flutterDirectory.path}/dev/integration_tests/flutter_gallery');
2222
await inDirectory(galleryDirectory, () async {
2323
final Device device = await devices.workingDevice;
2424
await device.unlock();

dev/devicelab/lib/tasks/gallery.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class GalleryTransitionTest {
2626
await device.unlock();
2727
final String deviceId = device.deviceId;
2828
final Directory galleryDirectory =
29-
dir('${flutterDirectory.path}/examples/flutter_gallery');
29+
dir('${flutterDirectory.path}/dev/integration_tests/flutter_gallery');
3030
await inDirectory<void>(galleryDirectory, () async {
3131
await flutter('packages', options: <String>['get']);
3232

dev/devicelab/lib/tasks/hot_mode_tests.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import '../framework/framework.dart';
1313
import '../framework/utils.dart';
1414

1515
final Directory _editedFlutterGalleryDir = dir(path.join(Directory.systemTemp.path, 'edited_flutter_gallery'));
16-
final Directory flutterGalleryDir = dir(path.join(flutterDirectory.path, 'examples/flutter_gallery'));
16+
final Directory flutterGalleryDir = dir(path.join(flutterDirectory.path, 'dev/integration_tests/flutter_gallery'));
1717

1818
TaskFunction createHotModeTest({String deviceIdOverride, Map<String, String> environment}) {
1919
return () async {

dev/devicelab/lib/tasks/perf_tests.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ TaskFunction createTilesScrollPerfTest() {
3232

3333
TaskFunction createHomeScrollPerfTest() {
3434
return PerfTest(
35-
'${flutterDirectory.path}/examples/flutter_gallery',
35+
'${flutterDirectory.path}/dev/integration_tests/flutter_gallery',
3636
'test_driver/scroll_perf.dart',
3737
'home_scroll_perf',
3838
).run;
@@ -100,7 +100,7 @@ TaskFunction createPictureCachePerfTest() {
100100

101101
TaskFunction createFlutterGalleryStartupTest() {
102102
return StartupTest(
103-
'${flutterDirectory.path}/examples/flutter_gallery',
103+
'${flutterDirectory.path}/dev/integration_tests/flutter_gallery',
104104
).run;
105105
}
106106

@@ -118,7 +118,7 @@ TaskFunction createHelloWorldStartupTest() {
118118
}
119119

120120
TaskFunction createFlutterGalleryCompileTest() {
121-
return CompileTest('${flutterDirectory.path}/examples/flutter_gallery').run;
121+
return CompileTest('${flutterDirectory.path}/dev/integration_tests/flutter_gallery').run;
122122
}
123123

124124
TaskFunction createHelloWorldCompileTest() {
@@ -301,7 +301,7 @@ class WebCompileTest {
301301
await _measureSize('hello_world', output, metrics);
302302
return null;
303303
});
304-
await inDirectory<TaskResult>('${flutterDirectory.path}/examples/flutter_gallery', () async {
304+
await inDirectory<TaskResult>('${flutterDirectory.path}/dev/integration_tests/flutter_gallery', () async {
305305
await flutter('packages', options: <String>['get']);
306306
await evalFlutter('build', options: <String>[
307307
'web',
@@ -311,7 +311,7 @@ class WebCompileTest {
311311
], environment: <String, String>{
312312
'FLUTTER_WEB': 'true',
313313
});
314-
final String output = '${flutterDirectory.path}/examples/flutter_gallery/build/web/main.dart.js';
314+
final String output = '${flutterDirectory.path}/dev/integration_tests/flutter_gallery/build/web/main.dart.js';
315315
await _measureSize('flutter_gallery', output, metrics);
316316
return null;
317317
});

dev/devicelab/lib/tasks/web_dev_mode_tests.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import '../framework/framework.dart';
1212
import '../framework/utils.dart';
1313

1414
final Directory _editedFlutterGalleryDir = dir(path.join(Directory.systemTemp.path, 'edited_flutter_gallery'));
15-
final Directory flutterGalleryDir = dir(path.join(flutterDirectory.path, 'examples/flutter_gallery'));
15+
final Directory flutterGalleryDir = dir(path.join(flutterDirectory.path, 'dev/integration_tests/flutter_gallery'));
1616

1717
const String kInitialStartupTime = 'InitialStartupTime';
1818
const String kFirstRestartTime = 'FistRestartTime';
Lines changed: 11 additions & 0 deletions

examples/flutter_gallery/analysis_options.yaml renamed to dev/integration_tests/flutter_gallery/analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Take our settings from the repo's main analysis_options.yaml file, but add
22
# an exclude for the build directory.
33

4-
include: ../../analysis_options.yaml
4+
include: ../../../analysis_options.yaml
55

66
analyzer:
77
exclude:

examples/flutter_gallery/android/fastlane/metadata/android/en-US/full_description.txt renamed to dev/integration_tests/flutter_gallery/android/fastlane/metadata/android/en-US/full_description.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ A gallery of widgets and behaviors, plus demos and vignettes, all built with Flu
44

55
Flutter is Google’s multi-platform mobile app SDK for crafting beautiful native experiences on iOS and Android in record time.
66

7-
This app is open source. Check out the code to see how this app is built: https://github.com/flutter/flutter/tree/master/examples/flutter_gallery
7+
This app is open source. Check out the code to see how this app is built: https://github.com/flutter/flutter/tree/master/dev/integration_tests/flutter_gallery
88

99
Visit https://flutter.dev to learn more.

examples/flutter_gallery/test/live_smoketest.dart renamed to dev/integration_tests/flutter_gallery/test/live_smoketest.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ const List<String> _kSkippedDemoTitles = <String>[
4141
];
4242

4343
// There are 3 places where the Gallery demos are traversed.
44-
// 1- In widget tests such as examples/flutter_gallery/test/smoke_test.dart
45-
// 2- In driver tests such as examples/flutter_gallery/test_driver/transitions_perf_test.dart
46-
// 3- In on-device instrumentation tests such as examples/flutter_gallery/test/live_smoketest.dart
44+
// 1- In widget tests such as dev/integration_tests/flutter_gallery/test/smoke_test.dart
45+
// 2- In driver tests such as dev/integration_tests/flutter_gallery/test_driver/transitions_perf_test.dart
46+
// 3- In on-device instrumentation tests such as dev/integration_tests/flutter_gallery/test/live_smoketest.dart
4747
//
4848
// If you change navigation behavior in the Gallery or in the framework, make
4949
// sure all 3 are covered.

0 commit comments

Comments
 (0)