Skip to content

Commit d26a1d7

Browse files
committed
Add UI Tests to gather screenshots
1 parent 56a1438 commit d26a1d7

File tree

3 files changed

+303
-1
lines changed

3 files changed

+303
-1
lines changed

HeaderViewer.xcodeproj/project.pbxproj

Lines changed: 128 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10+
FA53C69F2B8BF82000FC1A15 /* GatherScreenshots.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA53C69E2B8BF82000FC1A15 /* GatherScreenshots.swift */; };
1011
FA9687E92B8338E100123476 /* NamedNode.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA9687E82B8338E100123476 /* NamedNode.swift */; };
1112
FA9687EB2B833C1700123476 /* RuntimeObjectType.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA9687EA2B833C1700123476 /* RuntimeObjectType.swift */; };
1213
FA9687ED2B833C3200123476 /* RuntimeObjectDetail.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA9687EC2B833C3200123476 /* RuntimeObjectDetail.swift */; };
@@ -24,6 +25,13 @@
2425
/* End PBXBuildFile section */
2526

2627
/* Begin PBXContainerItemProxy section */
28+
FA53C6992B8BF70200FC1A15 /* PBXContainerItemProxy */ = {
29+
isa = PBXContainerItemProxy;
30+
containerPortal = FAD661EC2B81D1210000D2A6 /* Project object */;
31+
proxyType = 1;
32+
remoteGlobalIDString = FAD661F32B81D1210000D2A6;
33+
remoteInfo = HeaderViewer;
34+
};
2735
FAD6620B2B81D2990000D2A6 /* PBXContainerItemProxy */ = {
2836
isa = PBXContainerItemProxy;
2937
containerPortal = FAD662062B81D2990000D2A6 /* ClassDump.xcodeproj */;
@@ -62,6 +70,9 @@
6270
/* End PBXCopyFilesBuildPhase section */
6371

6472
/* Begin PBXFileReference section */
73+
FA53C6932B8BF70200FC1A15 /* HeaderViewerUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = HeaderViewerUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
74+
FA53C69E2B8BF82000FC1A15 /* GatherScreenshots.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GatherScreenshots.swift; sourceTree = "<group>"; };
75+
FA53C6A02B8BFC0E00FC1A15 /* HeaderViewerUITests.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = HeaderViewerUITests.entitlements; sourceTree = "<group>"; };
6576
FA9687E72B82E37E00123476 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
6677
FA9687E82B8338E100123476 /* NamedNode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NamedNode.swift; sourceTree = "<group>"; };
6778
FA9687EA2B833C1700123476 /* RuntimeObjectType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RuntimeObjectType.swift; sourceTree = "<group>"; };
@@ -81,6 +92,13 @@
8192
/* End PBXFileReference section */
8293

8394
/* Begin PBXFrameworksBuildPhase section */
95+
FA53C6902B8BF70200FC1A15 /* Frameworks */ = {
96+
isa = PBXFrameworksBuildPhase;
97+
buildActionMask = 2147483647;
98+
files = (
99+
);
100+
runOnlyForDeploymentPostprocessing = 0;
101+
};
84102
FAD661F12B81D1210000D2A6 /* Frameworks */ = {
85103
isa = PBXFrameworksBuildPhase;
86104
buildActionMask = 2147483647;
@@ -92,11 +110,21 @@
92110
/* End PBXFrameworksBuildPhase section */
93111

94112
/* Begin PBXGroup section */
113+
FA53C6942B8BF70200FC1A15 /* HeaderViewerUITests */ = {
114+
isa = PBXGroup;
115+
children = (
116+
FA53C69E2B8BF82000FC1A15 /* GatherScreenshots.swift */,
117+
FA53C6A02B8BFC0E00FC1A15 /* HeaderViewerUITests.entitlements */,
118+
);
119+
path = HeaderViewerUITests;
120+
sourceTree = "<group>";
121+
};
95122
FAD661EB2B81D1210000D2A6 = {
96123
isa = PBXGroup;
97124
children = (
98125
FAD662062B81D2990000D2A6 /* ClassDump.xcodeproj */,
99126
FAD661F62B81D1210000D2A6 /* HeaderViewer */,
127+
FA53C6942B8BF70200FC1A15 /* HeaderViewerUITests */,
100128
FAD661F52B81D1210000D2A6 /* Products */,
101129
FAD6620F2B81D2C90000D2A6 /* Frameworks */,
102130
);
@@ -106,6 +134,7 @@
106134
isa = PBXGroup;
107135
children = (
108136
FAD661F42B81D1210000D2A6 /* HeaderViewer.app */,
137+
FA53C6932B8BF70200FC1A15 /* HeaderViewerUITests.xctest */,
109138
);
110139
name = Products;
111140
sourceTree = "<group>";
@@ -150,6 +179,24 @@
150179
/* End PBXGroup section */
151180

152181
/* Begin PBXNativeTarget section */
182+
FA53C6922B8BF70200FC1A15 /* HeaderViewerUITests */ = {
183+
isa = PBXNativeTarget;
184+
buildConfigurationList = FA53C69B2B8BF70200FC1A15 /* Build configuration list for PBXNativeTarget "HeaderViewerUITests" */;
185+
buildPhases = (
186+
FA53C68F2B8BF70200FC1A15 /* Sources */,
187+
FA53C6902B8BF70200FC1A15 /* Frameworks */,
188+
FA53C6912B8BF70200FC1A15 /* Resources */,
189+
);
190+
buildRules = (
191+
);
192+
dependencies = (
193+
FA53C69A2B8BF70200FC1A15 /* PBXTargetDependency */,
194+
);
195+
name = HeaderViewerUITests;
196+
productName = HeaderViewerUITests;
197+
productReference = FA53C6932B8BF70200FC1A15 /* HeaderViewerUITests.xctest */;
198+
productType = "com.apple.product-type.bundle.ui-testing";
199+
};
153200
FAD661F32B81D1210000D2A6 /* HeaderViewer */ = {
154201
isa = PBXNativeTarget;
155202
buildConfigurationList = FAD662032B81D1220000D2A6 /* Build configuration list for PBXNativeTarget "HeaderViewer" */;
@@ -176,9 +223,13 @@
176223
isa = PBXProject;
177224
attributes = {
178225
BuildIndependentTargetsInParallel = 1;
179-
LastSwiftUpdateCheck = 1500;
226+
LastSwiftUpdateCheck = 1520;
180227
LastUpgradeCheck = 1520;
181228
TargetAttributes = {
229+
FA53C6922B8BF70200FC1A15 = {
230+
CreatedOnToolsVersion = 15.2;
231+
TestTargetID = FAD661F32B81D1210000D2A6;
232+
};
182233
FAD661F32B81D1210000D2A6 = {
183234
CreatedOnToolsVersion = 15.0.1;
184235
};
@@ -204,6 +255,7 @@
204255
projectRoot = "";
205256
targets = (
206257
FAD661F32B81D1210000D2A6 /* HeaderViewer */,
258+
FA53C6922B8BF70200FC1A15 /* HeaderViewerUITests */,
207259
);
208260
};
209261
/* End PBXProject section */
@@ -226,6 +278,13 @@
226278
/* End PBXReferenceProxy section */
227279

228280
/* Begin PBXResourcesBuildPhase section */
281+
FA53C6912B8BF70200FC1A15 /* Resources */ = {
282+
isa = PBXResourcesBuildPhase;
283+
buildActionMask = 2147483647;
284+
files = (
285+
);
286+
runOnlyForDeploymentPostprocessing = 0;
287+
};
229288
FAD661F22B81D1210000D2A6 /* Resources */ = {
230289
isa = PBXResourcesBuildPhase;
231290
buildActionMask = 2147483647;
@@ -237,6 +296,14 @@
237296
/* End PBXResourcesBuildPhase section */
238297

239298
/* Begin PBXSourcesBuildPhase section */
299+
FA53C68F2B8BF70200FC1A15 /* Sources */ = {
300+
isa = PBXSourcesBuildPhase;
301+
buildActionMask = 2147483647;
302+
files = (
303+
FA53C69F2B8BF82000FC1A15 /* GatherScreenshots.swift in Sources */,
304+
);
305+
runOnlyForDeploymentPostprocessing = 0;
306+
};
240307
FAD661F02B81D1210000D2A6 /* Sources */ = {
241308
isa = PBXSourcesBuildPhase;
242309
buildActionMask = 2147483647;
@@ -258,6 +325,11 @@
258325
/* End PBXSourcesBuildPhase section */
259326

260327
/* Begin PBXTargetDependency section */
328+
FA53C69A2B8BF70200FC1A15 /* PBXTargetDependency */ = {
329+
isa = PBXTargetDependency;
330+
target = FAD661F32B81D1210000D2A6 /* HeaderViewer */;
331+
targetProxy = FA53C6992B8BF70200FC1A15 /* PBXContainerItemProxy */;
332+
};
261333
FAE3C1702B81F7AC00242A99 /* PBXTargetDependency */ = {
262334
isa = PBXTargetDependency;
263335
name = ClassDump;
@@ -266,6 +338,52 @@
266338
/* End PBXTargetDependency section */
267339

268340
/* Begin XCBuildConfiguration section */
341+
FA53C69C2B8BF70200FC1A15 /* Debug */ = {
342+
isa = XCBuildConfiguration;
343+
buildSettings = {
344+
CODE_SIGN_ENTITLEMENTS = HeaderViewerUITests/HeaderViewerUITests.entitlements;
345+
CODE_SIGN_STYLE = Automatic;
346+
CURRENT_PROJECT_VERSION = 1;
347+
DEVELOPMENT_TEAM = 7P56K8K4MY;
348+
GENERATE_INFOPLIST_FILE = YES;
349+
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
350+
MACOSX_DEPLOYMENT_TARGET = 13.0;
351+
MARKETING_VERSION = 1.0;
352+
PRODUCT_BUNDLE_IDENTIFIER = null.leptos.HeaderViewerUITests;
353+
PRODUCT_NAME = "$(TARGET_NAME)";
354+
SDKROOT = auto;
355+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
356+
SUPPORTS_MACCATALYST = NO;
357+
SWIFT_EMIT_LOC_STRINGS = NO;
358+
SWIFT_VERSION = 5.0;
359+
TARGETED_DEVICE_FAMILY = "1,2,7";
360+
TEST_TARGET_NAME = HeaderViewer;
361+
};
362+
name = Debug;
363+
};
364+
FA53C69D2B8BF70200FC1A15 /* Release */ = {
365+
isa = XCBuildConfiguration;
366+
buildSettings = {
367+
CODE_SIGN_ENTITLEMENTS = HeaderViewerUITests/HeaderViewerUITests.entitlements;
368+
CODE_SIGN_STYLE = Automatic;
369+
CURRENT_PROJECT_VERSION = 1;
370+
DEVELOPMENT_TEAM = 7P56K8K4MY;
371+
GENERATE_INFOPLIST_FILE = YES;
372+
IPHONEOS_DEPLOYMENT_TARGET = 16.0;
373+
MACOSX_DEPLOYMENT_TARGET = 13.0;
374+
MARKETING_VERSION = 1.0;
375+
PRODUCT_BUNDLE_IDENTIFIER = null.leptos.HeaderViewerUITests;
376+
PRODUCT_NAME = "$(TARGET_NAME)";
377+
SDKROOT = auto;
378+
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
379+
SUPPORTS_MACCATALYST = NO;
380+
SWIFT_EMIT_LOC_STRINGS = NO;
381+
SWIFT_VERSION = 5.0;
382+
TARGETED_DEVICE_FAMILY = "1,2,7";
383+
TEST_TARGET_NAME = HeaderViewer;
384+
};
385+
name = Release;
386+
};
269387
FAD662012B81D1220000D2A6 /* Debug */ = {
270388
isa = XCBuildConfiguration;
271389
buildSettings = {
@@ -465,6 +583,15 @@
465583
/* End XCBuildConfiguration section */
466584

467585
/* Begin XCConfigurationList section */
586+
FA53C69B2B8BF70200FC1A15 /* Build configuration list for PBXNativeTarget "HeaderViewerUITests" */ = {
587+
isa = XCConfigurationList;
588+
buildConfigurations = (
589+
FA53C69C2B8BF70200FC1A15 /* Debug */,
590+
FA53C69D2B8BF70200FC1A15 /* Release */,
591+
);
592+
defaultConfigurationIsVisible = 0;
593+
defaultConfigurationName = Release;
594+
};
468595
FAD661EF2B81D1210000D2A6 /* Build configuration list for PBXProject "HeaderViewer" */ = {
469596
isa = XCConfigurationList;
470597
buildConfigurations = (

0 commit comments

Comments
 (0)