Skip to content

Commit 52d15ac

Browse files
committed
Update testing_codelab
1 parent f09e13a commit 52d15ac

File tree

8 files changed

+102
-102
lines changed

8 files changed

+102
-102
lines changed

testing_codelab/step_03/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ environment:
1313
dependencies:
1414
flutter:
1515
sdk: flutter
16-
go_router: ^16.0.0
16+
go_router: ^16.1.0
1717
provider: ^6.1.5
1818

1919
dev_dependencies:

testing_codelab/step_04/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ environment:
1313
dependencies:
1414
flutter:
1515
sdk: flutter
16-
go_router: ^16.0.0
16+
go_router: ^16.1.0
1717
provider: ^6.1.5
1818

1919
dev_dependencies:

testing_codelab/step_05/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ environment:
1313
dependencies:
1414
flutter:
1515
sdk: flutter
16-
go_router: ^16.0.0
16+
go_router: ^16.1.0
1717
provider: ^6.1.5
1818

1919
dev_dependencies:

testing_codelab/step_06/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ environment:
1313
dependencies:
1414
flutter:
1515
sdk: flutter
16-
go_router: ^16.0.0
16+
go_router: ^16.1.0
1717
provider: ^6.1.5
1818

1919
dev_dependencies:

testing_codelab/step_07/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
2828
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
2929
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
30-
A62EC4DCFC22329E83D99618 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00AC268450836147E3580A2A /* Pods_RunnerTests.framework */; };
31-
EF5D22A6645C649F4E10F5E1 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C8784D59A251C4A50FECE56B /* Pods_Runner.framework */; };
30+
74774065F03FFB2F8E8593ED /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 67A85853B63545D9D3D69C3A /* Pods_RunnerTests.framework */; };
31+
D189E29E8ED82A1E4C95AA9F /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C3C33064D56157A27345AD54 /* Pods_Runner.framework */; };
3232
/* End PBXBuildFile section */
3333

3434
/* Begin PBXContainerItemProxy section */
@@ -62,8 +62,8 @@
6262
/* End PBXCopyFilesBuildPhase section */
6363

6464
/* Begin PBXFileReference section */
65-
00AC268450836147E3580A2A /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
66-
264AE0812F8AFC882027E89E /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
65+
08CC341580A77A6FA403362D /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
66+
32CDD831C8088D573F1E21F7 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
6767
331C80D5294CF71000263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
6868
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
6969
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
@@ -80,30 +80,30 @@
8080
33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = "<group>"; };
8181
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; };
8282
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
83-
3AFFF7F145D3BE545F95CF01 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
84-
52B8148ADB50B05A2F4D8E1E /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
83+
43966E9C14E7F7ED5F2BD4C8 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
84+
67A85853B63545D9D3D69C3A /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8585
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
86+
8B3C5DC9AE86BE71FC23FD85 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
8687
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
87-
A1BBEB0114FC08DDF2F7D100 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
88-
C8784D59A251C4A50FECE56B /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
89-
EF11449A00E1F720DCEBA777 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
90-
FE56B9A83CE65C36BAE91202 /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
88+
A349BCB472B31E494B4E994A /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
89+
AE3A72D17B218C0CF5EA6627 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
90+
C3C33064D56157A27345AD54 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
9191
/* End PBXFileReference section */
9292

