Skip to content

Commit e9108e4

Browse files
authored
[ViewCode-RP] Add SnapshotTesting
2 parents 063d462 + f54af3f commit e9108e4

File tree

4 files changed

+146
-0
lines changed

4 files changed

+146
-0
lines changed

solutions/devsprint-rafael-de-paula-1/DeliveryApp.xcodeproj/project.pbxproj

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
31399CCE8051BCF55CE0F7FE /* Pods_DeliveryAppTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 59713E9486A0DAACDCDEB7F6 /* Pods_DeliveryAppTests.framework */; };
1011
98228D7D27BC489F006A38BB /* Address.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98228D7C27BC489F006A38BB /* Address.swift */; };
1112
98228D7F27BC490E006A38BB /* RestaurantDetails.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98228D7E27BC490E006A38BB /* RestaurantDetails.swift */; };
1213
983271C6272752B50010C63A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 983271C5272752B50010C63A /* Assets.xcassets */; };
@@ -31,6 +32,7 @@
3132
98AF573227ADB16E00339A66 /* Restaurant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98C4368627ADAEA500D9048A /* Restaurant.swift */; };
3233
98AF573327ADB16E00339A66 /* String+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98C4368827ADAEBE00D9048A /* String+Extensions.swift */; };
3334
98AF573627ADB34C00339A66 /* DebugViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 98AF573527ADB34C00339A66 /* DebugViewController.swift */; };
35+
F38B063B7FA2ECD527BC711E /* Pods_DeliveryApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 160BD4A1C682793F2954AD1D /* Pods_DeliveryApp.framework */; };
3436
/* End PBXBuildFile section */
3537

3638
/* Begin PBXContainerItemProxy section */
@@ -44,6 +46,9 @@
4446
/* End PBXContainerItemProxy section */
4547

4648
/* Begin PBXFileReference section */
49+
160BD4A1C682793F2954AD1D /* Pods_DeliveryApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DeliveryApp.framework; sourceTree = BUILT_PRODUCTS_DIR; };
50+
3EDA769CE8E741FD579D2DB6 /* Pods-DeliveryAppTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DeliveryAppTests.debug.xcconfig"; path = "Target Support Files/Pods-DeliveryAppTests/Pods-DeliveryAppTests.debug.xcconfig"; sourceTree = "<group>"; };
51+
59713E9486A0DAACDCDEB7F6 /* Pods_DeliveryAppTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DeliveryAppTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
4752
98228D7C27BC489F006A38BB /* Address.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Address.swift; sourceTree = "<group>"; };
4853
98228D7E27BC490E006A38BB /* RestaurantDetails.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RestaurantDetails.swift; sourceTree = "<group>"; };
4954
983271B9272752AF0010C63A /* DeliveryApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DeliveryApp.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -71,32 +76,60 @@
7176
98F1297C272F51DE00B88A87 /* MenuItemViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuItemViewController.swift; sourceTree = "<group>"; };
7277
98FC5AAA2732B938002412EA /* RestaurantDetailsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RestaurantDetailsView.swift; sourceTree = "<group>"; };
7378
98FC5AB72732C1EF002412EA /* MenuItemView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MenuItemView.swift; sourceTree = "<group>"; };
79+
A6B18B6CD0C1E1CC87339AA4 /* Pods-DeliveryApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DeliveryApp.debug.xcconfig"; path = "Target Support Files/Pods-DeliveryApp/Pods-DeliveryApp.debug.xcconfig"; sourceTree = "<group>"; };
80+
BCF8E8ECA72737657CE9C33B /* Pods-DeliveryApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DeliveryApp.release.xcconfig"; path = "Target Support Files/Pods-DeliveryApp/Pods-DeliveryApp.release.xcconfig"; sourceTree = "<group>"; };
81+
D9B092AD3C6626CBAC0B965E /* Pods-DeliveryAppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DeliveryAppTests.release.xcconfig"; path = "Target Support Files/Pods-DeliveryAppTests/Pods-DeliveryAppTests.release.xcconfig"; sourceTree = "<group>"; };
7482
/* End PBXFileReference section */
7583

