Skip to content

Commit 213c74c

Browse files
rename to add namespace LP (#252)
1 parent 61edbda commit 213c74c

Some content is hidden

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

44 files changed

+148
-148
lines changed

Example/Leanplum-SDK.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@
738738
files = (
739739
);
740740
inputPaths = (
741-
"${SRCROOT}/Pods/Target Support Files/Pods-Leanplum-SDK_Example/Pods-Leanplum-SDK_Example-frameworks.sh",
741+
"${PODS_ROOT}/Target Support Files/Pods-Leanplum-SDK_Example/Pods-Leanplum-SDK_Example-frameworks.sh",
742742
"${BUILT_PRODUCTS_DIR}/Leanplum-iOS-SDK-source/Leanplum.framework",
743743
);
744744
name = "[CP] Embed Pods Frameworks";
@@ -747,7 +747,7 @@
747747
);
748748
runOnlyForDeploymentPostprocessing = 0;
749749
shellPath = /bin/sh;
750-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Leanplum-SDK_Example/Pods-Leanplum-SDK_Example-frameworks.sh\"\n";
750+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Leanplum-SDK_Example/Pods-Leanplum-SDK_Example-frameworks.sh\"\n";
751751
showEnvVarsInLog = 0;
752752
};
753753
AA36E9F20FC263CA34118B64 /* [CP] Check Pods Manifest.lock */ = {
@@ -774,7 +774,7 @@
774774
files = (
775775
);
776776
inputPaths = (
777-
"${SRCROOT}/Pods/Target Support Files/Pods-Leanplum-tvOS-SDK_Example/Pods-Leanplum-tvOS-SDK_Example-frameworks.sh",
777+
"${PODS_ROOT}/Target Support Files/Pods-Leanplum-tvOS-SDK_Example/Pods-Leanplum-tvOS-SDK_Example-frameworks.sh",
778778
"${BUILT_PRODUCTS_DIR}/Leanplum-tvOS-SDK-source/LeanplumTV.framework",
779779
);
780780
name = "[CP] Embed Pods Frameworks";
@@ -783,7 +783,7 @@
783783
);
784784
runOnlyForDeploymentPostprocessing = 0;
785785
shellPath = /bin/sh;
786-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Leanplum-tvOS-SDK_Example/Pods-Leanplum-tvOS-SDK_Example-frameworks.sh\"\n";
786+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Leanplum-tvOS-SDK_Example/Pods-Leanplum-tvOS-SDK_Example-frameworks.sh\"\n";
787787
showEnvVarsInLog = 0;
788788
};
789789
FA2F5E81596313863FEAD800 /* [CP] Embed Pods Frameworks */ = {
@@ -792,7 +792,7 @@
792792
files = (
793793
);
794794
inputPaths = (
795-
"${SRCROOT}/Pods/Target Support Files/Pods-Leanplum-SDK_Tests/Pods-Leanplum-SDK_Tests-frameworks.sh",
795+
"${PODS_ROOT}/Target Support Files/Pods-Leanplum-SDK_Tests/Pods-Leanplum-SDK_Tests-frameworks.sh",
796796
"${BUILT_PRODUCTS_DIR}/Leanplum-iOS-SDK-source/Leanplum.framework",
797797
"${BUILT_PRODUCTS_DIR}/OCMock/OCMock.framework",
798798
"${BUILT_PRODUCTS_DIR}/OHHTTPStubs/OHHTTPStubs.framework",
@@ -805,7 +805,7 @@
805805
);
806806
runOnlyForDeploymentPostprocessing = 0;
807807
shellPath = /bin/sh;
808-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Leanplum-SDK_Tests/Pods-Leanplum-SDK_Tests-frameworks.sh\"\n";
808+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Leanplum-SDK_Tests/Pods-Leanplum-SDK_Tests-frameworks.sh\"\n";
809809
showEnvVarsInLog = 0;
810810
};
811811
/* End PBXShellScriptBuildPhase section */

Example/Tests/Classes/ExceptionsTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#import "Leanplum+Extensions.h"
3434
#import "LeanplumReachability+Category.h"
3535
#import "LPActionManager.h"
36-
#import "Constants.h"
36+
#import "LPConstants.h"
3737
#import "LPRegisterDevice.h"
3838

3939
@interface ExceptionsTest : XCTestCase

Example/Tests/Classes/LPAppIconManagerTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#import "LPAppIconManager.h"
3030
#import "LeanplumHelper.h"
3131
#import "LPVarCache.h"
32-
#import "Constants.h"
32+
#import "LPConstants.h"
3333
#import "LeanplumRequest+Categories.h"
3434
#import "LPJSON.h"
3535

Example/Tests/Classes/LPCountAggregatorTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#import <XCTest/XCTest.h>
2727
#import <OCMock/OCMock.h>
2828
#import "LPCountAggregator.h"
29-
#import "Constants.h"
29+
#import "LPConstants.h"
3030
#import "LeanplumRequest.h"
3131

