Skip to content

Commit cfc3842

Browse files
committed
Merge pull request #358 from ParsePlatform/nlutsenko.modules.tests
Use clang modules for imports of all external modules in tests.
2 parents fc19b2e + 5a72414 commit cfc3842

34 files changed

+44
-46
lines changed

Tests/Unit/AlertViewTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
#import <UIKit/UIKit.h>
10+
@import UIKit;
1111

1212
#import <OCMock/OCMock.h>
1313

Tests/Unit/AnalyticsUnitTests.m

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

1010
#import <OCMock/OCMock.h>
1111

12-
#import <Bolts/BFTask.h>
12+
@import Bolts.BFTask;
1313

1414
#import "PFAnalyticsController.h"
1515
#import "PFUnitTestCase.h"

Tests/Unit/AnonymousAuthenticationProviderTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
#import <Bolts/BFTask.h>
10+
@import Bolts.BFTask;
1111

1212
#import "PFAnonymousAuthenticationProvider.h"
1313
#import "PFTestCase.h"

Tests/Unit/BaseStateTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
#import <libkern/OSAtomic.h>
10+
@import Darwin.libkern.OSAtomic;
1111

1212
#import "PFBaseState.h"
1313
#import "PFTestCase.h"

Tests/Unit/CloudCodeControllerTests.m

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

1010
#import <OCMock/OCMock.h>
1111

12-
#import <Bolts/BFTask.h>
12+
@import Bolts.BFTask;
1313

1414
#import "OCMock+Parse.h"
1515
#import "PFCloudCodeController.h"

Tests/Unit/ConfigControllerTests.m

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

1010
#import <OCMock/OCMock.h>
1111

12-
#import <Bolts/BFTask.h>
12+
@import Bolts.BFTask;
1313

1414
#import "OCMock+Parse.h"
1515
#import "PFCommandResult.h"

Tests/Unit/ConfigUnitTests.m

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

1010
#import <OCMock/OCMock.h>
1111

12-
#import <Bolts/BFTask.h>
12+
@import Bolts.BFTask;
1313

1414
#import "PFConfigController.h"
1515
#import "PFConfig_Private.h"

Tests/Unit/CurrentConfigControllerTests.m

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

1010
#import <OCMock/OCMock.h>
1111

12-
#import <Bolts/BFTask.h>
12+
@import Bolts.BFTask;
1313

1414
#import "PFCommandResult.h"
1515
#import "PFConfig.h"

Tests/Unit/DefaultACLControllerTests.m

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

1010
#import <OCMock/OCMock.h>
1111

12-
#import <Bolts/BFTask.h>
12+
@import Bolts.BFTask;
1313

1414
#import "PFACLPrivate.h"
1515
#import "PFCoreManager.h"

Tests/Unit/ExtensionDataSharingTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* of patent rights can be found in the PATENTS file in the same directory.
88
*/
99

10-
#import <Bolts/BFTask.h>
10+
@import Bolts.BFTask;
1111

1212
#import "PFExtensionDataSharingTestHelper.h"
1313
#import "PFFileManager.h"

0 commit comments

Comments
 (0)