7684
/* Begin PBXFrameworksBuildPhase section */
7785
983271B6272752AF0010C63A /* Frameworks */ = {
7886
isa = PBXFrameworksBuildPhase;
7987
buildActionMask = 2147483647;
8088
files = (
89+
F38B063B7FA2ECD527BC711E /* Pods_DeliveryApp.framework in Frameworks */,
8190
);
8291
runOnlyForDeploymentPostprocessing = 0;
8392
};
8493
983271CC272752B50010C63A /* Frameworks */ = {
8594
isa = PBXFrameworksBuildPhase;
8695
buildActionMask = 2147483647;
8796
files = (
97+
31399CCE8051BCF55CE0F7FE /* Pods_DeliveryAppTests.framework in Frameworks */,
8898
);
8999
runOnlyForDeploymentPostprocessing = 0;
90100
};
91101
/* End PBXFrameworksBuildPhase section */
92102

93103
/* Begin PBXGroup section */
104+
27F96355B60FD39C525635EC /* Pods */ = {
105+
isa = PBXGroup;
106+
children = (
107+
A6B18B6CD0C1E1CC87339AA4 /* Pods-DeliveryApp.debug.xcconfig */,
108+
BCF8E8ECA72737657CE9C33B /* Pods-DeliveryApp.release.xcconfig */,
109+
3EDA769CE8E741FD579D2DB6 /* Pods-DeliveryAppTests.debug.xcconfig */,
110+
D9B092AD3C6626CBAC0B965E /* Pods-DeliveryAppTests.release.xcconfig */,
111+
);
112+
name = Pods;
113+
path = Pods;
114+
sourceTree = "<group>";
115+
};
116+
90E76F479D00D6620790B4D6 /* Frameworks */ = {
117+
isa = PBXGroup;
118+
children = (
119+
160BD4A1C682793F2954AD1D /* Pods_DeliveryApp.framework */,
120+
59713E9486A0DAACDCDEB7F6 /* Pods_DeliveryAppTests.framework */,
121+
);
122+
name = Frameworks;
123+
sourceTree = "<group>";
124+
};
94125
983271B0272752AF0010C63A = {
95126
isa = PBXGroup;
96127
children = (
97128
983271BB272752AF0010C63A /* DeliveryApp */,
98129
983271D2272752B50010C63A /* DeliveryAppTests */,
99130
983271BA272752AF0010C63A /* Products */,
131+
27F96355B60FD39C525635EC /* Pods */,
132+
90E76F479D00D6620790B4D6 /* Frameworks */,
100133
);
101134
sourceTree = "<group>";
102135
};
@@ -267,6 +300,7 @@
267300
isa = PBXNativeTarget;
268301
buildConfigurationList = 983271E3272752B50010C63A /* Build configuration list for PBXNativeTarget "DeliveryApp" */;
269302
buildPhases = (
303+
DFAB27427656F9EA2778C339 /* [CP] Check Pods Manifest.lock */,
270304
983271B5272752AF0010C63A /* Sources */,
271305
983271B6272752AF0010C63A /* Frameworks */,
272306
983271B7272752AF0010C63A /* Resources */,
@@ -284,9 +318,11 @@
284318
isa = PBXNativeTarget;
285319
buildConfigurationList = 983271E6272752B50010C63A /* Build configuration list for PBXNativeTarget "DeliveryAppTests" */;
286320
buildPhases = (
321+
E4793E4C136AE1996E15FB0B /* [CP] Check Pods Manifest.lock */,
287322
983271CB272752B50010C63A /* Sources */,
288323
983271CC272752B50010C63A /* Frameworks */,
289324
983271CD272752B50010C63A /* Resources */,
325+
20D16229DE61CE71661101FB /* [CP] Embed Pods Frameworks */,
290326
);
291327
buildRules = (
292328
);
@@ -355,6 +391,70 @@
355391
};
356392
/* End PBXResourcesBuildPhase section */
357393

