diff --git a/Examples/Examples.xcodeproj/project.pbxproj b/Examples/Examples.xcodeproj/project.pbxproj index 7403ce8c..03937b6a 100644 --- a/Examples/Examples.xcodeproj/project.pbxproj +++ b/Examples/Examples.xcodeproj/project.pbxproj @@ -16,8 +16,8 @@ 359F779F22B7FEF700B6B46F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 359F779E22B7FEF700B6B46F /* Assets.xcassets */; }; 359F77A222B7FEF700B6B46F /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 359F77A022B7FEF700B6B46F /* LaunchScreen.storyboard */; }; 35F0258F22BAC6C9007BD7D3 /* ConfigDetailTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35F0258E22BAC6C9007BD7D3 /* ConfigDetailTableViewController.swift */; }; + 3D26A6152C6BB68A007B4539 /* PubNubSDK in Frameworks */ = {isa = PBXBuildFile; productRef = 3D26A6142C6BB68A007B4539 /* PubNubSDK */; }; 3D34160D2BB5CE20008558A0 /* DetailTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D34160C2BB5CE20008558A0 /* DetailTableViewController.swift */; }; - 792CF27228C4FBB300C83408 /* PubNub in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27128C4FBB300C83408 /* PubNub */; }; 792CF27428C4FBB300C83408 /* PubNubMembership in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27328C4FBB300C83408 /* PubNubMembership */; }; 792CF27628C4FBB300C83408 /* PubNubSpace in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27528C4FBB300C83408 /* PubNubSpace */; }; 792CF27828C4FBB300C83408 /* PubNubUser in Frameworks */ = {isa = PBXBuildFile; productRef = 792CF27728C4FBB300C83408 /* PubNubUser */; }; @@ -70,9 +70,9 @@ buildActionMask = 2147483647; files = ( 792CF27428C4FBB300C83408 /* PubNubMembership in Frameworks */, + 3D26A6152C6BB68A007B4539 /* PubNubSDK in Frameworks */, 792CF27828C4FBB300C83408 /* PubNubUser in Frameworks */, 792CF27628C4FBB300C83408 /* PubNubSpace in Frameworks */, - 792CF27228C4FBB300C83408 /* PubNub in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -176,10 +176,10 @@ ); name = "iOS Example"; packageProductDependencies = ( - 792CF27128C4FBB300C83408 /* PubNub */, 792CF27328C4FBB300C83408 /* PubNubMembership */, 792CF27528C4FBB300C83408 /* PubNubSpace */, 792CF27728C4FBB300C83408 /* PubNubUser */, + 3D26A6142C6BB68A007B4539 /* PubNubSDK */, ); productName = swiftSdkiOS; productReference = 359F779422B7FEF600B6B46F /* iOS Example.app */; @@ -464,9 +464,9 @@ /* End XCConfigurationList section */ /* Begin XCSwiftPackageProductDependency section */ - 792CF27128C4FBB300C83408 /* PubNub */ = { + 3D26A6142C6BB68A007B4539 /* PubNubSDK */ = { isa = XCSwiftPackageProductDependency; - productName = PubNub; + productName = PubNubSDK; }; 792CF27328C4FBB300C83408 /* PubNubMembership */ = { isa = XCSwiftPackageProductDependency; diff --git a/Examples/Sources/AppDelegate.swift b/Examples/Sources/AppDelegate.swift index 4801535e..c4820140 100644 --- a/Examples/Sources/AppDelegate.swift +++ b/Examples/Sources/AppDelegate.swift @@ -9,8 +9,7 @@ // import UIKit - -import PubNub +import PubNubSDK @UIApplicationMain class AppDelegate: UIResponder, UIApplicationDelegate { diff --git a/Examples/Sources/ConfigDetailTableViewController.swift b/Examples/Sources/ConfigDetailTableViewController.swift index d1ac789e..0f084323 100644 --- a/Examples/Sources/ConfigDetailTableViewController.swift +++ b/Examples/Sources/ConfigDetailTableViewController.swift @@ -9,8 +9,7 @@ // import UIKit - -import PubNub +import PubNubSDK class ConfigDetailTableViewController: UITableViewController { diff --git a/Examples/Sources/DetailTableViewController.swift b/Examples/Sources/DetailTableViewController.swift index 4b6125a3..371deed3 100644 --- a/Examples/Sources/DetailTableViewController.swift +++ b/Examples/Sources/DetailTableViewController.swift @@ -11,7 +11,7 @@ import Foundation import UIKit -import PubNub +import PubNubSDK import PubNubMembership import PubNubSpace import PubNubUser diff --git a/Examples/Sources/File/FileAPIViewController.swift b/Examples/Sources/File/FileAPIViewController.swift index 88c06f6c..adf18521 100644 --- a/Examples/Sources/File/FileAPIViewController.swift +++ b/Examples/Sources/File/FileAPIViewController.swift @@ -9,8 +9,7 @@ // import UIKit - -import PubNub +import PubNubSDK enum AlertMessageDirection: String { case upload = "Uploading" diff --git a/Examples/Sources/File/LocalFileExample.swift b/Examples/Sources/File/LocalFileExample.swift index 52930cef..add59ff0 100644 --- a/Examples/Sources/File/LocalFileExample.swift +++ b/Examples/Sources/File/LocalFileExample.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK enum FileError: Error { case fileNameError diff --git a/Package.swift b/Package.swift index a7d0f711..c5227bbf 100644 --- a/Package.swift +++ b/Package.swift @@ -22,8 +22,8 @@ let package = Package( products: [ // Products define the executables and libraries produced by a package, and make them visible to other packages. .library( - name: "PubNub", - targets: ["PubNub"] + name: "PubNubSDK", + targets: ["PubNubSDK"] ), .library( name: "PubNubUser", @@ -45,28 +45,28 @@ let package = Package( // Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets can depend on other targets in this package, and on products in packages which this package depends on. .target( - name: "PubNub", + name: "PubNubSDK", path: "Sources/PubNub", resources: [.copy("PrivacyInfo.xcprivacy")] ), .target( name: "PubNubUser", - dependencies: ["PubNub"], + dependencies: ["PubNubSDK"], path: "PubNubUser/Sources" ), .target( name: "PubNubSpace", - dependencies: ["PubNub"], + dependencies: ["PubNubSDK"], path: "PubNubSpace/Sources" ), .target( name: "PubNubMembership", - dependencies: ["PubNub", "PubNubUser", "PubNubSpace"], + dependencies: ["PubNubSDK", "PubNubUser", "PubNubSpace"], path: "PubNubMembership/Sources" ), .testTarget( name: "PubNubTests", - dependencies: ["PubNub"] + dependencies: ["PubNubSDK"] ) ], swiftLanguageVersions: [.v5] diff --git a/PubNub.xcodeproj/project.pbxproj b/PubNub.xcodeproj/project.pbxproj index 0fdf85f2..575be95c 100644 --- a/PubNub.xcodeproj/project.pbxproj +++ b/PubNub.xcodeproj/project.pbxproj @@ -129,7 +129,7 @@ 35580682230F3A34005CDD92 /* RequestIdOperator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35580681230F3A34005CDD92 /* RequestIdOperator.swift */; }; 35580686230F47EA005CDD92 /* RequestIdOperatorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35580684230F4771005CDD92 /* RequestIdOperatorTests.swift */; }; 3558069C231303D9005CDD92 /* AutomaticRetryTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3558069B231303D9005CDD92 /* AutomaticRetryTests.swift */; }; - 355806DB23145749005CDD92 /* PubNub.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNub.framework */; }; + 355806DB23145749005CDD92 /* PubNubSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNubSDK.framework */; }; 3559977B23073D53000BCFD1 /* WeakBoxTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3559977A23073D53000BCFD1 /* WeakBoxTests.swift */; }; 3559977F23078A7C000BCFD1 /* message_counts_error_invalid_arguments.json in Resources */ = {isa = PBXBuildFile; fileRef = 3559977E230787E7000BCFD1 /* message_counts_error_invalid_arguments.json */; }; 3559978223079070000BCFD1 /* forbidden_Message.json in Resources */ = {isa = PBXBuildFile; fileRef = 3559978023078F85000BCFD1 /* forbidden_Message.json */; }; @@ -473,9 +473,9 @@ 79407BE5271D4CFA0032076C /* PubNubFilesContractTestSteps.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79407BD1271D4CFA0032076C /* PubNubFilesContractTestSteps.swift */; }; 79407C00271D519F0032076C /* Features in Resources */ = {isa = PBXBuildFile; fileRef = 79407BFF271D519F0032076C /* Features */; }; 79407C01271D519F0032076C /* Features in Resources */ = {isa = PBXBuildFile; fileRef = 79407BFF271D519F0032076C /* Features */; }; - 7941EEA9270E433F0054D9EF /* PubNub.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNub.framework */; platformFilter = ios; }; + 7941EEA9270E433F0054D9EF /* PubNubSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNubSDK.framework */; platformFilter = ios; }; 7951954E26C955CE001E308C /* PAMToken.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7951954D26C955CE001E308C /* PAMToken.swift */; }; - 79657AA3271A13F700BACEC5 /* PubNub.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNub.framework */; platformFilter = ios; }; + 79657AA3271A13F700BACEC5 /* PubNubSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNubSDK.framework */; platformFilter = ios; }; A5115F2529195AF400F6ADA1 /* PubNubObjectsMembersContractTestSteps.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5115F2429195AF400F6ADA1 /* PubNubObjectsMembersContractTestSteps.swift */; }; A5115F2629195AF400F6ADA1 /* PubNubObjectsMembersContractTestSteps.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5115F2429195AF400F6ADA1 /* PubNubObjectsMembersContractTestSteps.swift */; }; A5115F28291D54F500F6ADA1 /* PubNubObjectsMembershipsContractTestSteps.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5115F27291D54F500F6ADA1 /* PubNubObjectsMembershipsContractTestSteps.swift */; }; @@ -492,7 +492,7 @@ D2635DFB22FCCF080097CF64 /* message_counts_success.json in Resources */ = {isa = PBXBuildFile; fileRef = D2635DFA22FCCF080097CF64 /* message_counts_success.json */; }; OBJ_31 /* PubNub.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_11 /* PubNub.swift */; }; OBJ_49 /* PubNubTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_15 /* PubNubTests.swift */; }; - OBJ_51 /* PubNub.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNub.framework */; }; + OBJ_51 /* PubNubSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = "PubNub::PubNub::Product" /* PubNubSDK.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -1078,7 +1078,7 @@ OBJ_24 /* PubNubSwift.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; path = PubNubSwift.podspec; sourceTree = ""; }; OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; }; OBJ_9 /* PubNub.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PubNub.h; sourceTree = ""; }; - "PubNub::PubNub::Product" /* PubNub.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = PubNub.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + "PubNub::PubNub::Product" /* PubNubSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = PubNubSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; }; "PubNub::PubNubTests::Product" /* PubNubTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; path = PubNubTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ @@ -1087,7 +1087,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 0; files = ( - 355806DB23145749005CDD92 /* PubNub.framework in Frameworks */, + 355806DB23145749005CDD92 /* PubNubSDK.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1164,7 +1164,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 0; files = ( - 7941EEA9270E433F0054D9EF /* PubNub.framework in Frameworks */, + 7941EEA9270E433F0054D9EF /* PubNubSDK.framework in Frameworks */, 4C2A8D84BCD39B07A66FD9B4 /* Pods_PubNubContractTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -1173,7 +1173,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 0; files = ( - 79657AA3271A13F700BACEC5 /* PubNub.framework in Frameworks */, + 79657AA3271A13F700BACEC5 /* PubNubSDK.framework in Frameworks */, 0162B986DE5A8773D6F8C8A0 /* Pods_PubNubContractTestsBeta.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -1189,7 +1189,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 0; files = ( - OBJ_51 /* PubNub.framework in Frameworks */, + OBJ_51 /* PubNubSDK.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -2473,7 +2473,7 @@ isa = PBXGroup; children = ( "PubNub::PubNubTests::Product" /* PubNubTests.xctest */, - "PubNub::PubNub::Product" /* PubNub.framework */, + "PubNub::PubNub::Product" /* PubNubSDK.framework */, 3558073723145749005CDD92 /* PubNubIntTests.xctest */, 7941EF40270E433F0054D9EF /* PubNubContractTests.xctest */, 79657AAB271A13F700BACEC5 /* PubNubContractTestsBeta.xctest */, @@ -2782,9 +2782,9 @@ productReference = 79657AAB271A13F700BACEC5 /* PubNubContractTestsBeta.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; - "PubNub::PubNub" /* PubNub */ = { + "PubNub::PubNub" /* PubNubSDK */ = { isa = PBXNativeTarget; - buildConfigurationList = OBJ_27 /* Build configuration list for PBXNativeTarget "PubNub" */; + buildConfigurationList = OBJ_27 /* Build configuration list for PBXNativeTarget "PubNubSDK" */; buildPhases = ( 3D5BE9AD2BCEA5AC0091ACA7 /* Resources */, OBJ_30 /* Sources */, @@ -2794,9 +2794,9 @@ ); dependencies = ( ); - name = PubNub; + name = PubNubSDK; productName = PubNub; - productReference = "PubNub::PubNub::Product" /* PubNub.framework */; + productReference = "PubNub::PubNub::Product" /* PubNubSDK.framework */; productType = "com.apple.product-type.framework"; }; "PubNub::PubNubTests" /* PubNubTests */ = { @@ -2867,7 +2867,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( - "PubNub::PubNub" /* PubNub */, + "PubNub::PubNub" /* PubNubSDK */, "PubNub::PubNubTests" /* PubNubTests */, 7941EE6B270E433F0054D9EF /* PubNubContractTests */, 79657A93271A13F700BACEC5 /* PubNubContractTestsBeta */, @@ -3667,7 +3667,7 @@ /* Begin PBXTargetDependency section */ 3558069E23145749005CDD92 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = "PubNub::PubNub" /* PubNub */; + target = "PubNub::PubNub" /* PubNubSDK */; targetProxy = 3558069F23145749005CDD92 /* PBXContainerItemProxy */; }; 358B8917284D206B00DB0F3D /* PBXTargetDependency */ = { @@ -3687,17 +3687,17 @@ }; 358B8962284D22B100DB0F3D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = "PubNub::PubNub" /* PubNub */; + target = "PubNub::PubNub" /* PubNubSDK */; targetProxy = 358B8961284D22B100DB0F3D /* PBXContainerItemProxy */; }; 358B8966284D22D800DB0F3D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = "PubNub::PubNub" /* PubNub */; + target = "PubNub::PubNub" /* PubNubSDK */; targetProxy = 358B8965284D22D800DB0F3D /* PBXContainerItemProxy */; }; 358B8968284D22E200DB0F3D /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = "PubNub::PubNub" /* PubNub */; + target = "PubNub::PubNub" /* PubNubSDK */; targetProxy = 358B8967284D22E200DB0F3D /* PBXContainerItemProxy */; }; 358B896A284D22E200DB0F3D /* PBXTargetDependency */ = { @@ -3728,18 +3728,18 @@ 7941EE6C270E433F0054D9EF /* PBXTargetDependency */ = { isa = PBXTargetDependency; platformFilter = ios; - target = "PubNub::PubNub" /* PubNub */; + target = "PubNub::PubNub" /* PubNubSDK */; targetProxy = 7941EE6D270E433F0054D9EF /* PBXContainerItemProxy */; }; 79657A94271A13F700BACEC5 /* PBXTargetDependency */ = { isa = PBXTargetDependency; platformFilter = ios; - target = "PubNub::PubNub" /* PubNub */; + target = "PubNub::PubNub" /* PubNubSDK */; targetProxy = 79657A95271A13F700BACEC5 /* PBXContainerItemProxy */; }; OBJ_52 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = "PubNub::PubNub" /* PubNub */; + target = "PubNub::PubNub" /* PubNubSDK */; targetProxy = 35EA73F422B1916100D97BF0 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -4729,7 +4729,7 @@ SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; - TARGET_NAME = PubNub; + TARGET_NAME = PubNubSDK; TVOS_DEPLOYMENT_TARGET = 12.0; WATCHOS_DEPLOYMENT_TARGET = 4.0; }; @@ -4771,7 +4771,7 @@ SUPPORTS_MACCATALYST = NO; SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)"; - TARGET_NAME = PubNub; + TARGET_NAME = PubNubSDK; TVOS_DEPLOYMENT_TARGET = 12.0; WATCHOS_DEPLOYMENT_TARGET = 4.0; }; @@ -5091,7 +5091,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - OBJ_27 /* Build configuration list for PBXNativeTarget "PubNub" */ = { + OBJ_27 /* Build configuration list for PBXNativeTarget "PubNubSDK" */ = { isa = XCConfigurationList; buildConfigurations = ( OBJ_28 /* Debug */, diff --git a/PubNub.xcodeproj/xcshareddata/xcschemes/PubNub.xcscheme b/PubNub.xcodeproj/xcshareddata/xcschemes/PubNub.xcscheme index 43cdf6d9..ddd6763d 100644 --- a/PubNub.xcodeproj/xcshareddata/xcschemes/PubNub.xcscheme +++ b/PubNub.xcodeproj/xcshareddata/xcschemes/PubNub.xcscheme @@ -15,8 +15,8 @@ @@ -34,8 +34,8 @@ @@ -80,8 +80,8 @@ @@ -96,8 +96,8 @@ diff --git a/PubNubMembership/Sources/Membership+PubNub.swift b/PubNubMembership/Sources/Membership+PubNub.swift index b3005f74..31aece05 100644 --- a/PubNubMembership/Sources/Membership+PubNub.swift +++ b/PubNubMembership/Sources/Membership+PubNub.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK import PubNubSpace import PubNubUser diff --git a/PubNubMembership/Sources/Patcher+PubNubMembership.swift b/PubNubMembership/Sources/Patcher+PubNubMembership.swift index 969e2112..52a9e44d 100644 --- a/PubNubMembership/Sources/Patcher+PubNubMembership.swift +++ b/PubNubMembership/Sources/Patcher+PubNubMembership.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK import PubNubSpace import PubNubUser diff --git a/PubNubMembership/Sources/PubNubMembership.swift b/PubNubMembership/Sources/PubNubMembership.swift index 5eb25066..c30b78be 100644 --- a/PubNubMembership/Sources/PubNubMembership.swift +++ b/PubNubMembership/Sources/PubNubMembership.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK import PubNubSpace import PubNubUser diff --git a/PubNubMembership/Sources/PubNubMembershipEvent.swift b/PubNubMembership/Sources/PubNubMembershipEvent.swift index 911d9cd7..90de0d8b 100644 --- a/PubNubMembership/Sources/PubNubMembershipEvent.swift +++ b/PubNubMembership/Sources/PubNubMembershipEvent.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK /// All the changes that can be received for Membership entities public enum PubNubMembershipEvent { diff --git a/PubNubMembership/Tests/Integration/SmokeTest+PubNubMembership.swift b/PubNubMembership/Tests/Integration/SmokeTest+PubNubMembership.swift index 001e6007..49a16b4c 100644 --- a/PubNubMembership/Tests/Integration/SmokeTest+PubNubMembership.swift +++ b/PubNubMembership/Tests/Integration/SmokeTest+PubNubMembership.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -import PubNub +import PubNubSDK import PubNubMembership import PubNubSpace import PubNubUser diff --git a/PubNubMembership/Tests/MembershipTestHelpers.swift b/PubNubMembership/Tests/MembershipTestHelpers.swift index cca7ab77..4abf7f7a 100644 --- a/PubNubMembership/Tests/MembershipTestHelpers.swift +++ b/PubNubMembership/Tests/MembershipTestHelpers.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK struct MembershipCustom: FlatJSONCodable, Hashable { var value: String? diff --git a/PubNubMembership/Tests/Test+PubNubMembership.swift b/PubNubMembership/Tests/Test+PubNubMembership.swift index 26c572a0..7ce70d63 100644 --- a/PubNubMembership/Tests/Test+PubNubMembership.swift +++ b/PubNubMembership/Tests/Test+PubNubMembership.swift @@ -8,13 +8,13 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubMembership +import PubNubSDK import PubNubSpace import PubNubUser - import XCTest +@testable import PubNubMembership + class PubNubMembershipModelTests: XCTestCase { let testMembership = PubNubMembership( user: PubNubUser(id: "TestUserId"), diff --git a/PubNubMembership/Tests/Test+PubNubMembershipEvent.swift b/PubNubMembership/Tests/Test+PubNubMembershipEvent.swift index 55113b8e..11f1162f 100644 --- a/PubNubMembership/Tests/Test+PubNubMembershipEvent.swift +++ b/PubNubMembership/Tests/Test+PubNubMembershipEvent.swift @@ -8,13 +8,13 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubMembership +import PubNubSDK import PubNubSpace import PubNubUser - import XCTest +@testable import PubNubMembership + class PubNubMembershipEventTests: XCTestCase { let testMembership = PubNubMembership( user: PubNubUser(id: "TestUserId"), diff --git a/PubNubMembership/Tests/Test+PubNubMembershipInterface.swift b/PubNubMembership/Tests/Test+PubNubMembershipInterface.swift index c21c469f..9722e067 100644 --- a/PubNubMembership/Tests/Test+PubNubMembershipInterface.swift +++ b/PubNubMembership/Tests/Test+PubNubMembershipInterface.swift @@ -8,13 +8,13 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubMembership +import PubNubSDK import PubNubSpace import PubNubUser - import XCTest +@testable import PubNubMembership + // swiftlint:disable:next type_body_length class PubNubMembershipInterfaceTests: XCTestCase { let testMembership = PubNubMembership( diff --git a/PubNubMembership/Tests/Test+PubNubMembershipPatcher.swift b/PubNubMembership/Tests/Test+PubNubMembershipPatcher.swift index 9ad76ae0..8a506743 100644 --- a/PubNubMembership/Tests/Test+PubNubMembershipPatcher.swift +++ b/PubNubMembership/Tests/Test+PubNubMembershipPatcher.swift @@ -8,13 +8,13 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubMembership +import PubNubSDK import PubNubSpace import PubNubUser - import XCTest +@testable import PubNubMembership + class PubNubMembershipPatcherTests: XCTestCase { var testMembership = PubNubMembership( user: PubNubUser(id: "TestUserId"), diff --git a/PubNubSpace/Sources/Patcher+PubNubSpace.swift b/PubNubSpace/Sources/Patcher+PubNubSpace.swift index 2e203fb8..f72448d4 100644 --- a/PubNubSpace/Sources/Patcher+PubNubSpace.swift +++ b/PubNubSpace/Sources/Patcher+PubNubSpace.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK public extension PubNubSpace { /// Object that can be used to apply an update to another Space diff --git a/PubNubSpace/Sources/PubNubSpace.swift b/PubNubSpace/Sources/PubNubSpace.swift index e7572003..d88107dd 100644 --- a/PubNubSpace/Sources/PubNubSpace.swift +++ b/PubNubSpace/Sources/PubNubSpace.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK /// A concrete representation of a Space entity in PubNub public struct PubNubSpace { diff --git a/PubNubSpace/Sources/PubNubSpaceEvent.swift b/PubNubSpace/Sources/PubNubSpaceEvent.swift index d3b731c9..8e1ca31d 100644 --- a/PubNubSpace/Sources/PubNubSpaceEvent.swift +++ b/PubNubSpace/Sources/PubNubSpaceEvent.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK public enum PubNubSpaceEvent { /// The changeset for the Space entity that changed diff --git a/PubNubSpace/Sources/Space+PubNub.swift b/PubNubSpace/Sources/Space+PubNub.swift index 7eed572e..13669b12 100644 --- a/PubNubSpace/Sources/Space+PubNub.swift +++ b/PubNubSpace/Sources/Space+PubNub.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK /// Protocol interface to manage `PubNubSpace` entities using closures public protocol PubNubSpaceInterface { diff --git a/PubNubSpace/Tests/Integration/SmokeTest+PubNubSpace.swift b/PubNubSpace/Tests/Integration/SmokeTest+PubNubSpace.swift index 3d561ec7..7bd3ebff 100644 --- a/PubNubSpace/Tests/Integration/SmokeTest+PubNubSpace.swift +++ b/PubNubSpace/Tests/Integration/SmokeTest+PubNubSpace.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubSpace - +import PubNubSDK import XCTest +@testable import PubNubSpace + class PubNubSpaceInterfaceITests: XCTestCase { let testSpace = PubNubSpace( id: "TestSpaceId", diff --git a/PubNubSpace/Tests/SpaceTestHelpers.swift b/PubNubSpace/Tests/SpaceTestHelpers.swift index 6052aa96..2cfb8f86 100644 --- a/PubNubSpace/Tests/SpaceTestHelpers.swift +++ b/PubNubSpace/Tests/SpaceTestHelpers.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK struct SpaceCustom: FlatJSONCodable, Hashable { var value: String? diff --git a/PubNubSpace/Tests/Test+PubNubSpace.swift b/PubNubSpace/Tests/Test+PubNubSpace.swift index 49d1dccd..22001903 100644 --- a/PubNubSpace/Tests/Test+PubNubSpace.swift +++ b/PubNubSpace/Tests/Test+PubNubSpace.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubSpace - +import PubNubSDK import XCTest +@testable import PubNubSpace + class PubNubSpaceModelTests: XCTestCase { let testSpace = PubNubSpace( id: "TestSpaceId", diff --git a/PubNubSpace/Tests/Test+PubNubSpaceEvent.swift b/PubNubSpace/Tests/Test+PubNubSpaceEvent.swift index 7d8b03fd..7ef68742 100644 --- a/PubNubSpace/Tests/Test+PubNubSpaceEvent.swift +++ b/PubNubSpace/Tests/Test+PubNubSpaceEvent.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubSpace - +import PubNubSDK import XCTest +@testable import PubNubSpace + class PubNubSpaceEventTests: XCTestCase { let testSpace = PubNubSpace( id: "TestSpaceId", diff --git a/PubNubSpace/Tests/Test+PubNubSpaceInterface.swift b/PubNubSpace/Tests/Test+PubNubSpaceInterface.swift index b4464b07..b007fd1b 100644 --- a/PubNubSpace/Tests/Test+PubNubSpaceInterface.swift +++ b/PubNubSpace/Tests/Test+PubNubSpaceInterface.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubSpace - +import PubNubSDK import XCTest +@testable import PubNubSpace + class PubNubSpaceInterfaceTests: XCTestCase { let testSpace = PubNubSpace( id: "TestSpaceId", diff --git a/PubNubSpace/Tests/Test+PubNubSpacePatcher.swift b/PubNubSpace/Tests/Test+PubNubSpacePatcher.swift index 0660125e..0f0aec46 100644 --- a/PubNubSpace/Tests/Test+PubNubSpacePatcher.swift +++ b/PubNubSpace/Tests/Test+PubNubSpacePatcher.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubSpace - +import PubNubSDK import XCTest +@testable import PubNubSpace + class PubNubSpacePatcherTests: XCTestCase { var testSpace = PubNubSpace( id: "TestSpaceId", diff --git a/PubNubSwift.podspec b/PubNubSwift.podspec index ad5da0dc..e3cdf549 100644 --- a/PubNubSwift.podspec +++ b/PubNubSwift.podspec @@ -21,7 +21,7 @@ The PubNub Real-Time Network. Build real-time apps quickly and scale them global s.swift_version = '5.0' - s.module_name = 'PubNub' + s.module_name = 'PubNubSDK' s.source_files = 'Sources/**/*.swift' s.resource_bundles = { "PubNubSwift" => ["Sources/PubNub/PrivacyInfo.xcprivacy"]} diff --git a/PubNubUser/Sources/Patcher+PubNubUser.swift b/PubNubUser/Sources/Patcher+PubNubUser.swift index 2c8fa32d..6d2cbbca 100644 --- a/PubNubUser/Sources/Patcher+PubNubUser.swift +++ b/PubNubUser/Sources/Patcher+PubNubUser.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK public extension PubNubUser { /// Object that can be used to apply an update to another User diff --git a/PubNubUser/Sources/PubNubUser.swift b/PubNubUser/Sources/PubNubUser.swift index 40bceade..7054f7a3 100644 --- a/PubNubUser/Sources/PubNubUser.swift +++ b/PubNubUser/Sources/PubNubUser.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK /// A concrete representation of a User entity in PubNub public struct PubNubUser { diff --git a/PubNubUser/Sources/PubNubUserEvent.swift b/PubNubUser/Sources/PubNubUserEvent.swift index 871ce3f1..445b03ec 100644 --- a/PubNubUser/Sources/PubNubUserEvent.swift +++ b/PubNubUser/Sources/PubNubUserEvent.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK /// All the changes that can be received for User entities public enum PubNubUserEvent { diff --git a/PubNubUser/Sources/User+PubNub.swift b/PubNubUser/Sources/User+PubNub.swift index e14f8762..bb6da9ba 100644 --- a/PubNubUser/Sources/User+PubNub.swift +++ b/PubNubUser/Sources/User+PubNub.swift @@ -9,7 +9,7 @@ // import Foundation -import PubNub +import PubNubSDK /// Protocol interface to manage `PubNubUser` entities using closures public protocol PubNubUserInterface { diff --git a/PubNubUser/Tests/Integration/SmokeTest+PubNubUser.swift b/PubNubUser/Tests/Integration/SmokeTest+PubNubUser.swift index c45e0768..cd6dae07 100644 --- a/PubNubUser/Tests/Integration/SmokeTest+PubNubUser.swift +++ b/PubNubUser/Tests/Integration/SmokeTest+PubNubUser.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubUser - +import PubNubSDK import XCTest +@testable import PubNubUser + class PubNubUserInterfaceITests: XCTestCase { let testUser = PubNubUser( id: "TestUserId", diff --git a/PubNubUser/Tests/Test+PubNubUser.swift b/PubNubUser/Tests/Test+PubNubUser.swift index 33fd6dab..340ee4cc 100644 --- a/PubNubUser/Tests/Test+PubNubUser.swift +++ b/PubNubUser/Tests/Test+PubNubUser.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubUser - +import PubNubSDK import XCTest +@testable import PubNubUser + class PubNubUserModelTests: XCTestCase { let testUser = PubNubUser( id: "TestUserId", diff --git a/PubNubUser/Tests/Test+PubNubUserEvent.swift b/PubNubUser/Tests/Test+PubNubUserEvent.swift index 12d33c22..70801260 100644 --- a/PubNubUser/Tests/Test+PubNubUserEvent.swift +++ b/PubNubUser/Tests/Test+PubNubUserEvent.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubUser - +import PubNubSDK import XCTest +@testable import PubNubUser + class PubNubUserEventTests: XCTestCase { let testUser = PubNubUser( id: "TestUserId", diff --git a/PubNubUser/Tests/Test+PubNubUserInterface.swift b/PubNubUser/Tests/Test+PubNubUserInterface.swift index 34857e23..c6161327 100644 --- a/PubNubUser/Tests/Test+PubNubUserInterface.swift +++ b/PubNubUser/Tests/Test+PubNubUserInterface.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubUser - +import PubNubSDK import XCTest +@testable import PubNubUser + class PubNubUserInterfaceTests: XCTestCase { let testUser = PubNubUser( id: "TestUserId", diff --git a/PubNubUser/Tests/Test+PubNubUserPatcher.swift b/PubNubUser/Tests/Test+PubNubUserPatcher.swift index 24081c11..150efe21 100644 --- a/PubNubUser/Tests/Test+PubNubUserPatcher.swift +++ b/PubNubUser/Tests/Test+PubNubUserPatcher.swift @@ -8,11 +8,11 @@ // LICENSE file in the root directory of this source tree. // -import PubNub -@testable import PubNubUser - +import PubNubSDK import XCTest +@testable import PubNubUser + class PubNubUserPatcherTests: XCTestCase { var testUser = PubNubUser( id: "TestUserId", diff --git a/PubNubUser/Tests/UserTestHelpers.swift b/PubNubUser/Tests/UserTestHelpers.swift index e84e81c6..b8d0d931 100644 --- a/PubNubUser/Tests/UserTestHelpers.swift +++ b/PubNubUser/Tests/UserTestHelpers.swift @@ -9,7 +9,7 @@ // import Foundation -import PubNub +import PubNubSDK struct UserCustom: FlatJSONCodable, Hashable { var value: String? diff --git a/README.md b/README.md index 32123bb4..9d0b802f 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ carthage update --use-xcframeworks ```swift import UIKit - import PubNub // <- Here is our PubNub module import. + import PubNubSDK // <- Here is our PubNub module import. ``` 1. Create and configure a PubNub object: diff --git a/Tests/PubNubContractTest/PubNubContractTestCase.swift b/Tests/PubNubContractTest/PubNubContractTestCase.swift index f0883b3d..bec9fba2 100644 --- a/Tests/PubNubContractTest/PubNubContractTestCase.swift +++ b/Tests/PubNubContractTest/PubNubContractTestCase.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK // Origin which should be used to reach mock server for contract testing. let mockServerAddress = "localhost:8090" diff --git a/Tests/PubNubContractTest/Steps/Access/PubNubAccessContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Access/PubNubAccessContractTestSteps.swift index ce4035b1..7d14a3b5 100644 --- a/Tests/PubNubContractTest/Steps/Access/PubNubAccessContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Access/PubNubAccessContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK import XCTest public class PubNubAccessContractTestSteps: PubNubContractTestCase { diff --git a/Tests/PubNubContractTest/Steps/CryptorModule/PubNubCryptoModuleContractTestSteps.swift b/Tests/PubNubContractTest/Steps/CryptorModule/PubNubCryptoModuleContractTestSteps.swift index 7d45ad30..c15f2bc6 100644 --- a/Tests/PubNubContractTest/Steps/CryptorModule/PubNubCryptoModuleContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/CryptorModule/PubNubCryptoModuleContractTestSteps.swift @@ -13,7 +13,7 @@ import Foundation import XCTest import CommonCrypto -@testable import PubNub +@testable import PubNubSDK public class PubNubCryptoModuleContractTestSteps: PubNubContractTestCase { var cryptorKind: String! diff --git a/Tests/PubNubContractTest/Steps/EventEngine/PubNubEventEngineContractTestSteps.swift b/Tests/PubNubContractTest/Steps/EventEngine/PubNubEventEngineContractTestSteps.swift index 05ead904..62e038e1 100644 --- a/Tests/PubNubContractTest/Steps/EventEngine/PubNubEventEngineContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/EventEngine/PubNubEventEngineContractTestSteps.swift @@ -11,7 +11,7 @@ import Foundation import Cucumberish -@testable import PubNub +@testable import PubNubSDK class PubNubEventEngineContractTestsSteps: PubNubContractTestCase { func extractExpectedResults(from: [AnyHashable: Any]?) -> (events: [String], invocations: [String]) { diff --git a/Tests/PubNubContractTest/Steps/EventEngine/PubNubEventEngineTestsHelpers.swift b/Tests/PubNubContractTest/Steps/EventEngine/PubNubEventEngineTestsHelpers.swift index 321266aa..838231b5 100644 --- a/Tests/PubNubContractTest/Steps/EventEngine/PubNubEventEngineTestsHelpers.swift +++ b/Tests/PubNubContractTest/Steps/EventEngine/PubNubEventEngineTestsHelpers.swift @@ -10,7 +10,7 @@ import Foundation -@testable import PubNub +@testable import PubNubSDK protocol ContractTestIdentifiable { var contractTestIdentifier: String { get } diff --git a/Tests/PubNubContractTest/Steps/EventEngine/PubNubPresenceEngineContractTestSteps.swift b/Tests/PubNubContractTest/Steps/EventEngine/PubNubPresenceEngineContractTestSteps.swift index 490ef513..a28e73a8 100644 --- a/Tests/PubNubContractTest/Steps/EventEngine/PubNubPresenceEngineContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/EventEngine/PubNubPresenceEngineContractTestSteps.swift @@ -11,7 +11,7 @@ import Cucumberish import Foundation -@testable import PubNub +@testable import PubNubSDK extension Presence.Invocation: ContractTestIdentifiable { var contractTestIdentifier: String { diff --git a/Tests/PubNubContractTest/Steps/EventEngine/PubNubSubscribeEngineContractTestsSteps.swift b/Tests/PubNubContractTest/Steps/EventEngine/PubNubSubscribeEngineContractTestsSteps.swift index 8e219622..5b65bb57 100644 --- a/Tests/PubNubContractTest/Steps/EventEngine/PubNubSubscribeEngineContractTestsSteps.swift +++ b/Tests/PubNubContractTest/Steps/EventEngine/PubNubSubscribeEngineContractTestsSteps.swift @@ -11,7 +11,7 @@ import Cucumberish import Foundation -@testable import PubNub +@testable import PubNubSDK extension Subscribe.Invocation: ContractTestIdentifiable { var contractTestIdentifier: String { diff --git a/Tests/PubNubContractTest/Steps/Files/PubNubFilesContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Files/PubNubFilesContractTestSteps.swift index 0f907a32..8de81dfe 100644 --- a/Tests/PubNubContractTest/Steps/Files/PubNubFilesContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Files/PubNubFilesContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK public class PubNubFilesContractTestSteps: PubNubContractTestCase { override public func setup() { diff --git a/Tests/PubNubContractTest/Steps/History/PubNubHistoryContractTestSteps.swift b/Tests/PubNubContractTest/Steps/History/PubNubHistoryContractTestSteps.swift index 3c1cc2e3..e0721ee4 100644 --- a/Tests/PubNubContractTest/Steps/History/PubNubHistoryContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/History/PubNubHistoryContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK public class PubNubHistoryContractTestSteps: PubNubContractTestCase { override public func setup() { diff --git a/Tests/PubNubContractTest/Steps/Message Actions/PubNubMessageActionsContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Message Actions/PubNubMessageActionsContractTestSteps.swift index 41ea0f10..deffd1cf 100644 --- a/Tests/PubNubContractTest/Steps/Message Actions/PubNubMessageActionsContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Message Actions/PubNubMessageActionsContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK public class PubNubMessageActionsContractTestSteps: PubNubContractTestCase { override public func setup() { diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsChannelMetadataContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsChannelMetadataContractTestSteps.swift index f23e0565..552992d7 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsChannelMetadataContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsChannelMetadataContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK import XCTest public class PubNubObjectsChannelMetadataContractTestSteps: PubNubObjectsContractTests { diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsContractTests.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsContractTests.swift index f79e6697..831b413d 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsContractTests.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsContractTests.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK @objc public class PubNubObjectsContractTests: PubNubContractTestCase { public static var membershipMetadata: [String: PubNubTestMembershipForAction?] = [:] diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembersContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembersContractTestSteps.swift index 81099775..9f774825 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembersContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembersContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK import XCTest public class PubNubObjectsMembersContractTestSteps: PubNubObjectsContractTests { diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembershipsContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembershipsContractTestSteps.swift index f9e793ef..882fa2a6 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembershipsContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsMembershipsContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK import XCTest public class PubNubObjectsMembershipsContractTestSteps: PubNubObjectsContractTests { diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsTestHelpers.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsTestHelpers.swift index 9b5a3249..adbd75e6 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsTestHelpers.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsTestHelpers.swift @@ -9,7 +9,7 @@ // import Foundation -import PubNub +import PubNubSDK extension PubNubContractTestCase { /// Use entity name to compose path on JSON with it's representation. diff --git a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsUUIDMetadataContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsUUIDMetadataContractTestSteps.swift index 5ce0fbee..cbce935b 100644 --- a/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsUUIDMetadataContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Objects/PubNubObjectsUUIDMetadataContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK import XCTest public class PubNubObjectsUUIDMetadataContractTestSteps: PubNubObjectsContractTests { diff --git a/Tests/PubNubContractTest/Steps/Publish/PubNubPublishContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Publish/PubNubPublishContractTestSteps.swift index 115876d3..633171a9 100644 --- a/Tests/PubNubContractTest/Steps/Publish/PubNubPublishContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Publish/PubNubPublishContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK public class PubNubPublishContractTestSteps: PubNubContractTestCase { override public func setup() { diff --git a/Tests/PubNubContractTest/Steps/Push/PubNubPushContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Push/PubNubPushContractTestSteps.swift index e5d1709c..61c7af80 100644 --- a/Tests/PubNubContractTest/Steps/Push/PubNubPushContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Push/PubNubPushContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK public class PubNubPushContractTestSteps: PubNubContractTestCase { override public func setup() { diff --git a/Tests/PubNubContractTest/Steps/Subscribe/PubNubSubscribeContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Subscribe/PubNubSubscribeContractTestSteps.swift index 6f019fb2..0713ebe9 100644 --- a/Tests/PubNubContractTest/Steps/Subscribe/PubNubSubscribeContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Subscribe/PubNubSubscribeContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK public class PubNubSubscribeContractTestSteps: PubNubContractTestCase { fileprivate var cryptoModule: CryptoModule? diff --git a/Tests/PubNubContractTest/Steps/Utilities/PubNubTimeContractTestSteps.swift b/Tests/PubNubContractTest/Steps/Utilities/PubNubTimeContractTestSteps.swift index ebcd2ce3..1fccee13 100644 --- a/Tests/PubNubContractTest/Steps/Utilities/PubNubTimeContractTestSteps.swift +++ b/Tests/PubNubContractTest/Steps/Utilities/PubNubTimeContractTestSteps.swift @@ -10,7 +10,7 @@ import Cucumberish import Foundation -import PubNub +import PubNubSDK public class PubNubTimeContractTestSteps: PubNubContractTestCase { override public func setup() { diff --git a/Tests/PubNubTests/EventEngine/DispatcherTests.swift b/Tests/PubNubTests/EventEngine/DispatcherTests.swift index c1989c5d..a595347f 100644 --- a/Tests/PubNubTests/EventEngine/DispatcherTests.swift +++ b/Tests/PubNubTests/EventEngine/DispatcherTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK class DispatcherTests: XCTestCase { func testDispatcher_FinishingAnyInvocationNotifiesListener() { diff --git a/Tests/PubNubTests/EventEngine/EventEngineTests.swift b/Tests/PubNubTests/EventEngine/EventEngineTests.swift index fb5311f1..ba626a55 100644 --- a/Tests/PubNubTests/EventEngine/EventEngineTests.swift +++ b/Tests/PubNubTests/EventEngine/EventEngineTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK fileprivate var initialState: ExampleState { ExampleState( diff --git a/Tests/PubNubTests/EventEngine/Helpers/EffectInvocation+Equatable.swift b/Tests/PubNubTests/EventEngine/Helpers/EffectInvocation+Equatable.swift index d62cad9b..6a32c585 100644 --- a/Tests/PubNubTests/EventEngine/Helpers/EffectInvocation+Equatable.swift +++ b/Tests/PubNubTests/EventEngine/Helpers/EffectInvocation+Equatable.swift @@ -10,7 +10,7 @@ import Foundation -@testable import PubNub +@testable import PubNubSDK extension EffectInvocation: Equatable where Invocation: Equatable { public static func ==(lhs: EffectInvocation, rhs: EffectInvocation) -> Bool { diff --git a/Tests/PubNubTests/EventEngine/Presence/HeartbeatEffectTests.swift b/Tests/PubNubTests/EventEngine/Presence/HeartbeatEffectTests.swift index 4d78ef8f..af51cdc3 100644 --- a/Tests/PubNubTests/EventEngine/Presence/HeartbeatEffectTests.swift +++ b/Tests/PubNubTests/EventEngine/Presence/HeartbeatEffectTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK class HeartbeatEffectTests: XCTestCase { private var mockUrlSession: MockURLSession! diff --git a/Tests/PubNubTests/EventEngine/Presence/LeaveEffectTests.swift b/Tests/PubNubTests/EventEngine/Presence/LeaveEffectTests.swift index 00d6cefc..332bb9b3 100644 --- a/Tests/PubNubTests/EventEngine/Presence/LeaveEffectTests.swift +++ b/Tests/PubNubTests/EventEngine/Presence/LeaveEffectTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK class LeaveEffectTests: XCTestCase { private var mockUrlSession: MockURLSession! diff --git a/Tests/PubNubTests/EventEngine/Presence/PresenceTransitionTests.swift b/Tests/PubNubTests/EventEngine/Presence/PresenceTransitionTests.swift index fbf3b8f1..209540a2 100644 --- a/Tests/PubNubTests/EventEngine/Presence/PresenceTransitionTests.swift +++ b/Tests/PubNubTests/EventEngine/Presence/PresenceTransitionTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK extension Presence.Invocation: Equatable { public static func ==(lhs: Presence.Invocation, rhs: Presence.Invocation) -> Bool { diff --git a/Tests/PubNubTests/EventEngine/Presence/WaitEffectTests.swift b/Tests/PubNubTests/EventEngine/Presence/WaitEffectTests.swift index 92a54d30..d43d8e5a 100644 --- a/Tests/PubNubTests/EventEngine/Presence/WaitEffectTests.swift +++ b/Tests/PubNubTests/EventEngine/Presence/WaitEffectTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK class WaitEffectTests: XCTestCase { private var mockUrlSession: MockURLSession! diff --git a/Tests/PubNubTests/EventEngine/Subscribe/EmitMessagesTests.swift b/Tests/PubNubTests/EventEngine/Subscribe/EmitMessagesTests.swift index 324a3e30..c6d5f44c 100644 --- a/Tests/PubNubTests/EventEngine/Subscribe/EmitMessagesTests.swift +++ b/Tests/PubNubTests/EventEngine/Subscribe/EmitMessagesTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK fileprivate class MockListener: BaseSubscriptionListener { var onEmitMessagesCalled: ([SubscribeMessagePayload]) -> Void = { _ in } diff --git a/Tests/PubNubTests/EventEngine/Subscribe/EmitStatusTests.swift b/Tests/PubNubTests/EventEngine/Subscribe/EmitStatusTests.swift index 0ffc60d0..6a5b7414 100644 --- a/Tests/PubNubTests/EventEngine/Subscribe/EmitStatusTests.swift +++ b/Tests/PubNubTests/EventEngine/Subscribe/EmitStatusTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK fileprivate class MockListener: BaseSubscriptionListener { var onEmitSubscribeEventCalled: ((PubNubSubscribeEvent) -> Void) = { _ in } diff --git a/Tests/PubNubTests/EventEngine/Subscribe/SubscribeEffectsTests.swift b/Tests/PubNubTests/EventEngine/Subscribe/SubscribeEffectsTests.swift index 18a7edea..9649cfbf 100644 --- a/Tests/PubNubTests/EventEngine/Subscribe/SubscribeEffectsTests.swift +++ b/Tests/PubNubTests/EventEngine/Subscribe/SubscribeEffectsTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK class SubscribeEffectsTests: XCTestCase { private var mockUrlSession: MockURLSession! diff --git a/Tests/PubNubTests/EventEngine/Subscribe/SubscribeInputTests.swift b/Tests/PubNubTests/EventEngine/Subscribe/SubscribeInputTests.swift index 1f196567..42951785 100644 --- a/Tests/PubNubTests/EventEngine/Subscribe/SubscribeInputTests.swift +++ b/Tests/PubNubTests/EventEngine/Subscribe/SubscribeInputTests.swift @@ -10,7 +10,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK class SubscribeInputTests: XCTestCase { func test_ChannelsWithoutPresence() { diff --git a/Tests/PubNubTests/EventEngine/Subscribe/SubscribeTransitionTests.swift b/Tests/PubNubTests/EventEngine/Subscribe/SubscribeTransitionTests.swift index 79452f35..d7dddef2 100644 --- a/Tests/PubNubTests/EventEngine/Subscribe/SubscribeTransitionTests.swift +++ b/Tests/PubNubTests/EventEngine/Subscribe/SubscribeTransitionTests.swift @@ -11,7 +11,7 @@ import Foundation import XCTest -@testable import PubNub +@testable import PubNubSDK extension SubscribeState { func isEqual(to otherState: some SubscribeState) -> Bool { diff --git a/Tests/PubNubTests/Events/New/SubscriptionSetTests.swift b/Tests/PubNubTests/Events/New/SubscriptionSetTests.swift index 756c50ab..66223e41 100644 --- a/Tests/PubNubTests/Events/New/SubscriptionSetTests.swift +++ b/Tests/PubNubTests/Events/New/SubscriptionSetTests.swift @@ -9,7 +9,7 @@ // import XCTest -@testable import PubNub +@testable import PubNubSDK class SubscriptionSetTests: XCTestCase { private let pubnub = PubNub( diff --git a/Tests/PubNubTests/Events/New/SubscriptionTests.swift b/Tests/PubNubTests/Events/New/SubscriptionTests.swift index 143ed35b..2a538772 100644 --- a/Tests/PubNubTests/Events/New/SubscriptionTests.swift +++ b/Tests/PubNubTests/Events/New/SubscriptionTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class SubscriptionTests: XCTestCase { diff --git a/Tests/PubNubTests/Events/Old/EventStreamTests.swift b/Tests/PubNubTests/Events/Old/EventStreamTests.swift index af6ef7ba..c78c4636 100644 --- a/Tests/PubNubTests/Events/Old/EventStreamTests.swift +++ b/Tests/PubNubTests/Events/Old/EventStreamTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class EventStreamTests: XCTestCase { diff --git a/Tests/PubNubTests/Events/Old/SubscriptionStreamTests.swift b/Tests/PubNubTests/Events/Old/SubscriptionStreamTests.swift index 6e4d00e9..4ad1ba0e 100644 --- a/Tests/PubNubTests/Events/Old/SubscriptionStreamTests.swift +++ b/Tests/PubNubTests/Events/Old/SubscriptionStreamTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class SubscriptionListenerTests: XCTestCase { diff --git a/Tests/PubNubTests/Events/SessionStreamTests.swift b/Tests/PubNubTests/Events/SessionStreamTests.swift index 138913f8..25ecd158 100644 --- a/Tests/PubNubTests/Events/SessionStreamTests.swift +++ b/Tests/PubNubTests/Events/SessionStreamTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class SessionStreamTests: XCTestCase { diff --git a/Tests/PubNubTests/Events/SubscribeMessagesGeneratorTests.swift b/Tests/PubNubTests/Events/SubscribeMessagesGeneratorTests.swift index 1936d84f..a4f12ffe 100644 --- a/Tests/PubNubTests/Events/SubscribeMessagesGeneratorTests.swift +++ b/Tests/PubNubTests/Events/SubscribeMessagesGeneratorTests.swift @@ -9,7 +9,7 @@ // import Foundation -@testable import PubNub +@testable import PubNubSDK func mockMessagePayload( channel: String = "channel", diff --git a/Tests/PubNubTests/Extensions/Bool+PubNubTests.swift b/Tests/PubNubTests/Extensions/Bool+PubNubTests.swift index 74a0face..07f35d9f 100644 --- a/Tests/PubNubTests/Extensions/Bool+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Bool+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class BoolPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/Collection+PubNubTests.swift b/Tests/PubNubTests/Extensions/Collection+PubNubTests.swift index 57ca0b80..d12e4f5d 100644 --- a/Tests/PubNubTests/Extensions/Collection+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Collection+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class CollectionPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/Data+PubNubTests.swift b/Tests/PubNubTests/Extensions/Data+PubNubTests.swift index b88e169d..aef8fa43 100644 --- a/Tests/PubNubTests/Extensions/Data+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Data+PubNubTests.swift @@ -10,7 +10,7 @@ import Foundation -@testable import PubNub +@testable import PubNubSDK import XCTest final class DataPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/DateFormatter+PubNubTests.swift b/Tests/PubNubTests/Extensions/DateFormatter+PubNubTests.swift index d9a07a8b..92c50469 100644 --- a/Tests/PubNubTests/Extensions/DateFormatter+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/DateFormatter+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class DateFormatterPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/DispatchQueue+PubNub.swift b/Tests/PubNubTests/Extensions/DispatchQueue+PubNub.swift index 0cd7fdf2..f5be01dd 100644 --- a/Tests/PubNubTests/Extensions/DispatchQueue+PubNub.swift +++ b/Tests/PubNubTests/Extensions/DispatchQueue+PubNub.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class DispatchQueuePubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/Error+PubNubTests.swift b/Tests/PubNubTests/Extensions/Error+PubNubTests.swift index a1ca43d2..cb59f27b 100644 --- a/Tests/PubNubTests/Extensions/Error+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Error+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class ErrorPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/HTTPURLResponse+PubNubTests.swift b/Tests/PubNubTests/Extensions/HTTPURLResponse+PubNubTests.swift index 3cecb377..02ed8b5c 100644 --- a/Tests/PubNubTests/Extensions/HTTPURLResponse+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/HTTPURLResponse+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class HTTPURLResponsePubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/Int+PubNubTests.swift b/Tests/PubNubTests/Extensions/Int+PubNubTests.swift index b0adce54..8287c323 100644 --- a/Tests/PubNubTests/Extensions/Int+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Int+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class TimetokenTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/OperationQueue+PubNubTests.swift b/Tests/PubNubTests/Extensions/OperationQueue+PubNubTests.swift index 6fc87b1a..a64a4d39 100644 --- a/Tests/PubNubTests/Extensions/OperationQueue+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/OperationQueue+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class OperationQueuePubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/Set+PubNubTests.swift b/Tests/PubNubTests/Extensions/Set+PubNubTests.swift index 130fbe4d..87de458c 100644 --- a/Tests/PubNubTests/Extensions/Set+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/Set+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class SetPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/String+PubNubTests.swift b/Tests/PubNubTests/Extensions/String+PubNubTests.swift index 9620ee4c..b5e3a5fe 100644 --- a/Tests/PubNubTests/Extensions/String+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/String+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class StringPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/URL+PubNubTests.swift b/Tests/PubNubTests/Extensions/URL+PubNubTests.swift index 5f09679b..a395dac8 100644 --- a/Tests/PubNubTests/Extensions/URL+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/URL+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class URLPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/URLQueryItem+PubNubTests.swift b/Tests/PubNubTests/Extensions/URLQueryItem+PubNubTests.swift index 48d0abb7..2d739c18 100644 --- a/Tests/PubNubTests/Extensions/URLQueryItem+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/URLQueryItem+PubNubTests.swift @@ -9,7 +9,7 @@ // // -@testable import PubNub +@testable import PubNubSDK import XCTest final class URLQueryItemPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/URLRequest+PubNubTests.swift b/Tests/PubNubTests/Extensions/URLRequest+PubNubTests.swift index 1d5afd4b..33c88580 100644 --- a/Tests/PubNubTests/Extensions/URLRequest+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/URLRequest+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class URLRequestPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Extensions/URLSessionConfiguration+PubNubTests.swift b/Tests/PubNubTests/Extensions/URLSessionConfiguration+PubNubTests.swift index 16cd9396..82ff6ea9 100644 --- a/Tests/PubNubTests/Extensions/URLSessionConfiguration+PubNubTests.swift +++ b/Tests/PubNubTests/Extensions/URLSessionConfiguration+PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class URLSessionConfigurationPubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Helpers/AnyJSON+CodableTests.swift b/Tests/PubNubTests/Helpers/AnyJSON+CodableTests.swift index 3695f073..31d01e3d 100644 --- a/Tests/PubNubTests/Helpers/AnyJSON+CodableTests.swift +++ b/Tests/PubNubTests/Helpers/AnyJSON+CodableTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest // swiftlint:disable:next type_body_length diff --git a/Tests/PubNubTests/Helpers/AnyJSONTests.swift b/Tests/PubNubTests/Helpers/AnyJSONTests.swift index e26f8b56..30b5ba0f 100644 --- a/Tests/PubNubTests/Helpers/AnyJSONTests.swift +++ b/Tests/PubNubTests/Helpers/AnyJSONTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest struct SomeCodable: Codable, Equatable { diff --git a/Tests/PubNubTests/Helpers/AtomicTests.swift b/Tests/PubNubTests/Helpers/AtomicTests.swift index 5284a550..4d55e10b 100644 --- a/Tests/PubNubTests/Helpers/AtomicTests.swift +++ b/Tests/PubNubTests/Helpers/AtomicTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class AtomicTests: XCTestCase { diff --git a/Tests/PubNubTests/Helpers/ConstantsTests.swift b/Tests/PubNubTests/Helpers/ConstantsTests.swift index 414274df..8b5b8ab6 100644 --- a/Tests/PubNubTests/Helpers/ConstantsTests.swift +++ b/Tests/PubNubTests/Helpers/ConstantsTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest #if os(iOS) let osName = "iOS" diff --git a/Tests/PubNubTests/Helpers/CryptoTests.swift b/Tests/PubNubTests/Helpers/CryptoTests.swift index 868bd921..dc17115c 100644 --- a/Tests/PubNubTests/Helpers/CryptoTests.swift +++ b/Tests/PubNubTests/Helpers/CryptoTests.swift @@ -9,9 +9,10 @@ // import CommonCrypto -@testable import PubNub import XCTest +@testable import PubNubSDK + class CryptoTests: XCTestCase { func testEncryptDecrypt_Data() { let cryptoModule = CryptoModule.legacyCryptoModule(with: "SomeTestString") diff --git a/Tests/PubNubTests/Helpers/FlatJSONCodable+Test.swift b/Tests/PubNubTests/Helpers/FlatJSONCodable+Test.swift index 8166ffe0..a651e4f7 100644 --- a/Tests/PubNubTests/Helpers/FlatJSONCodable+Test.swift +++ b/Tests/PubNubTests/Helpers/FlatJSONCodable+Test.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class FlatJSONCodableTests: XCTestCase { diff --git a/Tests/PubNubTests/Helpers/PAMTokenTests.swift b/Tests/PubNubTests/Helpers/PAMTokenTests.swift index e11bb583..07e3ba64 100644 --- a/Tests/PubNubTests/Helpers/PAMTokenTests.swift +++ b/Tests/PubNubTests/Helpers/PAMTokenTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest // swiftlint:disable line_length diff --git a/Tests/PubNubTests/Helpers/ValidatedTests.swift b/Tests/PubNubTests/Helpers/ValidatedTests.swift index 3cc6eb85..d13962e9 100644 --- a/Tests/PubNubTests/Helpers/ValidatedTests.swift +++ b/Tests/PubNubTests/Helpers/ValidatedTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class ValidatedTests: XCTestCase { diff --git a/Tests/PubNubTests/Helpers/WeakBoxTests.swift b/Tests/PubNubTests/Helpers/WeakBoxTests.swift index bbef3d3c..116eed30 100644 --- a/Tests/PubNubTests/Helpers/WeakBoxTests.swift +++ b/Tests/PubNubTests/Helpers/WeakBoxTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class WeakBoxTests: XCTestCase { diff --git a/Tests/PubNubTests/Helpers/XMLCodingTests.swift b/Tests/PubNubTests/Helpers/XMLCodingTests.swift index 5c00cb66..da3bcd42 100644 --- a/Tests/PubNubTests/Helpers/XMLCodingTests.swift +++ b/Tests/PubNubTests/Helpers/XMLCodingTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class XMLCodingTests: XCTestCase { diff --git a/Tests/PubNubTests/Integration/ChannelObjectsEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/ChannelObjectsEndpointIntegrationTests.swift index f11a76b2..3bbfc6f5 100644 --- a/Tests/PubNubTests/Integration/ChannelObjectsEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/ChannelObjectsEndpointIntegrationTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -import PubNub +import PubNubSDK import XCTest class ChannelObjectsEndpointIntegrationTests: XCTestCase { diff --git a/Tests/PubNubTests/Integration/MessageActionsEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/MessageActionsEndpointIntegrationTests.swift index 16b4bcbc..3fb0eb5e 100644 --- a/Tests/PubNubTests/Integration/MessageActionsEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/MessageActionsEndpointIntegrationTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -import PubNub +import PubNubSDK import XCTest class MessageActionsEndpointIntegrationTests: XCTestCase { diff --git a/Tests/PubNubTests/Integration/OnboardingSnippets.swift b/Tests/PubNubTests/Integration/OnboardingSnippets.swift index 47a51444..d0ea16f5 100644 --- a/Tests/PubNubTests/Integration/OnboardingSnippets.swift +++ b/Tests/PubNubTests/Integration/OnboardingSnippets.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -import PubNub +import PubNubSDK import XCTest class OnboardingSnippets: XCTestCase { diff --git a/Tests/PubNubTests/Integration/PresenceEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/PresenceEndpointIntegrationTests.swift index 535e0a23..26443dbd 100644 --- a/Tests/PubNubTests/Integration/PresenceEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/PresenceEndpointIntegrationTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -import PubNub +import PubNubSDK import XCTest class PresenceEndpointIntegrationTests: XCTestCase { diff --git a/Tests/PubNubTests/Integration/PubNub+Integration.swift b/Tests/PubNubTests/Integration/PubNub+Integration.swift index f626306c..e42ca2d0 100644 --- a/Tests/PubNubTests/Integration/PubNub+Integration.swift +++ b/Tests/PubNubTests/Integration/PubNub+Integration.swift @@ -9,8 +9,7 @@ // import Foundation - -import PubNub +import PubNubSDK extension PubNub { func publishWithMessageAction( diff --git a/Tests/PubNubTests/Integration/PublishEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/PublishEndpointIntegrationTests.swift index 5fc0c138..ee3e092e 100644 --- a/Tests/PubNubTests/Integration/PublishEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/PublishEndpointIntegrationTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -import PubNub +import PubNubSDK import XCTest class PublishEndpointIntegrationTests: XCTestCase { diff --git a/Tests/PubNubTests/Integration/PushIntegrationTests.swift b/Tests/PubNubTests/Integration/PushIntegrationTests.swift index aeb957d7..d383a154 100644 --- a/Tests/PubNubTests/Integration/PushIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/PushIntegrationTests.swift @@ -7,9 +7,9 @@ // This source code is licensed under the license found in the // LICENSE file in the root directory of this source tree. // -import XCTest -import PubNub +import XCTest +import PubNubSDK class PushIntegrationTests: XCTestCase { let testsBundle = Bundle(for: PushIntegrationTests.self) diff --git a/Tests/PubNubTests/Integration/SubscriptionIntegrationTests.swift b/Tests/PubNubTests/Integration/SubscriptionIntegrationTests.swift index 5d868480..f1a17ec2 100644 --- a/Tests/PubNubTests/Integration/SubscriptionIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/SubscriptionIntegrationTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -import PubNub +import PubNubSDK import XCTest class SubscriptionIntegrationTests: XCTestCase { diff --git a/Tests/PubNubTests/Integration/UUIDObjectsEndpointIntegrationTests.swift b/Tests/PubNubTests/Integration/UUIDObjectsEndpointIntegrationTests.swift index 94561e05..5adc27ef 100644 --- a/Tests/PubNubTests/Integration/UUIDObjectsEndpointIntegrationTests.swift +++ b/Tests/PubNubTests/Integration/UUIDObjectsEndpointIntegrationTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -import PubNub +import PubNubSDK import XCTest class UUIDObjectsEndpointIntegrationTests: XCTestCase { diff --git a/Tests/PubNubTests/Mocking/ImportTestResource.swift b/Tests/PubNubTests/Mocking/ImportTestResource.swift index afe0d48c..bf3f91d2 100644 --- a/Tests/PubNubTests/Mocking/ImportTestResource.swift +++ b/Tests/PubNubTests/Mocking/ImportTestResource.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest enum ImportTestResourceError: Error, LocalizedError { diff --git a/Tests/PubNubTests/Mocking/MockRequestOperators.swift b/Tests/PubNubTests/Mocking/MockRequestOperators.swift index 7fa2fb21..be33a248 100644 --- a/Tests/PubNubTests/Mocking/MockRequestOperators.swift +++ b/Tests/PubNubTests/Mocking/MockRequestOperators.swift @@ -8,8 +8,8 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub import XCTest +@testable import PubNubSDK struct DefaultOperator: RequestOperator, Equatable { let uuid = UUID() diff --git a/Tests/PubNubTests/Mocking/MockURLSession.swift b/Tests/PubNubTests/Mocking/MockURLSession.swift index 72b9b500..f8960aff 100644 --- a/Tests/PubNubTests/Mocking/MockURLSession.swift +++ b/Tests/PubNubTests/Mocking/MockURLSession.swift @@ -9,7 +9,7 @@ // import Foundation -@testable import PubNub +@testable import PubNubSDK class MockURLSessionDataTask: URLSessionDataTask { weak var mockSession: MockURLSession? diff --git a/Tests/PubNubTests/Mocking/SessionStreamAwait.swift b/Tests/PubNubTests/Mocking/SessionStreamAwait.swift index cf08415a..dd2d29bf 100644 --- a/Tests/PubNubTests/Mocking/SessionStreamAwait.swift +++ b/Tests/PubNubTests/Mocking/SessionStreamAwait.swift @@ -9,9 +9,10 @@ // import Foundation -@testable import PubNub import XCTest +@testable import PubNubSDK + final class SessionExpector { public var expectations = [XCTestExpectation]() public var sessionListener: SessionListener diff --git a/Tests/PubNubTests/Mocking/TestLogWriter.swift b/Tests/PubNubTests/Mocking/TestLogWriter.swift index 33595e4d..7ea76920 100644 --- a/Tests/PubNubTests/Mocking/TestLogWriter.swift +++ b/Tests/PubNubTests/Mocking/TestLogWriter.swift @@ -9,7 +9,7 @@ // import Foundation -@testable import PubNub +@testable import PubNubSDK class TestSyncLogWriter: LogWriter { var executor: LogExecutable = LogExecutionType.sync(lock: NSRecursiveLock()) diff --git a/Tests/PubNubTests/Mocking/TestSetup.swift b/Tests/PubNubTests/Mocking/TestSetup.swift index a00b1b6d..af1a2920 100644 --- a/Tests/PubNubTests/Mocking/TestSetup.swift +++ b/Tests/PubNubTests/Mocking/TestSetup.swift @@ -9,7 +9,7 @@ // import Foundation -import PubNub +import PubNubSDK /// Anything that needs to be executed once can be placed inside the init class TestSetup: NSObject { diff --git a/Tests/PubNubTests/Mocking/XMLEncoder.swift b/Tests/PubNubTests/Mocking/XMLEncoder.swift index cec9ca8d..519041e3 100644 --- a/Tests/PubNubTests/Mocking/XMLEncoder.swift +++ b/Tests/PubNubTests/Mocking/XMLEncoder.swift @@ -10,7 +10,7 @@ import Foundation -@testable import PubNub +@testable import PubNubSDK /// `XMLEncoder` facilitates the encoding of `Encodable` values into XML. class XMLEncoder { diff --git a/Tests/PubNubTests/Networking/Operators/AutomaticRetryTests.swift b/Tests/PubNubTests/Networking/Operators/AutomaticRetryTests.swift index dd1d8577..73caa95b 100644 --- a/Tests/PubNubTests/Networking/Operators/AutomaticRetryTests.swift +++ b/Tests/PubNubTests/Networking/Operators/AutomaticRetryTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class AutomaticRetryTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Operators/RequestIdOperatorTests.swift b/Tests/PubNubTests/Networking/Operators/RequestIdOperatorTests.swift index 2b3b97ad..dbb2126a 100644 --- a/Tests/PubNubTests/Networking/Operators/RequestIdOperatorTests.swift +++ b/Tests/PubNubTests/Networking/Operators/RequestIdOperatorTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class RequestIdOperatorTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Operators/RequestMutatorTests.swift b/Tests/PubNubTests/Networking/Operators/RequestMutatorTests.swift index 6c5cbc0d..248bc0cc 100644 --- a/Tests/PubNubTests/Networking/Operators/RequestMutatorTests.swift +++ b/Tests/PubNubTests/Networking/Operators/RequestMutatorTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class RequestMutatorTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Operators/RequestRetrierTests.swift b/Tests/PubNubTests/Networking/Operators/RequestRetrierTests.swift index c2587bf2..25fe0f4e 100644 --- a/Tests/PubNubTests/Networking/Operators/RequestRetrierTests.swift +++ b/Tests/PubNubTests/Networking/Operators/RequestRetrierTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class RequestRetrierTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/ChannelGroupEndpointTests.swift b/Tests/PubNubTests/Networking/Routers/ChannelGroupEndpointTests.swift index fd49d8c7..2fd59019 100644 --- a/Tests/PubNubTests/Networking/Routers/ChannelGroupEndpointTests.swift +++ b/Tests/PubNubTests/Networking/Routers/ChannelGroupEndpointTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class ChannelGroupsRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/FileManagementRouterTests.swift b/Tests/PubNubTests/Networking/Routers/FileManagementRouterTests.swift index f67aa1e2..f9a2c237 100644 --- a/Tests/PubNubTests/Networking/Routers/FileManagementRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/FileManagementRouterTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class FileManagementRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/HistoryRouterTests.swift b/Tests/PubNubTests/Networking/Routers/HistoryRouterTests.swift index 594a8ea2..56d3895b 100644 --- a/Tests/PubNubTests/Networking/Routers/HistoryRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/HistoryRouterTests.swift @@ -9,7 +9,7 @@ // // swiftlint:disable file_length -@testable import PubNub +@testable import PubNubSDK import XCTest final class HistoryRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/MessageActionsRouterTests.swift b/Tests/PubNubTests/Networking/Routers/MessageActionsRouterTests.swift index cdb70e63..493798d0 100644 --- a/Tests/PubNubTests/Networking/Routers/MessageActionsRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/MessageActionsRouterTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class MessageActionsRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/ObjectsChannelRouterTests.swift b/Tests/PubNubTests/Networking/Routers/ObjectsChannelRouterTests.swift index f9911bac..d845d183 100644 --- a/Tests/PubNubTests/Networking/Routers/ObjectsChannelRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/ObjectsChannelRouterTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class ObjectsChannelRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/ObjectsMembershipsRouterTests.swift b/Tests/PubNubTests/Networking/Routers/ObjectsMembershipsRouterTests.swift index 5839cc2c..3815db0c 100644 --- a/Tests/PubNubTests/Networking/Routers/ObjectsMembershipsRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/ObjectsMembershipsRouterTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class ObjectsMembershipsRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/ObjectsUUIDRouterTests.swift b/Tests/PubNubTests/Networking/Routers/ObjectsUUIDRouterTests.swift index 6dec83f9..7ae7eba7 100644 --- a/Tests/PubNubTests/Networking/Routers/ObjectsUUIDRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/ObjectsUUIDRouterTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class ObjectsUUIDRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/PresenceRouterTests.swift b/Tests/PubNubTests/Networking/Routers/PresenceRouterTests.swift index 5f99cd96..8d4863bc 100644 --- a/Tests/PubNubTests/Networking/Routers/PresenceRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/PresenceRouterTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class PresenceRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/PublishRouterTests.swift b/Tests/PubNubTests/Networking/Routers/PublishRouterTests.swift index af50512f..3f220621 100644 --- a/Tests/PubNubTests/Networking/Routers/PublishRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/PublishRouterTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class PublishRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/PushRouterTests.swift b/Tests/PubNubTests/Networking/Routers/PushRouterTests.swift index 1ff8e6e6..71e40080 100644 --- a/Tests/PubNubTests/Networking/Routers/PushRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/PushRouterTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class PushRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Routers/SubscribeRouterTests.swift b/Tests/PubNubTests/Networking/Routers/SubscribeRouterTests.swift index 6d319a0a..7fcf3ece 100644 --- a/Tests/PubNubTests/Networking/Routers/SubscribeRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/SubscribeRouterTests.swift @@ -10,7 +10,7 @@ import XCTest -@testable import PubNub +@testable import PubNubSDK final class SubscribeRouterTests: XCTestCase { let config = PubNubConfiguration( diff --git a/Tests/PubNubTests/Networking/Routers/TimeRouterTests.swift b/Tests/PubNubTests/Networking/Routers/TimeRouterTests.swift index 76a0cc27..fb57cf90 100644 --- a/Tests/PubNubTests/Networking/Routers/TimeRouterTests.swift +++ b/Tests/PubNubTests/Networking/Routers/TimeRouterTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class TimeRouterTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Session+EndpointErrorTests.swift b/Tests/PubNubTests/Networking/Session+EndpointErrorTests.swift index ad47d5bb..1afaa19b 100644 --- a/Tests/PubNubTests/Networking/Session+EndpointErrorTests.swift +++ b/Tests/PubNubTests/Networking/Session+EndpointErrorTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class SessionEndpointErrorTests: XCTestCase { diff --git a/Tests/PubNubTests/Networking/Session+URLErrorTests.swift b/Tests/PubNubTests/Networking/Session+URLErrorTests.swift index ad3df63c..f3119fc5 100644 --- a/Tests/PubNubTests/Networking/Session+URLErrorTests.swift +++ b/Tests/PubNubTests/Networking/Session+URLErrorTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class SessionURLErrorTests: XCTestCase { diff --git a/Tests/PubNubTests/PubNubConfigurationTests.swift b/Tests/PubNubTests/PubNubConfigurationTests.swift index 2424ade5..258a3935 100644 --- a/Tests/PubNubTests/PubNubConfigurationTests.swift +++ b/Tests/PubNubTests/PubNubConfigurationTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class PubNubConfigurationTests: XCTestCase { diff --git a/Tests/PubNubTests/PubNubTests.swift b/Tests/PubNubTests/PubNubTests.swift index 8a1546ea..ee249d3b 100644 --- a/Tests/PubNubTests/PubNubTests.swift +++ b/Tests/PubNubTests/PubNubTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest final class PubNubTests: XCTestCase { diff --git a/Tests/PubNubTests/Push/PubNubPushTargetTests.swift b/Tests/PubNubTests/Push/PubNubPushTargetTests.swift index 05f19698..53abff2f 100644 --- a/Tests/PubNubTests/Push/PubNubPushTargetTests.swift +++ b/Tests/PubNubTests/Push/PubNubPushTargetTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class PubNubPushTargetTests: XCTestCase { diff --git a/Tests/PubNubTests/Subscription/SubscribeSessionFactoryTests.swift b/Tests/PubNubTests/Subscription/SubscribeSessionFactoryTests.swift index fa30d95c..f55bfe30 100644 --- a/Tests/PubNubTests/Subscription/SubscribeSessionFactoryTests.swift +++ b/Tests/PubNubTests/Subscription/SubscribeSessionFactoryTests.swift @@ -8,7 +8,7 @@ // LICENSE file in the root directory of this source tree. // -@testable import PubNub +@testable import PubNubSDK import XCTest class SubscribeSessionFactoryTests: XCTestCase { diff --git a/Tests/PubNubTests/Subscription/SubscriptionSessionTests.swift b/Tests/PubNubTests/Subscription/SubscriptionSessionTests.swift index fd182da2..c88464b0 100644 --- a/Tests/PubNubTests/Subscription/SubscriptionSessionTests.swift +++ b/Tests/PubNubTests/Subscription/SubscriptionSessionTests.swift @@ -27,7 +27,7 @@ import XCTest -@testable import PubNub +@testable import PubNubSDK class SubscriptionSessionTests: XCTestCase { let config = PubNubConfiguration(