Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup test with extension file #498

Merged
merged 7 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ xcuserdata/
## Compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
*.xcscmblueprint
*.xccheckout
*.xcscheme

## Compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
build/
Expand Down
142 changes: 141 additions & 1 deletion Scribe.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@
D12EB9C42C81C10900181765 /* HEInterfaceVariables.swift in Sources */ = {isa = PBXBuildFile; fileRef = D12EB9B92C81C0E700181765 /* HEInterfaceVariables.swift */; };
D12EB9C52C81C10900181765 /* HEInterfaceVariables.swift in Sources */ = {isa = PBXBuildFile; fileRef = D12EB9B92C81C0E700181765 /* HEInterfaceVariables.swift */; };
D1362A39274C106A00C00E48 /* ColorVariables.swift in Sources */ = {isa = PBXBuildFile; fileRef = D190B240274056D400705659 /* ColorVariables.swift */; };
D13E0DC92C86530E007F00AF /* TestExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = D13E0DC82C86530E007F00AF /* TestExtensions.swift */; };
D15E297F29E41B3B006B2C81 /* FRLanguageData.sqlite in Resources */ = {isa = PBXBuildFile; fileRef = D15E297E29E41B3B006B2C81 /* FRLanguageData.sqlite */; };
D15E298229E41B56006B2C81 /* DELanguageData.sqlite in Resources */ = {isa = PBXBuildFile; fileRef = D15E298129E41B56006B2C81 /* DELanguageData.sqlite */; };
D15E298429E41B74006B2C81 /* ITLanguageData.sqlite in Resources */ = {isa = PBXBuildFile; fileRef = D15E298329E41B74006B2C81 /* ITLanguageData.sqlite */; };
Expand Down Expand Up @@ -800,6 +801,13 @@
remoteGlobalIDString = D109A219275B68B3005E2271;
remoteInfo = Portuguese;
};
D13E0DCA2C86530E007F00AF /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 38BD212822D5907E00C6795D /* Project object */;
proxyType = 1;
remoteGlobalIDString = 38BD212F22D5907E00C6795D;
remoteInfo = Scribe;
};
D160866A270B6D3C00134D48 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 38BD212822D5907E00C6795D /* Project object */;
Expand Down Expand Up @@ -933,6 +941,8 @@
D111E9B927AFE7B200746F92 /* Annotate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Annotate.swift; sourceTree = "<group>"; };
D12EB9B92C81C0E700181765 /* HEInterfaceVariables.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HEInterfaceVariables.swift; sourceTree = "<group>"; };
D1362A37274C040F00C00E48 /* PRIVACY.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = PRIVACY.txt; sourceTree = "<group>"; };
D13E0DC62C86530E007F00AF /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
D13E0DC82C86530E007F00AF /* TestExtensions.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestExtensions.swift; sourceTree = "<group>"; };
D155AD282BDC6CC20075B18C /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text.yaml; path = .swiftlint.yml; sourceTree = "<group>"; };
D15E297E29E41B3B006B2C81 /* FRLanguageData.sqlite */ = {isa = PBXFileReference; lastKnownFileType = file; name = FRLanguageData.sqlite; path = Keyboards/LanguageKeyboards/French/FRLanguageData.sqlite; sourceTree = SOURCE_ROOT; };
D15E298129E41B56006B2C81 /* DELanguageData.sqlite */ = {isa = PBXFileReference; lastKnownFileType = file; path = DELanguageData.sqlite; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1061,6 +1071,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
D13E0DC32C86530E007F00AF /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
D1608662270B6D3C00134D48 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -1224,6 +1241,7 @@
D1362A37274C040F00C00E48 /* PRIVACY.txt */,
D190B29027426F4900705659 /* README.md */,
D155AD282BDC6CC20075B18C /* .swiftlint.yml */,
D13E0DC72C86530E007F00AF /* Tests */,
38BD213122D5907E00C6795D /* Products */,
D1A3EEED28F8D3EA00896C65 /* Frameworks */,
);
Expand All @@ -1246,6 +1264,7 @@
D1AFDF3D29CA66D00033BF27 /* English.appex */,
D1AFDFBA29CA66F40033BF27 /* Danish.appex */,
D1AFE01029CA6E900033BF27 /* Hebrew.appex */,
D13E0DC62C86530E007F00AF /* Tests.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -1336,6 +1355,30 @@
path = Portuguese;
sourceTree = "<group>";
};
D13E0DC72C86530E007F00AF /* Tests */ = {
isa = PBXGroup;
children = (
D13E0DD02C86531C007F00AF /* Keyboards */,
);
path = Tests;
sourceTree = "<group>";
};
D13E0DD02C86531C007F00AF /* Keyboards */ = {
isa = PBXGroup;
children = (
D13E0DD12C865323007F00AF /* KeyboardsBase */,
);
path = Keyboards;
sourceTree = "<group>";
};
D13E0DD12C865323007F00AF /* KeyboardsBase */ = {
isa = PBXGroup;
children = (
D13E0DC82C86530E007F00AF /* TestExtensions.swift */,
);
path = KeyboardsBase;
sourceTree = "<group>";
};
D1608666270B6D3C00134D48 /* Spanish */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -1667,6 +1710,24 @@
productReference = D109A21A275B68B3005E2271 /* Portuguese.appex */;
productType = "com.apple.product-type.app-extension";
};
D13E0DC52C86530E007F00AF /* Tests */ = {
isa = PBXNativeTarget;
buildConfigurationList = D13E0DCC2C86530E007F00AF /* Build configuration list for PBXNativeTarget "Tests" */;
buildPhases = (
D13E0DC22C86530E007F00AF /* Sources */,
D13E0DC32C86530E007F00AF /* Frameworks */,
D13E0DC42C86530E007F00AF /* Resources */,
);
buildRules = (
);
dependencies = (
D13E0DCB2C86530E007F00AF /* PBXTargetDependency */,
);
name = Tests;
productName = Tests;
productReference = D13E0DC62C86530E007F00AF /* Tests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
D1608664270B6D3C00134D48 /* Spanish */ = {
isa = PBXNativeTarget;
buildConfigurationList = D160866D270B6D3C00134D48 /* Build configuration list for PBXNativeTarget "Spanish" */;
Expand Down Expand Up @@ -1842,7 +1903,7 @@
isa = PBXProject;
attributes = {
BuildIndependentTargetsInParallel = YES;
LastSwiftUpdateCheck = 1420;
LastSwiftUpdateCheck = 1540;
LastUpgradeCheck = 1530;
ORGANIZATIONNAME = "";
TargetAttributes = {
Expand All @@ -1858,6 +1919,10 @@
D109A219275B68B3005E2271 = {
CreatedOnToolsVersion = 13.1;
};
D13E0DC52C86530E007F00AF = {
CreatedOnToolsVersion = 15.4;
TestTargetID = 38BD212F22D5907E00C6795D;
};
D1608664270B6D3C00134D48 = {
CreatedOnToolsVersion = 13.0;
};
Expand Down Expand Up @@ -1905,6 +1970,7 @@
D1671A5F275A1E8700A7C118 /* Russian */,
D1608664270B6D3C00134D48 /* Spanish */,
D18EA8982760D4A6001E1358 /* Swedish */,
D13E0DC52C86530E007F00AF /* Tests */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -1957,6 +2023,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
D13E0DC42C86530E007F00AF /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
D1608663270B6D3C00134D48 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -2336,6 +2409,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
D13E0DC22C86530E007F00AF /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D13E0DC92C86530E007F00AF /* TestExtensions.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
D1608661270B6D3C00134D48 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -2855,6 +2936,11 @@
target = D109A219275B68B3005E2271 /* Portuguese */;
targetProxy = D109A21F275B68B3005E2271 /* PBXContainerItemProxy */;
};
D13E0DCB2C86530E007F00AF /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 38BD212F22D5907E00C6795D /* Scribe */;
targetProxy = D13E0DCA2C86530E007F00AF /* PBXContainerItemProxy */;
};
D160866B270B6D3C00134D48 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = D1608664270B6D3C00134D48 /* Spanish */;
Expand Down Expand Up @@ -3279,6 +3365,51 @@
};
name = Release;
};
D13E0DCD2C86530E007F00AF /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = ATJ9U3WZ27;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.5;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = be.scri.Tests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Scribe.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Scribe";
};
name = Debug;
};
D13E0DCE2C86530E007F00AF /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = ATJ9U3WZ27;
GCC_C_LANGUAGE_STANDARD = gnu17;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 17.5;
LOCALIZATION_PREFERS_STRING_CATALOGS = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = be.scri.Tests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Scribe.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Scribe";
};
name = Release;
};
D160866E270B6D3C00134D48 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -3793,6 +3924,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D13E0DCC2C86530E007F00AF /* Build configuration list for PBXNativeTarget "Tests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D13E0DCD2C86530E007F00AF /* Debug */,
D13E0DCE2C86530E007F00AF /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D160866D270B6D3C00134D48 /* Build configuration list for PBXNativeTarget "Spanish" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
Loading