Skip to content

Commit 67862dc

Browse files
committed
Phase 2: Test reorganization and modernization
Changes: - Add new BranchSDKTests/ directory with 48 test files - Comprehensive unit tests for SDK components - Modern XCTest-based test structure - Includes test plan and Info.plist - Update Branch-TestBed/ (28 files modified) - Modernize imports from #import to @import BranchSDK - Update bridging header - Update Xcode schemes - Update project configuration Test Organization: - BranchSDKTests/: New comprehensive test suite - Branch-TestBed/: Updated integration tests - All tests use modern import style (@import) Build Status: ✅ SDK build successful Test Files: 76 files changed (48 new, 28 modified) Note: TestDeepLinking removal will be handled separately
1 parent 2d5f7a5 commit 67862dc

File tree

75 files changed

+8469
-430
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+8469
-430
lines changed

Branch-TestBed/Branch-SDK-Tests/BNCAPIServerTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#import "BNCSystemObserver.h"
1212
#import "BNCConfig.h"
1313
#import "BranchConstants.h"
14-
#import "Branch.h"
14+
@import BranchSDK;
1515

1616
@interface BNCAPIServerTest : XCTestCase
1717

Branch-TestBed/Branch-SDK-Tests/BNCODMTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <XCTest/XCTest.h>
10-
#import "Branch.h"
10+
@import BranchSDK;
1111
#import "BNCPreferenceHelper.h"
1212
#import "BNCRequestFactory.h"
1313
#import "BNCEncodingUtils.h"

Branch-TestBed/Branch-SDK-Tests/BNCPasteboardTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import <XCTest/XCTest.h>
1010
#import "BNCPasteboard.h"
11-
#import "Branch.h"
11+
@import BranchSDK;
1212

1313
@interface BNCPasteboardTests : XCTestCase
1414

Branch-TestBed/Branch-SDK-Tests/BNCPreferenceHelperTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#import <XCTest/XCTest.h>
1010
#import "BNCPreferenceHelper.h"
1111
#import "BNCEncodingUtils.h"
12-
#import "Branch.h"
12+
@import BranchSDK;
1313
#import "BNCConfig.h"
1414

1515
@interface BNCPreferenceHelper()

Branch-TestBed/Branch-SDK-Tests/Branch-SDK-Tests-Bridging-Header.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
// Module headers for Branch SDK unit testing.
33
//
44

5-
#import "Branch.h"
5+
@import BranchSDK;

Branch-TestBed/Branch-SDK-Tests/BranchActivityItemTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <XCTest/XCTest.h>
10-
#import "Branch.h"
10+
@import BranchSDK;
1111

1212
@interface BranchActivityItemTests: XCTestCase
1313
@end

Branch-TestBed/Branch-SDK-Tests/BranchClassTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <XCTest/XCTest.h>
10-
#import "Branch.h"
10+
@import BranchSDK;
1111
#import "BranchConstants.h"
1212
#import "BNCPasteboard.h"
1313
#import "BNCAppGroupsData.h"

Branch-TestBed/Branch-SDK-Tests/BranchLoggerTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#import <XCTest/XCTest.h>
1010
#import "BranchLogger.h"
11-
#import "Branch.h"
11+
@import BranchSDK;
1212

1313
@interface BranchLoggerTests : XCTestCase
1414

Branch-TestBed/Branch-SDK-Tests/BranchQRCodeTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <XCTest/XCTest.h>
10-
#import "Branch.h"
10+
@import BranchSDK;
1111
#import "BranchQRCode.h"
1212
#import "BNCQRCodeCache.h"
1313

Branch-TestBed/Branch-SDK-Tests/BranchShareLinkTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#import <XCTest/XCTest.h>
1010
#import "BranchShareLink.h"
1111
#import "BranchLinkProperties.h"
12-
#import "Branch.h"
12+
@import BranchSDK;
1313

1414
@interface BranchShareLinkTests : XCTestCase
1515

0 commit comments

Comments
 (0)