diff options
Diffstat (limited to 'Example/Analytics_Tests_iOS')
-rw-r--r-- | Example/Analytics_Tests_iOS/Analytics_Tests_iOS.m | 37 | ||||
-rw-r--r-- | Example/Analytics_Tests_iOS/DeprecatedHeaderTest.m | 21 | ||||
-rw-r--r-- | Example/Analytics_Tests_iOS/Info.plist | 22 |
3 files changed, 80 insertions, 0 deletions
diff --git a/Example/Analytics_Tests_iOS/Analytics_Tests_iOS.m b/Example/Analytics_Tests_iOS/Analytics_Tests_iOS.m new file mode 100644 index 0000000..2f7801b --- /dev/null +++ b/Example/Analytics_Tests_iOS/Analytics_Tests_iOS.m @@ -0,0 +1,37 @@ +// Copyright 2017 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#import <XCTest/XCTest.h> + +@interface Analytics_Tests_iOS : XCTestCase + +@end + +@implementation Analytics_Tests_iOS + +- (void)setUp { + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown { + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample { + // Replace with a real test if we ever want to do Analytics unit tests here. +} + +@end diff --git a/Example/Analytics_Tests_iOS/DeprecatedHeaderTest.m b/Example/Analytics_Tests_iOS/DeprecatedHeaderTest.m new file mode 100644 index 0000000..6d13042 --- /dev/null +++ b/Example/Analytics_Tests_iOS/DeprecatedHeaderTest.m @@ -0,0 +1,21 @@ +// Copyright 2017 Google +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +// Verify deprecated headers still exist. This file should be deleted at +// at the next major release when the headers are removed. + +#import <FirebaseAnalytics/FIRAnalyticsConfiguration.h> +#import <FirebaseAnalytics/FIRApp.h> +#import <FirebaseAnalytics/FIRConfiguration.h> +#import <FirebaseAnalytics/FIROptions.h> diff --git a/Example/Analytics_Tests_iOS/Info.plist b/Example/Analytics_Tests_iOS/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/Example/Analytics_Tests_iOS/Info.plist @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> +<plist version="1.0"> +<dict> + <key>CFBundleDevelopmentRegion</key> + <string>$(DEVELOPMENT_LANGUAGE)</string> + <key>CFBundleExecutable</key> + <string>$(EXECUTABLE_NAME)</string> + <key>CFBundleIdentifier</key> + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> + <key>CFBundleInfoDictionaryVersion</key> + <string>6.0</string> + <key>CFBundleName</key> + <string>$(PRODUCT_NAME)</string> + <key>CFBundlePackageType</key> + <string>BNDL</string> + <key>CFBundleShortVersionString</key> + <string>1.0</string> + <key>CFBundleVersion</key> + <string>1</string> +</dict> +</plist> |