9393
/* Begin PBXFrameworksBuildPhase section */
9494
331C80D2294CF70F00263BE5 /* Frameworks */ = {
9595
isa = PBXFrameworksBuildPhase;
9696
buildActionMask = 2147483647;
9797
files = (
98-
A62EC4DCFC22329E83D99618 /* Pods_RunnerTests.framework in Frameworks */,
98+
74774065F03FFB2F8E8593ED /* Pods_RunnerTests.framework in Frameworks */,
9999
);
100100
runOnlyForDeploymentPostprocessing = 0;
101101
};
102102
33CC10EA2044A3C60003C045 /* Frameworks */ = {
103103
isa = PBXFrameworksBuildPhase;
104104
buildActionMask = 2147483647;
105105
files = (
106-
EF5D22A6645C649F4E10F5E1 /* Pods_Runner.framework in Frameworks */,
106+
D189E29E8ED82A1E4C95AA9F /* Pods_Runner.framework in Frameworks */,
107107
);
108108
runOnlyForDeploymentPostprocessing = 0;
109109
};
@@ -137,7 +137,7 @@
137137
331C80D6294CF71000263BE5 /* RunnerTests */,
138138
33CC10EE2044A3C60003C045 /* Products */,
139139
D73912EC22F37F3D000D13A0 /* Frameworks */,
140-
35F6A995E829D95EB158A83B /* Pods */,
140+
FB2EFB3214E5D346FBC2D25A /* Pods */,
141141
);
142142
sourceTree = "<group>";
143143
};
@@ -185,27 +185,27 @@
185185
path = Runner;
186186
sourceTree = "<group>";
187187
};
188-
35F6A995E829D95EB158A83B /* Pods */ = {
188+
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
189189
isa = PBXGroup;
190190
children = (
191-
264AE0812F8AFC882027E89E /* Pods-Runner.debug.xcconfig */,
192-
52B8148ADB50B05A2F4D8E1E /* Pods-Runner.release.xcconfig */,
193-
3AFFF7F145D3BE545F95CF01 /* Pods-Runner.profile.xcconfig */,
194-
A1BBEB0114FC08DDF2F7D100 /* Pods-RunnerTests.debug.xcconfig */,
195-
EF11449A00E1F720DCEBA777 /* Pods-RunnerTests.release.xcconfig */,
196-
FE56B9A83CE65C36BAE91202 /* Pods-RunnerTests.profile.xcconfig */,
191+
C3C33064D56157A27345AD54 /* Pods_Runner.framework */,
192+
67A85853B63545D9D3D69C3A /* Pods_RunnerTests.framework */,
197193
);
198-
name = Pods;
199-
path = Pods;
194+
name = Frameworks;
200195
sourceTree = "<group>";
201196
};
202-
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
197+
FB2EFB3214E5D346FBC2D25A /* Pods */ = {
203198
isa = PBXGroup;
204199
children = (
205-
C8784D59A251C4A50FECE56B /* Pods_Runner.framework */,
206-
00AC268450836147E3580A2A /* Pods_RunnerTests.framework */,
200+
8B3C5DC9AE86BE71FC23FD85 /* Pods-Runner.debug.xcconfig */,
201+
43966E9C14E7F7ED5F2BD4C8 /* Pods-Runner.release.xcconfig */,
202+
32CDD831C8088D573F1E21F7 /* Pods-Runner.profile.xcconfig */,
203+
A349BCB472B31E494B4E994A /* Pods-RunnerTests.debug.xcconfig */,
204+
AE3A72D17B218C0CF5EA6627 /* Pods-RunnerTests.release.xcconfig */,
205+
08CC341580A77A6FA403362D /* Pods-RunnerTests.profile.xcconfig */,
207206
);
208-
name = Frameworks;
207+
name = Pods;
208+
path = Pods;
209209
sourceTree = "<group>";
210210
};
211211
/* End PBXGroup section */
@@ -215,7 +215,7 @@
215215
isa = PBXNativeTarget;
216216
buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
217217
buildPhases = (
218-
C39F6724FFFC4E19D3673BB7 /* [CP] Check Pods Manifest.lock */,
218+
237FE1159A6849235BE23F04 /* [CP] Check Pods Manifest.lock */,
219219
331C80D1294CF70F00263BE5 /* Sources */,
220220
331C80D2294CF70F00263BE5 /* Frameworks */,
221221
331C80D3294CF70F00263BE5 /* Resources */,
@@ -234,7 +234,7 @@
234234
isa = PBXNativeTarget;
235235
buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
236236
buildPhases = (
237-
56800306E2B8F4E4FE37273A /* [CP] Check Pods Manifest.lock */,
237+
7085AABA004A58239B6CA3A1 /* [CP] Check Pods Manifest.lock */,
238238
33CC10E92044A3C60003C045 /* Sources */,
239239
33CC10EA2044A3C60003C045 /* Frameworks */,
240240
33CC10EB2044A3C60003C045 /* Resources */,
@@ -322,67 +322,67 @@
322322
/* End PBXResourcesBuildPhase section */
323323

324324
/* Begin PBXShellScriptBuildPhase section */
325-
3399D490228B24CF009A79C7 /* ShellScript */ = {
325+
237FE1159A6849235BE23F04 /* [CP] Check Pods Manifest.lock */ = {
326326
isa = PBXShellScriptBuildPhase;
327-
alwaysOutOfDate = 1;
328327
buildActionMask = 2147483647;
329328
files = (
330329
);
331330
inputFileListPaths = (
332331
);
333332
inputPaths = (
333+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
334+
"${PODS_ROOT}/Manifest.lock",
334335
);
336+
name = "[CP] Check Pods Manifest.lock";
335337
outputFileListPaths = (
336338
);
337339
outputPaths = (
340+
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
338341
);
339342
runOnlyForDeploymentPostprocessing = 0;
340343
shellPath = /bin/sh;
341-
shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n";
344+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
345+
showEnvVarsInLog = 0;
342346
};
343-
33CC111E2044C6BF0003C045 /* ShellScript */ = {
347+
3399D490228B24CF009A79C7 /* ShellScript */ = {
344348
isa = PBXShellScriptBuildPhase;
349+
alwaysOutOfDate = 1;
345350
buildActionMask = 2147483647;
346351
files = (
347352
);
348353
inputFileListPaths = (
349-
Flutter/ephemeral/FlutterInputs.xcfilelist,
350354
);
351355
inputPaths = (
352-
Flutter/ephemeral/tripwire,
353356
);
354357
outputFileListPaths = (
355-
Flutter/ephemeral/FlutterOutputs.xcfilelist,
356358
);
357359
outputPaths = (
358360
);
359361
runOnlyForDeploymentPostprocessing = 0;
360362
shellPath = /bin/sh;
361-
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
363+
shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n";
362364
};
363-
56800306E2B8F4E4FE37273A /* [CP] Check Pods Manifest.lock */ = {
365+
33CC111E2044C6BF0003C045 /* ShellScript */ = {
364366
isa = PBXShellScriptBuildPhase;
365367
buildActionMask = 2147483647;
366368
files = (
367369
);
368370
inputFileListPaths = (
371+
Flutter/ephemeral/FlutterInputs.xcfilelist,
369372
);
370373
inputPaths = (
371-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
372-
"${PODS_ROOT}/Manifest.lock",
374+
Flutter/ephemeral/tripwire,
373375
);
374-
name = "[CP] Check Pods Manifest.lock";
375376
outputFileListPaths = (
377+
Flutter/ephemeral/FlutterOutputs.xcfilelist,
376378
);
377379
outputPaths = (
378-
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
379380
);
380381
runOnlyForDeploymentPostprocessing = 0;
381382
shellPath = /bin/sh;
382-
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
383-
showEnvVarsInLog = 0;
383+
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
384384
};
385-
C39F6724FFFC4E19D3673BB7 /* [CP] Check Pods Manifest.lock */ = {
385+
7085AABA004A58239B6CA3A1 /* [CP] Check Pods Manifest.lock */ = {
386386
isa = PBXShellScriptBuildPhase;
387387
buildActionMask = 2147483647;
388388
files = (
@@ -397,7 +397,7 @@
397397
outputFileListPaths = (
398398
);
399399
outputPaths = (
400-
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
400+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
401401
);
402402
runOnlyForDeploymentPostprocessing = 0;
403403
shellPath = /bin/sh;
@@ -455,7 +455,7 @@
455455
/* Begin XCBuildConfiguration section */
456456
331C80DB294CF71000263BE5 /* Debug */ = {
457457
isa = XCBuildConfiguration;
458-
baseConfigurationReference = A1BBEB0114FC08DDF2F7D100 /* Pods-RunnerTests.debug.xcconfig */;
458+
baseConfigurationReference = A349BCB472B31E494B4E994A /* Pods-RunnerTests.debug.xcconfig */;
459459
buildSettings = {
460460
BUNDLE_LOADER = "$(TEST_HOST)";
461461
CURRENT_PROJECT_VERSION = 1;
@@ -470,7 +470,7 @@
470470
};
471471
331C80DC294CF71000263BE5 /* Release */ = {
472472
isa = XCBuildConfiguration;
473-
baseConfigurationReference = EF11449A00E1F720DCEBA777 /* Pods-RunnerTests.release.xcconfig */;
473+
baseConfigurationReference = AE3A72D17B218C0CF5EA6627 /* Pods-RunnerTests.release.xcconfig */;
474474
buildSettings = {
475475
BUNDLE_LOADER = "$(TEST_HOST)";
476476
CURRENT_PROJECT_VERSION = 1;
@@ -485,7 +485,7 @@
485485
};
486486
331C80DD294CF71000263BE5 /* Profile */ = {
487487
isa = XCBuildConfiguration;
488-
baseConfigurationReference = FE56B9A83CE65C36BAE91202 /* Pods-RunnerTests.profile.xcconfig */;
488+
baseConfigurationReference = 08CC341580A77A6FA403362D /* Pods-RunnerTests.profile.xcconfig */;
489489
buildSettings = {
490490
BUNDLE_LOADER = "$(TEST_HOST)";
491491
CURRENT_PROJECT_VERSION = 1;

testing_codelab/step_07/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ environment:
1313
dependencies:
1414
flutter:
1515
sdk: flutter
16-
go_router: ^16.0.0
16+
go_router: ^16.1.0
1717
provider: ^6.1.5
1818

1919
dev_dependencies:

0 commit comments

Comments
 (0)