Skip to content

Commit

Permalink
SPM - Auth unit tests (#6011)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Jul 9, 2020
1 parent 5f07a79 commit d33b8b3
Show file tree
Hide file tree
Showing 97 changed files with 193 additions and 83 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/spm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ jobs:
run: xcodebuild -scheme Firebase-Package test
- name: Core ObjC Unit Tests iOS
run: xcodebuild -scheme Firebase-Package test -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11'
- name: Core ObjC Unit Tests tvOS
run: xcodebuild -scheme Firebase-Package test -sdk appletvsimulator -destination 'platform=tvOS Simulator,name=Apple TV'
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRPhoneAuthCredential.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRAuthSettings.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Backend/FIRAuthBackend+MultiFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Backend/FIRAuthBackend.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Backend/FIRAuthBackend+MultiFactor.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Backend/FIRAuthBackend+MultiFactor.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/MultiFactor/FIRMultiFactor+Internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRMultiFactor.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/MultiFactor/FIRMultiFactor.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRMultiFactor.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRMultiFactorAssertion.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/MultiFactor/FIRMultiFactorAssertion.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRMultiFactorAssertion.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/MultiFactor/FIRMultiFactorConstants.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRMultiFactorInfo.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/MultiFactor/FIRMultiFactorInfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRMultiFactorInfo.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRMultiFactorResolver.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/MultiFactor/FIRMultiFactorResolver.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRAdditionalUserInfo.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRMultiFactorInfo.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/MultiFactor/FIRMultiFactorSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRAuth.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRPhoneAuthCredential.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRPhoneMultiFactorAssertion.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRPhoneMultiFactorAssertion.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRPhoneMultiFactorInfo.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FirebaseAuth/Sources/Public/FIRMultiFactorInfo.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRAuthAPNSTokenType.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRAuthUIDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRMultiFactor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRMultiFactorAssertion.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRMultiFactorInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRMultiFactorResolver.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import "FIRMultiFactor.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRMultiFactorSession.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRPhoneAuthCredential.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRPhoneAuthProvider.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRPhoneMultiFactorAssertion.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRPhoneMultiFactorGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Public/FIRPhoneMultiFactorInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if TARGET_OS_IOS

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/SystemService/FIRAuthAPNSToken.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/SystemService/FIRAuthAPNSToken.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import "FirebaseAuth/Sources/SystemService/FIRAuthAPNSToken.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import <Foundation/Foundation.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import <Foundation/Foundation.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import "FirebaseAuth/Sources/Auth/FIRAuthGlobalWorkQueue.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import <Foundation/Foundation.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Utilities/FIRAuthDefaultUIDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import <Foundation/Foundation.h>
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuth/Sources/Utilities/FIRAuthDefaultUIDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

#include <TargetConditionals.h>
#import <TargetConditionals.h>
#if !TARGET_OS_OSX

#import <UIKit/UIKit.h>
Expand Down
Loading

0 comments on commit d33b8b3

Please sign in to comment.