3232
/**

Example/Tests/Classes/LPEventDataManagerTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#import "LeanplumHelper.h"
3030
#import "LPEventDataManager.h"
3131
#import "LPDatabase.h"
32-
#import "Constants.h"
32+
#import "LPConstants.h"
3333
#import "LeanplumRequest+Categories.h"
3434
#import "LPNetworkEngine+Category.h"
3535
#import "LeanplumReachability+Category.h"

Example/Tests/Classes/LPFeatureFlagManagerTest.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 "LPFeatureFlagManager.h"
11-
#import "Constants.h"
11+
#import "LPConstants.h"
1212

1313
@interface LPFeatureFlagManagerTest : XCTestCase
1414

Example/Tests/Classes/LPFileManagerTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#import "LeanplumRequest+Categories.h"
3232
#import "LPNetworkEngine+Category.h"
3333
#import "Leanplum+Extensions.h"
34-
#import "Constants.h"
34+
#import "LPConstants.h"
3535

3636
/**
3737
* Tests file manager public methods.

Example/Tests/Classes/LPMessageTemplatesClassTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#import "LeanplumRequest+Categories.h"
3232
#import "Leanplum+Extensions.h"
3333
#import "LPActionManager.h"
34-
#import "Constants.h"
34+
#import "LPConstants.h"
3535
#import "LPRegisterDevice.h"
3636
#import "LPMessageTemplates.h"
3737

Example/Tests/Classes/LPUtilsTest.m

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#import <XCTest/XCTest.h>
2727
#import "NSString+MD5Addition.h"
28-
#import "Utils.h"
28+
#import "LPUtils.h"
2929

3030
@interface LPUtilsTest : XCTestCase
3131

@@ -50,32 +50,32 @@ - (void)test_md5 {
5050
}
5151

5252
- (void)test_isNullOrEmpty {
53-
XCTAssertTrue([Utils isNullOrEmpty:nil]);
54-
XCTAssertTrue([Utils isNullOrEmpty:@""]);
55-
XCTAssertTrue([Utils isNullOrEmpty:@[]]);
56-
XCTAssertTrue([Utils isNullOrEmpty:@{}]);
57-
XCTAssertFalse([Utils isNullOrEmpty:@"test"]);
58-
XCTAssertFalse([Utils isNullOrEmpty:@[@"test"]]);
59-
XCTAssertFalse([Utils isNullOrEmpty:@{@"test":@""}]);
53+
XCTAssertTrue([LPUtils isNullOrEmpty:nil]);
54+
XCTAssertTrue([LPUtils isNullOrEmpty:@""]);
55+
XCTAssertTrue([LPUtils isNullOrEmpty:@[]]);
56+
XCTAssertTrue([LPUtils isNullOrEmpty:@{}]);
57+
XCTAssertFalse([LPUtils isNullOrEmpty:@"test"]);
58+
XCTAssertFalse([LPUtils isNullOrEmpty:@[@"test"]]);
59+
XCTAssertFalse([LPUtils isNullOrEmpty:@{@"test":@""}]);
6060
}
6161

6262
- (void)test_isBlank {
63-
XCTAssertTrue([Utils isBlank:@""]);
64-
XCTAssertTrue([Utils isBlank:@" "]);
65-
XCTAssertTrue([Utils isBlank:@" "]);
66-
XCTAssertFalse([Utils isBlank:@" test "]);
63+
XCTAssertTrue([LPUtils isBlank:@""]);
64+
XCTAssertTrue([LPUtils isBlank:@" "]);
65+
XCTAssertTrue([LPUtils isBlank:@" "]);
66+
XCTAssertFalse([LPUtils isBlank:@" test "]);
6767
}
6868

6969
- (void)test_md5OfData {
7070
NSData *data = [@"test_string" dataUsingEncoding:NSUTF8StringEncoding];
7171
NSString *expectedSring = @"3474851a3410906697ec77337df7aae4";
72-
XCTAssertEqualObjects([Utils md5OfData:data], expectedSring);
72+
XCTAssertEqualObjects([LPUtils md5OfData:data], expectedSring);
7373
}
7474

7575
- (void)test_base64EncodedStringFromData {
7676
NSData *data = [@"test_string" dataUsingEncoding:NSUTF8StringEncoding];
7777
NSString *expectedSring = @"dGVzdF9zdHJpbmc=";
78-
NSString *base64String = [Utils base64EncodedStringFromData:data];
78+
NSString *base64String = [LPUtils base64EncodedStringFromData:data];
7979
XCTAssertEqualObjects(base64String, expectedSring);
8080
}
8181

Example/Tests/Classes/LeanplumTest.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#import "LPActionManager.h"
3636
#import "LPCountaggregator.h"
3737
#import "LPFeatureFlagManager.h"
38-
#import "Constants.h"
38+
#import "LPConstants.h"
3939
#import "LPRegisterDevice.h"
4040
#import "Leanplum.h"
4141

0 commit comments

Comments
 (0)