Skip to content

Commit

Permalink
remove ui tests folder
Browse files Browse the repository at this point in the history
  • Loading branch information
marandaneto committed Oct 18, 2023
1 parent 0a84be6 commit f770285
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 258 deletions.
1 change: 0 additions & 1 deletion .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
excluded: # case-sensitive paths to ignore during linting. Takes precedence over `included`
- PostHogExample
- PostHogExampleUITests
- PostHogTests
- PostHog/Recording
- PostHog/Utils/MethodSwizzler.swift
Expand Down
123 changes: 0 additions & 123 deletions PostHog.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
3AA34CFC296D951A003398F4 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AA34CFB296D951A003398F4 /* ContentView.swift */; };
3AA34CFE296D951B003398F4 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3AA34CFD296D951B003398F4 /* Assets.xcassets */; };
3AA34D01296D951B003398F4 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3AA34D00296D951B003398F4 /* Preview Assets.xcassets */; };
3AA34D0E296D9649003398F4 /* PostHogExampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AA34D0D296D9649003398F4 /* PostHogExampleUITests.swift */; };
3AA34D10296D9649003398F4 /* PostHogExampleUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AA34D0F296D9649003398F4 /* PostHogExampleUITestsLaunchTests.swift */; };
3AA34D17296D9993003398F4 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AA34D16296D9993003398F4 /* AppDelegate.swift */; };
3AB7330D29E420E400C8AA71 /* FeatureFlagsTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3AB7330C29E420E400C8AA71 /* FeatureFlagsTest.swift */; };
3AC745C0296D6FE60025C109 /* PostHog.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AC745B5296D6FE60025C109 /* PostHog.framework */; };
Expand Down Expand Up @@ -75,13 +73,6 @@
remoteGlobalIDString = 3AA34CF6296D951A003398F4;
remoteInfo = PostHogExample;
};
3AA34D11296D9649003398F4 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 3AC745AC296D6FE60025C109 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 3AA34CF6296D951A003398F4;
remoteInfo = PostHogExample;
};
3AC745C1296D6FE60025C109 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 3AC745AC296D6FE60025C109 /* Project object */;
Expand Down Expand Up @@ -127,9 +118,6 @@
3AA34CFB296D951A003398F4 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
3AA34CFD296D951B003398F4 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
3AA34D00296D951B003398F4 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = "<group>"; };
3AA34D0B296D9649003398F4 /* PostHogExampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PostHogExampleUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3AA34D0D296D9649003398F4 /* PostHogExampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PostHogExampleUITests.swift; sourceTree = "<group>"; };
3AA34D0F296D9649003398F4 /* PostHogExampleUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PostHogExampleUITestsLaunchTests.swift; sourceTree = "<group>"; };
3AA34D16296D9993003398F4 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
3AAFB13129C0C699004F485B /* Package.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
3AB7330C29E420E400C8AA71 /* FeatureFlagsTest.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FeatureFlagsTest.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -167,13 +155,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
3AA34D08296D9649003398F4 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
3AC745B2296D6FE60025C109 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -240,15 +221,6 @@
path = "Preview Content";
sourceTree = "<group>";
};
3AA34D0C296D9649003398F4 /* PostHogExampleUITests */ = {
isa = PBXGroup;
children = (
3AA34D0D296D9649003398F4 /* PostHogExampleUITests.swift */,
3AA34D0F296D9649003398F4 /* PostHogExampleUITestsLaunchTests.swift */,
);
path = PostHogExampleUITests;
sourceTree = "<group>";
};
3AA4C09B2988315D006C4731 /* Utils */ = {
isa = PBXGroup;
children = (
Expand All @@ -272,7 +244,6 @@
3AC745B7296D6FE60025C109 /* PostHog */,
3AC745C3296D6FE60025C109 /* PostHogTests */,
3AA34CF8296D951A003398F4 /* PostHogExample */,
3AA34D0C296D9649003398F4 /* PostHogExampleUITests */,
3AC745B6296D6FE60025C109 /* Products */,
69261D152AD92D6C00232EC7 /* Frameworks */,
);
Expand All @@ -284,7 +255,6 @@
3AC745B5296D6FE60025C109 /* PostHog.framework */,
3AC745BF296D6FE60025C109 /* PostHogTests.xctest */,
3AA34CF7296D951A003398F4 /* PostHogExample.app */,
3AA34D0B296D9649003398F4 /* PostHogExampleUITests.xctest */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -367,24 +337,6 @@
productReference = 3AA34CF7296D951A003398F4 /* PostHogExample.app */;
productType = "com.apple.product-type.application";
};
3AA34D0A296D9649003398F4 /* PostHogExampleUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = 3AA34D13296D9649003398F4 /* Build configuration list for PBXNativeTarget "PostHogExampleUITests" */;
buildPhases = (
3AA34D07296D9649003398F4 /* Sources */,
3AA34D08296D9649003398F4 /* Frameworks */,
3AA34D09296D9649003398F4 /* Resources */,
);
buildRules = (
);
dependencies = (
3AA34D12296D9649003398F4 /* PBXTargetDependency */,
);
name = PostHogExampleUITests;
productName = PostHogExampleUITests;
productReference = 3AA34D0B296D9649003398F4 /* PostHogExampleUITests.xctest */;
productType = "com.apple.product-type.bundle.ui-testing";
};
3AC745B4296D6FE60025C109 /* PostHog */ = {
isa = PBXNativeTarget;
buildConfigurationList = 3AC745C9296D6FE60025C109 /* Build configuration list for PBXNativeTarget "PostHog" */;
Expand Down Expand Up @@ -444,10 +396,6 @@
3AA34CF6296D951A003398F4 = {
CreatedOnToolsVersion = 14.2;
};
3AA34D0A296D9649003398F4 = {
CreatedOnToolsVersion = 14.2;
TestTargetID = 3AA34CF6296D951A003398F4;
};
3AC745B4296D6FE60025C109 = {
CreatedOnToolsVersion = 14.2;
LastSwiftMigration = 1420;
Expand Down Expand Up @@ -480,7 +428,6 @@
3AC745B4296D6FE60025C109 /* PostHog */,
3AC745BE296D6FE60025C109 /* PostHogTests */,
3AA34CF6296D951A003398F4 /* PostHogExample */,
3AA34D0A296D9649003398F4 /* PostHogExampleUITests */,
);
};
/* End PBXProject section */
Expand All @@ -495,13 +442,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
3AA34D09296D9649003398F4 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
3AC745B3296D6FE60025C109 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -531,15 +471,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
3AA34D07296D9649003398F4 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
3AA34D0E296D9649003398F4 /* PostHogExampleUITests.swift in Sources */,
3AA34D10296D9649003398F4 /* PostHogExampleUITestsLaunchTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
3AC745B1296D6FE60025C109 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -599,11 +530,6 @@
target = 3AA34CF6296D951A003398F4 /* PostHogExample */;
targetProxy = 3AA34D05296D9523003398F4 /* PBXContainerItemProxy */;
};
3AA34D12296D9649003398F4 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 3AA34CF6296D951A003398F4 /* PostHogExample */;
targetProxy = 3AA34D11296D9649003398F4 /* PBXContainerItemProxy */;
};
3AC745C2296D6FE60025C109 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 3AC745B4296D6FE60025C109 /* PostHog */;
Expand Down Expand Up @@ -670,46 +596,6 @@
};
name = Release;
};
3AA34D14296D9649003398F4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = PNC2XCH2XP;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.posthog.PostHogExampleUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = PostHogExample;
TVOS_DEPLOYMENT_TARGET = 13.0;
};
name = Debug;
};
3AA34D15296D9649003398F4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = PNC2XCH2XP;
GENERATE_INFOPLIST_FILE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.posthog.PostHogExampleUITests;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_EMIT_LOC_STRINGS = NO;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
TEST_TARGET_NAME = PostHogExample;
TVOS_DEPLOYMENT_TARGET = 13.0;
};
name = Release;
};
3AC745C7296D6FE60025C109 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
Expand Down Expand Up @@ -983,15 +869,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
3AA34D13296D9649003398F4 /* Build configuration list for PBXNativeTarget "PostHogExampleUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
3AA34D14296D9649003398F4 /* Debug */,
3AA34D15296D9649003398F4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
3AC745AF296D6FE60025C109 /* Build configuration list for PBXProject "PostHog" */ = {
isa = XCConfigurationList;
buildConfigurations = (
Expand Down
50 changes: 0 additions & 50 deletions PostHog.xcodeproj/xcshareddata/xcschemes/PostHogExample.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,6 @@
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3AA34D0A296D9649003398F4"
BuildableName = "PostHogExampleUITests.xctest"
BlueprintName = "PostHogExampleUITests"
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3AC745BE296D6FE60025C109"
BuildableName = "PostHogTests.xctest"
BlueprintName = "PostHogTests"
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand All @@ -56,28 +28,6 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3AC745BE296D6FE60025C109"
BuildableName = "PostHogTests.xctest"
BlueprintName = "PostHogTests"
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO"
parallelizable = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3AA34D0A296D9649003398F4"
BuildableName = "PostHogExampleUITests.xctest"
BlueprintName = "PostHogExampleUITests"
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
16 changes: 3 additions & 13 deletions PostHog.xcodeproj/xcshareddata/xcschemes/PostHogTests.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "NO">
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<AutocreatedTestPlanReference>
</AutocreatedTestPlanReference>
</BuildActionEntry>
Expand Down Expand Up @@ -47,16 +47,6 @@
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3AA34CF6296D951A003398F4"
BuildableName = "PostHogExample.app"
BlueprintName = "PostHogExample"
ReferencedContainer = "container:PostHog.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
Expand Down
40 changes: 0 additions & 40 deletions PostHogExampleUITests/PostHogExampleUITests.swift

This file was deleted.

Loading

0 comments on commit f770285

Please sign in to comment.