aboutsummaryrefslogtreecommitdiffhomepage
path: root/Functions
diff options
context:
space:
mode:
authorGravatar Ben Hamilton (Ben Gertzfield) <bhamiltoncx@gmail.com>2018-03-29 09:44:48 -0600
committerGravatar Paul Beusterien <paulbeusterien@google.com>2018-03-29 08:44:48 -0700
commitcb1f65dfcf78a6cfc11915c2c5695fa023cf3e09 (patch)
tree51ffdb63e1e461a1af1ce7e28291f2c40e5bb834 /Functions
parent13ff01e20ca796676ba74d0b99065199eca9d309 (diff)
Migrate Firebase off ObjC module @import statements (#992)
* Migrate Firebase off @import statements * - Migrate tests and test utils from @import to #import. - Update Xcode projects for tests to explicitly link in framework deps. - Update check_no_module_imports.sh to look for @imports in tests/test utils/ integration tests. * Ensure check_no_module_imports.sh explicitly exits with code 0 on success.
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Example/IntegrationTests/FIRIntegrationTests.m2
-rw-r--r--Functions/Example/TestUtils/FUNFakeApp.m2
-rw-r--r--Functions/Example/Tests/FIRFunctionsTests.m2
-rw-r--r--Functions/Example/Tests/FUNSerializerTests.m2
4 files changed, 5 insertions, 3 deletions
diff --git a/Functions/Example/IntegrationTests/FIRIntegrationTests.m b/Functions/Example/IntegrationTests/FIRIntegrationTests.m
index 15a5af5..bd4b127 100644
--- a/Functions/Example/IntegrationTests/FIRIntegrationTests.m
+++ b/Functions/Example/IntegrationTests/FIRIntegrationTests.m
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-@import XCTest;
+#import <XCTest/XCTest.h>
#import "FIRError.h"
#import "FIRFunctions+Internal.h"
diff --git a/Functions/Example/TestUtils/FUNFakeApp.m b/Functions/Example/TestUtils/FUNFakeApp.m
index 5b31d01..370273b 100644
--- a/Functions/Example/TestUtils/FUNFakeApp.m
+++ b/Functions/Example/TestUtils/FUNFakeApp.m
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#import <Foundation/Foundation.h>
+
#import "FUNFakeApp.h"
NS_ASSUME_NONNULL_BEGIN
diff --git a/Functions/Example/Tests/FIRFunctionsTests.m b/Functions/Example/Tests/FIRFunctionsTests.m
index bec96e6..5d11601 100644
--- a/Functions/Example/Tests/FIRFunctionsTests.m
+++ b/Functions/Example/Tests/FIRFunctionsTests.m
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-@import XCTest;
+#import <XCTest/XCTest.h>
#import "FIRFunctions+Internal.h"
#import "FIRFunctions.h"
diff --git a/Functions/Example/Tests/FUNSerializerTests.m b/Functions/Example/Tests/FUNSerializerTests.m
index 707c3e7..ca2198e 100644
--- a/Functions/Example/Tests/FUNSerializerTests.m
+++ b/Functions/Example/Tests/FUNSerializerTests.m
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-@import XCTest;
+#import <XCTest/XCTest.h>
#import "FIRError.h"
#import "FUNSerializer.h"