394+
/* Begin PBXShellScriptBuildPhase section */
395+
20D16229DE61CE71661101FB /* [CP] Embed Pods Frameworks */ = {
396+
isa = PBXShellScriptBuildPhase;
397+
buildActionMask = 2147483647;
398+
files = (
399+
);
400+
inputFileListPaths = (
401+
"${PODS_ROOT}/Target Support Files/Pods-DeliveryAppTests/Pods-DeliveryAppTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
402+
);
403+
name = "[CP] Embed Pods Frameworks";
404+
outputFileListPaths = (
405+
"${PODS_ROOT}/Target Support Files/Pods-DeliveryAppTests/Pods-DeliveryAppTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
406+
);
407+
runOnlyForDeploymentPostprocessing = 0;
408+
shellPath = /bin/sh;
409+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-DeliveryAppTests/Pods-DeliveryAppTests-frameworks.sh\"\n";
410+
showEnvVarsInLog = 0;
411+
};
412+
DFAB27427656F9EA2778C339 /* [CP] Check Pods Manifest.lock */ = {
413+
isa = PBXShellScriptBuildPhase;
414+
buildActionMask = 2147483647;
415+
files = (
416+
);
417+
inputFileListPaths = (
418+
);
419+
inputPaths = (
420+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
421+
"${PODS_ROOT}/Manifest.lock",
422+
);
423+
name = "[CP] Check Pods Manifest.lock";
424+
outputFileListPaths = (
425+
);
426+
outputPaths = (
427+
"$(DERIVED_FILE_DIR)/Pods-DeliveryApp-checkManifestLockResult.txt",
428+
);
429+
runOnlyForDeploymentPostprocessing = 0;
430+
shellPath = /bin/sh;
431+
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";
432+
showEnvVarsInLog = 0;
433+
};
434+
E4793E4C136AE1996E15FB0B /* [CP] Check Pods Manifest.lock */ = {
435+
isa = PBXShellScriptBuildPhase;
436+
buildActionMask = 2147483647;
437+
files = (
438+
);
439+
inputFileListPaths = (
440+
);
441+
inputPaths = (
442+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
443+
"${PODS_ROOT}/Manifest.lock",
444+
);
445+
name = "[CP] Check Pods Manifest.lock";
446+
outputFileListPaths = (
447+
);
448+
outputPaths = (
449+
"$(DERIVED_FILE_DIR)/Pods-DeliveryAppTests-checkManifestLockResult.txt",
450+
);
451+
runOnlyForDeploymentPostprocessing = 0;
452+
shellPath = /bin/sh;
453+
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";
454+
showEnvVarsInLog = 0;
455+
};
456+
/* End PBXShellScriptBuildPhase section */
457+
358458
/* Begin PBXSourcesBuildPhase section */
359459
983271B5272752AF0010C63A /* Sources */ = {
360460
isa = PBXSourcesBuildPhase;
@@ -532,6 +632,7 @@
532632
};
533633
983271E4272752B50010C63A /* Debug */ = {
534634
isa = XCBuildConfiguration;
635+
baseConfigurationReference = A6B18B6CD0C1E1CC87339AA4 /* Pods-DeliveryApp.debug.xcconfig */;
535636
buildSettings = {
536637
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
537638
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
@@ -560,6 +661,7 @@
560661
};
561662
983271E5272752B50010C63A /* Release */ = {
562663
isa = XCBuildConfiguration;
664+
baseConfigurationReference = BCF8E8ECA72737657CE9C33B /* Pods-DeliveryApp.release.xcconfig */;
563665
buildSettings = {
564666
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
565667
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
@@ -588,6 +690,7 @@
588690
};
589691
983271E7272752B50010C63A /* Debug */ = {
590692
isa = XCBuildConfiguration;
693+
baseConfigurationReference = 3EDA769CE8E741FD579D2DB6 /* Pods-DeliveryAppTests.debug.xcconfig */;
591694
buildSettings = {
592695
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
593696
BUNDLE_LOADER = "$(TEST_HOST)";
@@ -613,6 +716,7 @@
613716
};
614717
983271E8272752B50010C63A /* Release */ = {
615718
isa = XCBuildConfiguration;
719+
baseConfigurationReference = D9B092AD3C6626CBAC0B965E /* Pods-DeliveryAppTests.release.xcconfig */;
616720
buildSettings = {
617721
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
618722
BUNDLE_LOADER = "$(TEST_HOST)";

solutions/devsprint-rafael-de-paula-1/DeliveryApp.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Uncomment the next line to define a global platform for your project
2+
# platform :ios, '9.0'
3+
4+
target 'DeliveryApp' do
5+
# Comment the next line if you don't want to use dynamic frameworks
6+
use_frameworks!
7+
8+
# Pods for DeliveryApp
9+
10+
target 'DeliveryAppTests' do
11+
inherit! :search_paths
12+
# Pods for testing
13+
pod 'SnapshotTesting', '~> 1.9.0'
14+
end
15+
16+
end
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
PODS:
2+
- SnapshotTesting (1.9.0)
3+
4+
DEPENDENCIES:
5+
- SnapshotTesting (~> 1.9.0)
6+
7+
SPEC REPOS:
8+
trunk:
9+
- SnapshotTesting
10+
11+
SPEC CHECKSUMS:
12+
SnapshotTesting: 6141c48b6aa76ead61431ca665c14ab9a066c53b
13+
14+
PODFILE CHECKSUM: 7a00e977fe8810946d2628e2816b21ed1a5565ab
15+
16+
COCOAPODS: 1.11.3

0 commit comments

Comments
 (0)