diff --git a/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginAuthIntegrationTests/AWSDataStoreCategoryPluginAuthIntegrationTests.swift b/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginAuthIntegrationTests/AWSDataStoreCategoryPluginAuthIntegrationTests.swift
new file mode 100644
index 0000000000..b61baee3b8
--- /dev/null
+++ b/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginAuthIntegrationTests/AWSDataStoreCategoryPluginAuthIntegrationTests.swift
@@ -0,0 +1,32 @@
+//
+// Copyright 2018-2020 Amazon.com,
+// Inc. or its affiliates. All Rights Reserved.
+//
+// SPDX-License-Identifier: Apache-2.0
+//
+
+import XCTest
+
+class AWSDataStoreCategoryPluginAuthIntegrationTests: XCTestCase {
+
+ override func setUp() {
+ // Put setup code here. This method is called before the invocation of each test method in the class.
+ }
+
+ override func tearDown() {
+ // Put teardown code here. This method is called after the invocation of each test method in the class.
+ }
+
+ func testExample() {
+ // This is an example of a functional test case.
+ // Use XCTAssert and related functions to verify your tests produce the correct results.
+ }
+
+ func testPerformanceExample() {
+ // This is an example of a performance test case.
+ measure {
+ // Put the code you want to measure the time of here.
+ }
+ }
+
+}
diff --git a/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginAuthIntegrationTests/Info.plist b/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginAuthIntegrationTests/Info.plist
new file mode 100644
index 0000000000..64d65ca495
--- /dev/null
+++ b/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginAuthIntegrationTests/Info.plist
@@ -0,0 +1,22 @@
+
+
+
+
+ CFBundleDevelopmentRegion
+ $(DEVELOPMENT_LANGUAGE)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ $(PRODUCT_BUNDLE_PACKAGE_TYPE)
+ CFBundleShortVersionString
+ 1.0
+ CFBundleVersion
+ 1
+
+
diff --git a/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginAuthIntegrationTests/README.md b/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginAuthIntegrationTests/README.md
new file mode 100644
index 0000000000..c60846342e
--- /dev/null
+++ b/AmplifyPlugins/DataStore/AWSDataStoreCategoryPluginAuthIntegrationTests/README.md
@@ -0,0 +1,6 @@
+## DataStore with Auth Integration Tests
+
+The following steps demonstrate how to set up an GraphQL endpoint with AppSync.
+The auth configured will be Cognito UserPools.
+This set up is used to run the tests in `AWSDataStoreCategoryPluginAuthIntegrationTests.swift`.
+
diff --git a/AmplifyPlugins/DataStore/DataStoreCategoryPlugin.xcodeproj/project.pbxproj b/AmplifyPlugins/DataStore/DataStoreCategoryPlugin.xcodeproj/project.pbxproj
index 66e167ae05..2547b304b8 100644
--- a/AmplifyPlugins/DataStore/DataStoreCategoryPlugin.xcodeproj/project.pbxproj
+++ b/AmplifyPlugins/DataStore/DataStoreCategoryPlugin.xcodeproj/project.pbxproj
@@ -10,9 +10,14 @@
08CDDE1B95AB6381CC206339 /* Pods_AWSDataStoreCategoryPlugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 64CD158FEB5A00387A5194DB /* Pods_AWSDataStoreCategoryPlugin.framework */; };
0DA38963A6DD53AF9BCDFC68 /* Pods_AWSDataStoreCategoryPlugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6CF3060AE9E227813325029F /* Pods_AWSDataStoreCategoryPlugin.framework */; };
1CB256DB1E49BBEF19B0DE8C /* Pods_AWSDataStoreCategoryPlugin_AWSDataStoreCategoryPluginTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 901B53EACEE953021704BB41 /* Pods_AWSDataStoreCategoryPlugin_AWSDataStoreCategoryPluginTests.framework */; };
+ 21233DD8247591D100039337 /* amplifyconfiguration.json in Resources */ = {isa = PBXBuildFile; fileRef = 21233DD7247591D100039337 /* amplifyconfiguration.json */; };
+ 21233DE02475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21233DDF2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests.swift */; };
+ 21233DE22475935600039337 /* AWSDataStoreCategoryPlugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2149E59B238867E100873955 /* AWSDataStoreCategoryPlugin.framework */; };
+ 21233DEE2475AF6300039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-amplifyconfiguration.json in Resources */ = {isa = PBXBuildFile; fileRef = 21233DED2475AF6300039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-amplifyconfiguration.json */; };
+ 21233DF02475AF6A00039337 /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 21233DEF2475AF6A00039337 /* README.md */; };
+ 21233DF22475AFC900039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-credentials.json in Resources */ = {isa = PBXBuildFile; fileRef = 21233DF12475AFC900039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-credentials.json */; };
2129BE4A23948A97006363A1 /* StorageAdapterMutationSyncTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2129BE4923948A97006363A1 /* StorageAdapterMutationSyncTests.swift */; };
213481BF24213E14001966DE /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 213481BE24213E13001966DE /* README.md */; };
- 213481C5242140BE001966DE /* amplifyconfiguration.json in Resources */ = {isa = PBXBuildFile; fileRef = 213481C4242140BE001966DE /* amplifyconfiguration.json */; };
213481D4242ABA86001966DE /* ProcessMutationErrorFromCloudOperation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 213481D3242ABA86001966DE /* ProcessMutationErrorFromCloudOperation.swift */; };
2149E5C52388684F00873955 /* StorageEngineBehavior.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2149E5A82388684F00873955 /* StorageEngineBehavior.swift */; };
2149E5C62388684F00873955 /* StorageEngineAdapter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2149E5A92388684F00873955 /* StorageEngineAdapter.swift */; };
@@ -49,6 +54,7 @@
2149E62223886CEE00873955 /* AWSDataStoreCategoryPlugin.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2149E59B238867E100873955 /* AWSDataStoreCategoryPlugin.framework */; };
2149E62D23886D3900873955 /* SyncMetadataTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2149E62B23886D3900873955 /* SyncMetadataTests.swift */; };
21B3AD27242BB58000C7E1DA /* ProcessMutationErrorFromCloudOperationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21B3AD26242BB58000C7E1DA /* ProcessMutationErrorFromCloudOperationTests.swift */; };
+ 3808ED8C8D20C6D7C89358CB /* Pods_HostApp_AWSDataStoreCategoryPluginAuthIntegrationTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 575857DEEC21C1866B9185A4 /* Pods_HostApp_AWSDataStoreCategoryPluginAuthIntegrationTests.framework */; };
63499C67A1A6711637CD08AD /* Pods_HostApp.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 715777CA4DC182BC96B88C19 /* Pods_HostApp.framework */; };
65681A029CC7068D348C585E /* Pods_HostApp_AWSDataStoreCategoryPluginIntegrationTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 78D7B65396B17E57FDE99E6D /* Pods_HostApp_AWSDataStoreCategoryPluginIntegrationTests.framework */; };
6B01B71D23A4615900AD0E97 /* SyncMutationToCloudOperationTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B01B71C23A4615900AD0E97 /* SyncMutationToCloudOperationTests.swift */; };
@@ -156,6 +162,20 @@
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
+ 21233DE32475935600039337 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 2149E592238867E100873955 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 2149E59A238867E100873955;
+ remoteInfo = AWSDataStoreCategoryPlugin;
+ };
+ 21233DE82475936700039337 /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 2149E592238867E100873955 /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 2149E60423886C7B00873955;
+ remoteInfo = HostApp;
+ };
2149E5E92388692E00873955 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 2149E592238867E100873955 /* Project object */;
@@ -181,9 +201,15 @@
/* Begin PBXFileReference section */
18669A1BE454F2AE676FBEA4 /* Pods-HostApp-AWSDataStoreCategoryPluginIntegrationTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HostApp-AWSDataStoreCategoryPluginIntegrationTests.release.xcconfig"; path = "Target Support Files/Pods-HostApp-AWSDataStoreCategoryPluginIntegrationTests/Pods-HostApp-AWSDataStoreCategoryPluginIntegrationTests.release.xcconfig"; sourceTree = ""; };
+ 21233DD7247591D100039337 /* amplifyconfiguration.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = amplifyconfiguration.json; sourceTree = ""; };
+ 21233DDD2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AWSDataStoreCategoryPluginAuthIntegrationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
+ 21233DDF2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AWSDataStoreCategoryPluginAuthIntegrationTests.swift; sourceTree = ""; };
+ 21233DE12475935600039337 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ 21233DED2475AF6300039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-amplifyconfiguration.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "AWSDataStoreCategoryPluginAuthIntegrationTests-amplifyconfiguration.json"; sourceTree = ""; };
+ 21233DEF2475AF6A00039337 /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; };
+ 21233DF12475AFC900039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-credentials.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "AWSDataStoreCategoryPluginAuthIntegrationTests-credentials.json"; sourceTree = ""; };
2129BE4923948A97006363A1 /* StorageAdapterMutationSyncTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = StorageAdapterMutationSyncTests.swift; sourceTree = ""; };
213481BE24213E13001966DE /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; };
- 213481C4242140BE001966DE /* amplifyconfiguration.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = amplifyconfiguration.json; sourceTree = ""; };
213481D3242ABA86001966DE /* ProcessMutationErrorFromCloudOperation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProcessMutationErrorFromCloudOperation.swift; sourceTree = ""; };
2149E59B238867E100873955 /* AWSDataStoreCategoryPlugin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = AWSDataStoreCategoryPlugin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
2149E5A82388684F00873955 /* StorageEngineBehavior.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StorageEngineBehavior.swift; sourceTree = ""; };
@@ -226,9 +252,11 @@
2149E62123886CEE00873955 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
2149E62B23886D3900873955 /* SyncMetadataTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SyncMetadataTests.swift; sourceTree = ""; };
21B3AD26242BB58000C7E1DA /* ProcessMutationErrorFromCloudOperationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProcessMutationErrorFromCloudOperationTests.swift; sourceTree = ""; };
+ 2579CC5CDF970194E62AAB06 /* Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.debug.xcconfig"; path = "Target Support Files/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.debug.xcconfig"; sourceTree = ""; };
2F7EE0BE289FD9000DB970AB /* Pods-AWSDataStoreCategoryPlugin.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AWSDataStoreCategoryPlugin.release.xcconfig"; path = "Target Support Files/Pods-AWSDataStoreCategoryPlugin/Pods-AWSDataStoreCategoryPlugin.release.xcconfig"; sourceTree = ""; };
4402752860B9CC02A9A6BD8E /* Pods_AWSDataStoreCategoryPlugin_AWSDataStoreCategoryPluginTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AWSDataStoreCategoryPlugin_AWSDataStoreCategoryPluginTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
44F4E761D163EA71F74685F7 /* Pods-AWSDataStoreCategoryPlugin-AWSDataStoreCategoryPluginTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AWSDataStoreCategoryPlugin-AWSDataStoreCategoryPluginTests.debug.xcconfig"; path = "Target Support Files/Pods-AWSDataStoreCategoryPlugin-AWSDataStoreCategoryPluginTests/Pods-AWSDataStoreCategoryPlugin-AWSDataStoreCategoryPluginTests.debug.xcconfig"; sourceTree = ""; };
+ 575857DEEC21C1866B9185A4 /* Pods_HostApp_AWSDataStoreCategoryPluginAuthIntegrationTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HostApp_AWSDataStoreCategoryPluginAuthIntegrationTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
64CD158FEB5A00387A5194DB /* Pods_AWSDataStoreCategoryPlugin.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AWSDataStoreCategoryPlugin.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6B01B71C23A4615900AD0E97 /* SyncMutationToCloudOperationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SyncMutationToCloudOperationTests.swift; sourceTree = ""; };
6B01B71E23A4672500AD0E97 /* RequestRetryable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RequestRetryable.swift; sourceTree = ""; };
@@ -273,6 +301,7 @@
B9E010E3239167E000DCE8C8 /* TestModelRegistration.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestModelRegistration.swift; sourceTree = ""; };
B9FAA13F238C600A009414B4 /* ListTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ListTests.swift; sourceTree = ""; };
B9FAA141238C6082009414B4 /* BaseDataStoreTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BaseDataStoreTests.swift; sourceTree = ""; };
+ C5AAB88D0D658A7531FC0244 /* Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.release.xcconfig"; path = "Target Support Files/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.release.xcconfig"; sourceTree = ""; };
CD06D94E36718128AEAB1BAB /* Pods-AWSDataStoreCategoryPlugin.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AWSDataStoreCategoryPlugin.debug.xcconfig"; path = "Target Support Files/Pods-AWSDataStoreCategoryPlugin/Pods-AWSDataStoreCategoryPlugin.debug.xcconfig"; sourceTree = ""; };
F15A47E1AA494DF5B39514BC /* Pods_HostApp_AWSDataStoreCategoryPluginIntegrationTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_HostApp_AWSDataStoreCategoryPluginIntegrationTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
FA0427C72396C27400D25AB0 /* SyncEngineStartupTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SyncEngineStartupTests.swift; sourceTree = ""; };
@@ -343,6 +372,15 @@
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
+ 21233DDA2475935600039337 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 21233DE22475935600039337 /* AWSDataStoreCategoryPlugin.framework in Frameworks */,
+ 3808ED8C8D20C6D7C89358CB /* Pods_HostApp_AWSDataStoreCategoryPluginAuthIntegrationTests.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
2149E598238867E100873955 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
@@ -384,12 +422,25 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ 21233DDE2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests */ = {
+ isa = PBXGroup;
+ children = (
+ 21233DED2475AF6300039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-amplifyconfiguration.json */,
+ 21233DF12475AFC900039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-credentials.json */,
+ 21233DDF2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests.swift */,
+ 21233DE12475935600039337 /* Info.plist */,
+ 21233DEF2475AF6A00039337 /* README.md */,
+ );
+ path = AWSDataStoreCategoryPluginAuthIntegrationTests;
+ sourceTree = "";
+ };
2149E591238867E100873955 = {
isa = PBXGroup;
children = (
2149E5A62388684F00873955 /* AWSDataStoreCategoryPlugin */,
2149E5E42388692E00873955 /* AWSDataStoreCategoryPluginTests */,
2149E61E23886CEE00873955 /* AWSDataStoreCategoryPluginIntegrationTests */,
+ 21233DDE2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests */,
2149E60623886C7B00873955 /* HostApp */,
9B5889A231ECAD33B03B5DF6 /* Pods */,
2149E59C238867E100873955 /* Products */,
@@ -405,6 +456,7 @@
2149E5E32388692E00873955 /* AWSDataStoreCategoryPluginTests.xctest */,
2149E60523886C7B00873955 /* HostApp.app */,
2149E61D23886CEE00873955 /* AWSDataStoreCategoryPluginIntegrationTests.xctest */,
+ 21233DDD2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests.xctest */,
);
name = Products;
sourceTree = "";
@@ -529,7 +581,7 @@
2149E61E23886CEE00873955 /* AWSDataStoreCategoryPluginIntegrationTests */ = {
isa = PBXGroup;
children = (
- FAE414662399CD0C00CE94C2 /* Config */,
+ 21233DD7247591D100039337 /* amplifyconfiguration.json */,
FAB571412395A3E80006A5F8 /* DataStoreEndToEndTests.swift */,
2149E62123886CEE00873955 /* Info.plist */,
213481BE24213E13001966DE /* README.md */,
@@ -547,6 +599,7 @@
4402752860B9CC02A9A6BD8E /* Pods_AWSDataStoreCategoryPlugin_AWSDataStoreCategoryPluginTests.framework */,
715777CA4DC182BC96B88C19 /* Pods_HostApp.framework */,
F15A47E1AA494DF5B39514BC /* Pods_HostApp_AWSDataStoreCategoryPluginIntegrationTests.framework */,
+ 575857DEEC21C1866B9185A4 /* Pods_HostApp_AWSDataStoreCategoryPluginAuthIntegrationTests.framework */,
);
name = Frameworks;
sourceTree = "";
@@ -562,6 +615,8 @@
AA98AF8502498A6DD04B5B9D /* Pods-HostApp.release.xcconfig */,
86DD2C7F81D8956DF18EB8DB /* Pods-HostApp-AWSDataStoreCategoryPluginIntegrationTests.debug.xcconfig */,
18669A1BE454F2AE676FBEA4 /* Pods-HostApp-AWSDataStoreCategoryPluginIntegrationTests.release.xcconfig */,
+ 2579CC5CDF970194E62AAB06 /* Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.debug.xcconfig */,
+ C5AAB88D0D658A7531FC0244 /* Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.release.xcconfig */,
);
path = Pods;
sourceTree = "";
@@ -746,14 +801,6 @@
path = SubscriptionSync;
sourceTree = "";
};
- FAE414662399CD0C00CE94C2 /* Config */ = {
- isa = PBXGroup;
- children = (
- 213481C4242140BE001966DE /* amplifyconfiguration.json */,
- );
- path = Config;
- sourceTree = "";
- };
FAE4146D239AA44400CE94C2 /* Support */ = {
isa = PBXGroup;
children = (
@@ -819,6 +866,29 @@
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
+ 21233DDC2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 21233DE52475935600039337 /* Build configuration list for PBXNativeTarget "AWSDataStoreCategoryPluginAuthIntegrationTests" */;
+ buildPhases = (
+ 59FCB223260E328206F1E047 /* [CP] Check Pods Manifest.lock */,
+ 21233DD92475935600039337 /* Sources */,
+ 21233DEB2475939D00039337 /* SwiftFormat */,
+ 21233DEC247593A600039337 /* SwiftLint */,
+ 21233DDA2475935600039337 /* Frameworks */,
+ 21233DDB2475935600039337 /* Resources */,
+ A1376C8453CABC03F7CF0C11 /* [CP] Embed Pods Frameworks */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 21233DE42475935600039337 /* PBXTargetDependency */,
+ 21233DE92475936700039337 /* PBXTargetDependency */,
+ );
+ name = AWSDataStoreCategoryPluginAuthIntegrationTests;
+ productName = AWSDataStoreCategoryPluginAuthIntegrationTests;
+ productReference = 21233DDD2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
2149E59A238867E100873955 /* AWSDataStoreCategoryPlugin */ = {
isa = PBXNativeTarget;
buildConfigurationList = 2149E5A3238867E100873955 /* Build configuration list for PBXNativeTarget "AWSDataStoreCategoryPlugin" */;
@@ -910,10 +980,14 @@
2149E592238867E100873955 /* Project object */ = {
isa = PBXProject;
attributes = {
- LastSwiftUpdateCheck = 1120;
+ LastSwiftUpdateCheck = 1130;
LastUpgradeCheck = 1120;
ORGANIZATIONNAME = "Amazon Web Services";
TargetAttributes = {
+ 21233DDC2475935600039337 = {
+ CreatedOnToolsVersion = 11.3.1;
+ TestTargetID = 2149E60423886C7B00873955;
+ };
2149E59A238867E100873955 = {
CreatedOnToolsVersion = 11.2.1;
};
@@ -947,12 +1021,23 @@
2149E59A238867E100873955 /* AWSDataStoreCategoryPlugin */,
2149E5E22388692E00873955 /* AWSDataStoreCategoryPluginTests */,
2149E61C23886CEE00873955 /* AWSDataStoreCategoryPluginIntegrationTests */,
+ 21233DDC2475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests */,
2149E60423886C7B00873955 /* HostApp */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
+ 21233DDB2475935600039337 /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 21233DF22475AFC900039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-credentials.json in Resources */,
+ 21233DF02475AF6A00039337 /* README.md in Resources */,
+ 21233DEE2475AF6300039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests-amplifyconfiguration.json in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
2149E599238867E100873955 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@@ -982,7 +1067,7 @@
buildActionMask = 2147483647;
files = (
213481BF24213E14001966DE /* README.md in Resources */,
- 213481C5242140BE001966DE /* amplifyconfiguration.json in Resources */,
+ 21233DD8247591D100039337 /* amplifyconfiguration.json in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1033,6 +1118,42 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
+ 21233DEB2475939D00039337 /* SwiftFormat */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ name = SwiftFormat;
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/SwiftFormat/CommandLineTool/swiftformat\" --swiftversion \"$SWIFT_VERSION\" --config \"${SRCROOT}/../../.swiftformat\" \"${SRCROOT}/${PRODUCT_NAME}\"\n";
+ };
+ 21233DEC247593A600039337 /* SwiftLint */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ );
+ name = SwiftLint;
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/SwiftLint/swiftlint\" --config \"${SRCROOT}/../../.swiftlint.yml\" --path \"${SRCROOT}/${PRODUCT_NAME}\"\n";
+ };
2149E62E23886EBA00873955 /* Swift Lint */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -1086,6 +1207,28 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HostApp/Pods-HostApp-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
+ 59FCB223260E328206F1E047 /* [CP] Check Pods Manifest.lock */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ );
+ inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
+ );
+ name = "[CP] Check Pods Manifest.lock";
+ outputFileListPaths = (
+ );
+ outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests-checkManifestLockResult.txt",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
+ showEnvVarsInLog = 0;
+ };
85DA96279C68FE5809B48B1B /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -1108,6 +1251,23 @@
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
showEnvVarsInLog = 0;
};
+ A1376C8453CABC03F7CF0C11 /* [CP] Embed Pods Frameworks */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests-frameworks-${CONFIGURATION}-input-files.xcfilelist",
+ );
+ name = "[CP] Embed Pods Frameworks";
+ outputFileListPaths = (
+ "${PODS_ROOT}/Target Support Files/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests-frameworks-${CONFIGURATION}-output-files.xcfilelist",
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests/Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests-frameworks.sh\"\n";
+ showEnvVarsInLog = 0;
+ };
C01946720C8E68541B329579 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@@ -1239,6 +1399,14 @@
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
+ 21233DD92475935600039337 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 21233DE02475935600039337 /* AWSDataStoreCategoryPluginAuthIntegrationTests.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
2149E597238867E100873955 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
@@ -1401,6 +1569,16 @@
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
+ 21233DE42475935600039337 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 2149E59A238867E100873955 /* AWSDataStoreCategoryPlugin */;
+ targetProxy = 21233DE32475935600039337 /* PBXContainerItemProxy */;
+ };
+ 21233DE92475936700039337 /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 2149E60423886C7B00873955 /* HostApp */;
+ targetProxy = 21233DE82475936700039337 /* PBXContainerItemProxy */;
+ };
2149E5EA2388692E00873955 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 2149E59A238867E100873955 /* AWSDataStoreCategoryPlugin */;
@@ -1438,6 +1616,48 @@
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
+ 21233DE62475935600039337 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = 2579CC5CDF970194E62AAB06 /* Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.debug.xcconfig */;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_TEAM = W3DRXD72QU;
+ INFOPLIST_FILE = AWSDataStoreCategoryPluginAuthIntegrationTests/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.2;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.awsamazon.AWSDataStoreCategoryPluginAuthIntegrationTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HostApp.app/HostApp";
+ };
+ name = Debug;
+ };
+ 21233DE72475935600039337 /* Release */ = {
+ isa = XCBuildConfiguration;
+ baseConfigurationReference = C5AAB88D0D658A7531FC0244 /* Pods-HostApp-AWSDataStoreCategoryPluginAuthIntegrationTests.release.xcconfig */;
+ buildSettings = {
+ CODE_SIGN_STYLE = Automatic;
+ DEVELOPMENT_TEAM = W3DRXD72QU;
+ INFOPLIST_FILE = AWSDataStoreCategoryPluginAuthIntegrationTests/Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 13.2;
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = com.awsamazon.AWSDataStoreCategoryPluginAuthIntegrationTests;
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/HostApp.app/HostApp";
+ };
+ name = Release;
+ };
2149E5A1238867E100873955 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@@ -1739,6 +1959,15 @@
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
+ 21233DE52475935600039337 /* Build configuration list for PBXNativeTarget "AWSDataStoreCategoryPluginAuthIntegrationTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 21233DE62475935600039337 /* Debug */,
+ 21233DE72475935600039337 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
2149E595238867E100873955 /* Build configuration list for PBXProject "DataStoreCategoryPlugin" */ = {
isa = XCConfigurationList;
buildConfigurations = (
diff --git a/AmplifyPlugins/DataStore/DataStoreCategoryPlugin.xcodeproj/xcshareddata/xcschemes/AWSDataStoreCategoryPluginAuthIntegrationTests.xcscheme b/AmplifyPlugins/DataStore/DataStoreCategoryPlugin.xcodeproj/xcshareddata/xcschemes/AWSDataStoreCategoryPluginAuthIntegrationTests.xcscheme
new file mode 100644
index 0000000000..73d010f6b6
--- /dev/null
+++ b/AmplifyPlugins/DataStore/DataStoreCategoryPlugin.xcodeproj/xcshareddata/xcschemes/AWSDataStoreCategoryPluginAuthIntegrationTests.xcscheme
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/AmplifyPlugins/DataStore/Podfile b/AmplifyPlugins/DataStore/Podfile
index 1d9cdf8d34..bf78aab90d 100644
--- a/AmplifyPlugins/DataStore/Podfile
+++ b/AmplifyPlugins/DataStore/Podfile
@@ -34,4 +34,11 @@ target "HostApp" do
pod 'AmplifyPlugins/AWSAPIPlugin', :path => '../../'
end
+
+ target "AWSDataStoreCategoryPluginAuthIntegrationTests" do
+ inherit! :complete
+
+ pod 'AmplifyPlugins/AWSAPIPlugin', :path => '../../'
+ pod 'AmplifyPlugins/AWSAuthPlugin', :path => '../../'
+ end
end
\ No newline at end of file