unit tests

This commit is contained in:
2026-05-24 20:40:25 +02:00
parent 857db7501d
commit 2346ca1b49
7 changed files with 427 additions and 12 deletions
+137 -1
View File
@@ -6,8 +6,19 @@
objectVersion = 77;
objects = {
/* Begin PBXContainerItemProxy section */
47D771C32FC2141600C4C002 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 479E819F2DD09F9400B82386 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 479E81A62DD09F9400B82386;
remoteInfo = Peered;
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
479E81A72DD09F9400B82386 /* Peered.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Peered.app; sourceTree = BUILT_PRODUCTS_DIR; };
47D771BF2FC2141600C4C002 /* PeeredTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PeeredTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
/* End PBXFileReference section */
/* Begin PBXFileSystemSynchronizedBuildFileExceptionSet section */
@@ -29,6 +40,11 @@
path = Peered;
sourceTree = "<group>";
};
47D771C02FC2141600C4C002 /* PeeredTests */ = {
isa = PBXFileSystemSynchronizedRootGroup;
path = PeeredTests;
sourceTree = "<group>";
};
/* End PBXFileSystemSynchronizedRootGroup section */
/* Begin PBXFrameworksBuildPhase section */
@@ -39,6 +55,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
47D771BC2FC2141600C4C002 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
@@ -46,6 +69,7 @@
isa = PBXGroup;
children = (
479E81A92DD09F9400B82386 /* Peered */,
47D771C02FC2141600C4C002 /* PeeredTests */,
479E81A82DD09F9400B82386 /* Products */,
);
sourceTree = "<group>";
@@ -54,6 +78,7 @@
isa = PBXGroup;
children = (
479E81A72DD09F9400B82386 /* Peered.app */,
47D771BF2FC2141600C4C002 /* PeeredTests.xctest */,
);
name = Products;
sourceTree = "<group>";
@@ -83,6 +108,29 @@
productReference = 479E81A72DD09F9400B82386 /* Peered.app */;
productType = "com.apple.product-type.application";
};
47D771BE2FC2141600C4C002 /* PeeredTests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 47D771C52FC2141600C4C002 /* Build configuration list for PBXNativeTarget "PeeredTests" */;
buildPhases = (
47D771BB2FC2141600C4C002 /* Sources */,
47D771BC2FC2141600C4C002 /* Frameworks */,
47D771BD2FC2141600C4C002 /* Resources */,
);
buildRules = (
);
dependencies = (
47D771C42FC2141600C4C002 /* PBXTargetDependency */,
);
fileSystemSynchronizedGroups = (
47D771C02FC2141600C4C002 /* PeeredTests */,
);
name = PeeredTests;
packageProductDependencies = (
);
productName = PeeredTests;
productReference = 47D771BF2FC2141600C4C002 /* PeeredTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
@@ -90,12 +138,16 @@
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = 1;
LastSwiftUpdateCheck = 1630;
LastSwiftUpdateCheck = 2650;
LastUpgradeCheck = 1640;
TargetAttributes = {
479E81A62DD09F9400B82386 = {
CreatedOnToolsVersion = 16.3;
};
47D771BE2FC2141600C4C002 = {
CreatedOnToolsVersion = 26.5;
TestTargetID = 479E81A62DD09F9400B82386;
};
};
};
buildConfigurationList = 479E81A22DD09F9400B82386 /* Build configuration list for PBXProject "Peered" */;
@@ -113,6 +165,7 @@
projectRoot = "";
targets = (
479E81A62DD09F9400B82386 /* Peered */,
47D771BE2FC2141600C4C002 /* PeeredTests */,
);
};
/* End PBXProject section */
@@ -125,6 +178,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
47D771BD2FC2141600C4C002 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
@@ -135,8 +195,23 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
47D771BB2FC2141600C4C002 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
47D771C42FC2141600C4C002 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 479E81A62DD09F9400B82386 /* Peered */;
targetProxy = 47D771C32FC2141600C4C002 /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
479E81C72DD09F9500B82386 /* Debug */ = {
isa = XCBuildConfiguration;
@@ -364,6 +439,58 @@
};
name = Release;
};
47D771C62FC2141600C4C002 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = LTFJ368N25;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 26.5;
MACOSX_DEPLOYMENT_TARGET = 26.5;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = me.oschly.PeeredTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
STRING_CATALOG_GENERATE_SYMBOLS = NO;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,7";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Peered.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Peered";
XROS_DEPLOYMENT_TARGET = 26.5;
};
name = Debug;
};
47D771C72FC2141600C4C002 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = LTFJ368N25;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 26.5;
MACOSX_DEPLOYMENT_TARGET = 26.5;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = me.oschly.PeeredTests;
PRODUCT_NAME = "$(TARGET_NAME)";
SDKROOT = auto;
STRING_CATALOG_GENERATE_SYMBOLS = NO;
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx xros xrsimulator";
SWIFT_APPROACHABLE_CONCURRENCY = YES;
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_UPCOMING_FEATURE_MEMBER_IMPORT_VISIBILITY = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2,7";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Peered.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Peered";
XROS_DEPLOYMENT_TARGET = 26.5;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
@@ -385,6 +512,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
47D771C52FC2141600C4C002 /* Build configuration list for PBXNativeTarget "PeeredTests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
47D771C62FC2141600C4C002 /* Debug */,
47D771C72FC2141600C4C002 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 479E819F2DD09F9400B82386 /* Project object */;