Skip to content

Commit 2660d49

Browse files
authored
ABTesting - Repo-relative imports and SwiftPM (#6013)
1 parent 744fd18 commit 2660d49

19 files changed

+52
-26
lines changed

FirebaseABTesting.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'FirebaseABTesting'
3-
s.version = '4.0.0'
3+
s.version = '4.1.0'
44
s.summary = 'Firebase ABTesting'
55

66
s.description = <<-DESC

FirebaseABTesting/Sources/ABTConditionalUserPropertyController.m

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

1515
#import "FirebaseABTesting/Sources/ABTConditionalUserPropertyController.h"
1616

17-
#import <FirebaseABTesting/FIRLifecycleEvents.h>
1817
#import "FirebaseABTesting/Sources/ABTConstants.h"
18+
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
1919
#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
2020
#import "Interop/Analytics/Public/FIRAnalyticsInterop.h"
2121

FirebaseABTesting/Sources/FIRExperimentController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import <FirebaseABTesting/FIRExperimentController.h>
15+
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
1616

17-
#import <FirebaseABTesting/FIRLifecycleEvents.h>
1817
#import "FirebaseABTesting/Sources/ABTConditionalUserPropertyController.h"
1918
#import "FirebaseABTesting/Sources/ABTConstants.h"
2019
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
20+
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
2121
#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
2222

2323
#import "Interop/Analytics/Public/FIRAnalyticsInterop.h"

FirebaseABTesting/Sources/FIRLifecycleEvents.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import <FirebaseABTesting/FIRLifecycleEvents.h>
15+
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
1616

17-
#import <FirebaseABTesting/FIRExperimentController.h>
17+
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
1818

1919
/// Default name of the analytics event to be logged when an experiment is set.
2020
NSString *const FIRSetExperimentEventName = @"_exp_set";

FirebaseABTesting/Tests/Unit/ABTConditionalUserPropertyControllerTest.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
// limitations under the License.
1414

1515
#import <XCTest/XCTest.h>
16+
#import "OCMock.h"
1617

17-
#import <FirebaseABTesting/FIRExperimentController.h>
18-
#import <FirebaseABTesting/FIRLifecycleEvents.h>
19-
#import <OCMock/OCMock.h>
2018
#import "FirebaseABTesting/Sources/ABTConditionalUserPropertyController.h"
2119
#import "FirebaseABTesting/Sources/ABTConstants.h"
2220
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
21+
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
22+
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
2323
#import "FirebaseABTesting/Tests/Unit/ABTFakeFIRAConditionalUserPropertyController.h"
2424
#import "FirebaseABTesting/Tests/Unit/ABTTestUniversalConstants.h"
2525
#import "FirebaseABTesting/Tests/Unit/Utilities/ABTTestUtilities.h"

FirebaseABTesting/Tests/Unit/FIRExperimentControllerTest.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
// limitations under the License.
1414

1515
#import <XCTest/XCTest.h>
16+
#import "OCMock.h"
1617

17-
#import <FirebaseABTesting/FIRExperimentController.h>
18-
#import <FirebaseABTesting/FIRLifecycleEvents.h>
19-
#import <OCMock/OCMock.h>
2018
#import "FirebaseABTesting/Sources/ABTConditionalUserPropertyController.h"
2119
#import "FirebaseABTesting/Sources/ABTConstants.h"
2220
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
21+
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
22+
#import "FirebaseABTesting/Sources/Public/FIRLifecycleEvents.h"
2323
#import "FirebaseABTesting/Tests/Unit/ABTFakeFIRAConditionalUserPropertyController.h"
2424
#import "FirebaseABTesting/Tests/Unit/ABTTestUniversalConstants.h"
2525
#import "FirebaseABTesting/Tests/Unit/Utilities/ABTTestUtilities.h"

FirebaseABTesting/Tests/Unit/Utilities/ABTTestUtilities.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
#import "ABTTestUtilities.h"
15+
#import "FirebaseABTesting/Tests/Unit/Utilities/ABTTestUtilities.h"
1616

1717
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
1818

FirebaseInAppMessaging.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ See more product details at https://firebase.google.com/products/in-app-messagin
5151

5252
s.dependency 'FirebaseCore', '~> 6.8'
5353
s.dependency 'FirebaseInstallations', '~> 1.1'
54-
s.dependency 'FirebaseABTesting', '~> 4.0'
54+
s.dependency 'FirebaseABTesting', '~> 4.1'
5555
s.dependency 'GoogleUtilities/Environment', '~> 6.7'
5656
s.dependency 'nanopb', '~> 1.30905.0'
5757

FirebaseInAppMessaging/Sources/Data/FIRIAMFetchResponseParser.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#import "FIRIAMTimeFetcher.h"
2626
#import "UIColor+FIRIAMHexString.h"
2727

28-
#import <FirebaseABTesting/ABTExperimentPayload.h>
28+
#import "FirebaseABTesting/Sources/Private/ABTExperimentPayload.h"
2929

3030
@interface FIRIAMFetchResponseParser ()
3131
@property(nonatomic) id<FIRIAMTimeFetcher> timeFetcher;

FirebaseInAppMessaging/Sources/Flows/FIRIAMDisplayExecutor.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#import "FIRInAppMessaging.h"
2727
#import "FIRInAppMessagingRenderingPrivate.h"
2828

29-
#import <FirebaseABTesting/FIRExperimentController.h>
29+
#import "FirebaseABTesting/Sources/Public/FIRExperimentController.h"
3030

3131
@implementation FIRIAMDisplaySetting
3232
@end

0 commit comments

Comments
 (0)