From 01988bb56903b6633164304ae08491b045f90685 Mon Sep 17 00:00:00 2001 From: David Feinzimer Date: Fri, 16 Feb 2024 15:27:26 -0800 Subject: [PATCH] Add test plans --- .../arcgis-runtime-toolkit-swift.xcscheme | 11 ++++++++- Examples/Examples.xcodeproj/project.pbxproj | 2 ++ Test Plans/UI Tests.xctestplan | 24 +++++++++++++++++++ Test Plans/Unit Tests.xctestplan | 24 +++++++++++++++++++ .../UI Test Runner.xcodeproj/project.pbxproj | 2 ++ 5 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 Test Plans/UI Tests.xctestplan create mode 100644 Test Plans/Unit Tests.xctestplan diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/arcgis-runtime-toolkit-swift.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/arcgis-runtime-toolkit-swift.xcscheme index ec08c65b0..73d753e5a 100644 --- a/.swiftpm/xcode/xcshareddata/xcschemes/arcgis-runtime-toolkit-swift.xcscheme +++ b/.swiftpm/xcode/xcshareddata/xcschemes/arcgis-runtime-toolkit-swift.xcscheme @@ -1,7 +1,7 @@ + version = "1.7"> @@ -69,6 +69,15 @@ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> + + + + + + diff --git a/Examples/Examples.xcodeproj/project.pbxproj b/Examples/Examples.xcodeproj/project.pbxproj index ea9fb25ea..53c14bed3 100644 --- a/Examples/Examples.xcodeproj/project.pbxproj +++ b/Examples/Examples.xcodeproj/project.pbxproj @@ -57,6 +57,7 @@ 75C37C9127BEDBD800FC9DCE /* BookmarksExampleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarksExampleView.swift; sourceTree = ""; }; 75D41B2A27C6F21400624D7C /* ScalebarExampleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScalebarExampleView.swift; sourceTree = ""; }; 882899FC2AB5099300A0BDC1 /* FlyoverExampleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FlyoverExampleView.swift; sourceTree = ""; }; + 8AA0A6732B80256900AE1DBE /* Unit Tests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; name = "Unit Tests.xctestplan"; path = "../Test Plans/Unit Tests.xctestplan"; sourceTree = ""; }; E42BFBE82672BF9500159107 /* SearchExampleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SearchExampleView.swift; sourceTree = ""; }; E4624A24278CE815000D2A38 /* FloorFilterExampleView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FloorFilterExampleView.swift; sourceTree = ""; }; E47ABE402652FE0900FD2FE3 /* Toolkit Examples.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Toolkit Examples.app"; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -120,6 +121,7 @@ E47ABE372652FE0900FD2FE3 = { isa = PBXGroup; children = ( + 8AA0A6732B80256900AE1DBE /* Unit Tests.xctestplan */, E47ABE622653005F00FD2FE3 /* arcgis-maps-sdk-swift-toolkit */, E47ABE562652FE7F00FD2FE3 /* Examples */, 752A4FC7294D26DC00A49479 /* Utility */, diff --git a/Test Plans/UI Tests.xctestplan b/Test Plans/UI Tests.xctestplan new file mode 100644 index 000000000..585f4bce5 --- /dev/null +++ b/Test Plans/UI Tests.xctestplan @@ -0,0 +1,24 @@ +{ + "configurations" : [ + { + "id" : "D1B46F89-B058-45BD-8F4D-56ED3D7039A5", + "name" : "Configuration 1", + "options" : { + + } + } + ], + "defaultOptions" : { + "testTimeoutsEnabled" : true + }, + "testTargets" : [ + { + "target" : { + "containerPath" : "container:UI Test Runner\/UI Test Runner.xcodeproj", + "identifier" : "7552A7682A573DFB0023DA5A", + "name" : "UITests" + } + } + ], + "version" : 1 +} diff --git a/Test Plans/Unit Tests.xctestplan b/Test Plans/Unit Tests.xctestplan new file mode 100644 index 000000000..d8225cdef --- /dev/null +++ b/Test Plans/Unit Tests.xctestplan @@ -0,0 +1,24 @@ +{ + "configurations" : [ + { + "id" : "0F3F2BD0-66A2-44B0-BC2D-AC2983DA8A71", + "name" : "Configuration 1", + "options" : { + + } + } + ], + "defaultOptions" : { + + }, + "testTargets" : [ + { + "target" : { + "containerPath" : "container:", + "identifier" : "ArcGISToolkitTests", + "name" : "ArcGISToolkitTests" + } + } + ], + "version" : 1 +} diff --git a/UI Test Runner/UI Test Runner.xcodeproj/project.pbxproj b/UI Test Runner/UI Test Runner.xcodeproj/project.pbxproj index 6aed7d7e0..203bba42e 100644 --- a/UI Test Runner/UI Test Runner.xcodeproj/project.pbxproj +++ b/UI Test Runner/UI Test Runner.xcodeproj/project.pbxproj @@ -53,6 +53,7 @@ 75B2366C2A5CC78C00AEFACE /* FloorFilterTestView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FloorFilterTestView.swift; sourceTree = ""; }; 75B2366E2A5CCADC00AEFACE /* FloorFilterTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FloorFilterTests.swift; sourceTree = ""; }; 75CCCD612A5F691E0098B059 /* UI Test Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "UI Test Runner.entitlements"; sourceTree = ""; }; + 8AA0A6742B8025F200AE1DBE /* UI Tests.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; name = "UI Tests.xctestplan"; path = "../Test Plans/UI Tests.xctestplan"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -77,6 +78,7 @@ 7552A7472A573CBB0023DA5A = { isa = PBXGroup; children = ( + 8AA0A6742B8025F200AE1DBE /* UI Tests.xctestplan */, 7552A7632A573DA00023DA5A /* Packages */, 7552A7522A573CBB0023DA5A /* UI Test Runner */, 7552A76A2A573DFB0023DA5A /* UITests */,