Skip to content

Commit 670845a

Browse files
authored
Add Auth Swift API tests (#5517)
1 parent 9fdf818 commit 670845a

File tree

20 files changed

+794
-24
lines changed

20 files changed

+794
-24
lines changed

.github/workflows/auth.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
FirebaseAuth/Tests/Sample/Sample/GoogleService-Info_multi.plist "$plist_secret"
5151
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Sample.entitlements.gpg \
5252
FirebaseAuth/Tests/Sample/Sample/Sample.entitlements "$plist_secret"
53+
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/AuthSample/Credentials.swift.gpg \
54+
FirebaseAuth/Tests/Sample/SwiftApiTests/Credentials.swift "$plist_secret"
5355
5456
- name: BuildAndTest # can be replaced with pod lib lint with CocoaPods 1.10
5557
run: ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/build.sh Auth iOS)

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ FirebaseAuth/Tests/Sample/Sample/GoogleService-Info_multi.plist
44
FirebaseAuth/Tests/Sample/Sample/GoogleService-Info.plist
55
FirebaseAuth/Tests/Sample/Sample/Sample.entitlements
66
FirebaseAuth/Tests/Sample/ApiTests/AuthCredentials.h
7+
FirebaseAuth/Tests/Sample/SwiftApiTests/Credentials.swift
78

89
Example/Database/App/GoogleService-Info.plist
910

FirebaseAuth/Tests/Sample/ApiTests/FacebookAuthTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ - (void)testLinkAnonymousAccountToFacebookAccount {
9696
[auth.currentUser linkWithCredential:credential
9797
completion:^(FIRAuthDataResult *result, NSError *error) {
9898
if (error) {
99-
NSLog(@"Link to Facebok error: %@", error);
99+
NSLog(@"Link to Facebook error: %@", error);
100100
}
101101
[expectation fulfill];
102102
}];

FirebaseAuth/Tests/Sample/ApiTests/GoogleAuthTests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#import "FIRAuthApiTestsBase.h"
2020

21-
static NSString *kGoogleCliendId = KGOOGLE_CLIENT_ID;
21+
static NSString *kGoogleClientID = KGOOGLE_CLIENT_ID;
2222

2323
static NSString *const kGoogleTestAccountName = KGOOGLE_USER_NAME;
2424

@@ -78,7 +78,7 @@ - (NSDictionary *)getGoogleAccessToken {
7878
NSString *googleOauth2TokenServerUrl = @"https://www.googleapis.com/oauth2/v4/token";
7979
NSString *bodyString =
8080
[NSString stringWithFormat:@"client_id=%@&grant_type=refresh_token&refresh_token=%@",
81-
kGoogleCliendId, kGoogleTestAccountRefreshToken];
81+
kGoogleClientID, kGoogleTestAccountRefreshToken];
8282
NSData *postData = [bodyString dataUsingEncoding:NSUTF8StringEncoding];
8383
GTMSessionFetcherService *service = [[GTMSessionFetcherService alloc] init];
8484
GTMSessionFetcher *fetcher = [service fetcherWithURLString:googleOauth2TokenServerUrl];

FirebaseAuth/Tests/Sample/AuthSample.xcodeproj/project.pbxproj

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88

99
/* Begin PBXBuildFile section */
1010
400283EA23EA254B0006A298 /* MainViewController+MultiFactor.m in Sources */ = {isa = PBXBuildFile; fileRef = 400283E923EA254A0006A298 /* MainViewController+MultiFactor.m */; };
11+
DE1865AC245B879B00F8AD70 /* TestsBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE1865AB245B879B00F8AD70 /* TestsBase.swift */; };
12+
DE1865AE245B8A1400F8AD70 /* AnonymousTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE1865AD245B8A1400F8AD70 /* AnonymousTests.swift */; };
13+
DE1865B2245C7A2B00F8AD70 /* EmailPasswordTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE1865B1245C7A2B00F8AD70 /* EmailPasswordTests.swift */; };
14+
DE1865B4245C92A600F8AD70 /* GoogleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE1865B3245C92A600F8AD70 /* GoogleTests.swift */; };
15+
DE1865B6245C95DA00F8AD70 /* Credentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE1865B5245C95DA00F8AD70 /* Credentials.swift */; };
16+
DE1865B8245CC6FC00F8AD70 /* FacebookTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE1865B7245CC6FC00F8AD70 /* FacebookTests.swift */; };
1117
DE800B4722A2F8AF00AC9A23 /* MainViewController+Custom.m in Sources */ = {isa = PBXBuildFile; fileRef = DE800B1122A2F8AF00AC9A23 /* MainViewController+Custom.m */; };
1218
DE800B4822A2F8AF00AC9A23 /* SettingsViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DE800B1222A2F8AF00AC9A23 /* SettingsViewController.m */; };
1319
DE800B4922A2F8AF00AC9A23 /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = DE800B1322A2F8AF00AC9A23 /* MainViewController.xib */; };
@@ -39,6 +45,7 @@
3945
DE800B6422A2F8AF00AC9A23 /* AuthProviders.m in Sources */ = {isa = PBXBuildFile; fileRef = DE800B4522A2F8AF00AC9A23 /* AuthProviders.m */; };
4046
DE800B6722A2FF7300AC9A23 /* GoogleService-Info_multi.plist in Resources */ = {isa = PBXBuildFile; fileRef = DE800B6522A2FF7300AC9A23 /* GoogleService-Info_multi.plist */; };
4147
DE800B6822A2FF7300AC9A23 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = DE800B6622A2FF7300AC9A23 /* GoogleService-Info.plist */; };
48+
DEBEF60E245247A0005E1A8F /* AccountInfoTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEBEF60D245247A0005E1A8F /* AccountInfoTests.swift */; };
4249
DED400B0243E56F500BF6D56 /* FacebookAuthTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DED400A4243E56F500BF6D56 /* FacebookAuthTests.m */; };
4350
DED400B1243E56F500BF6D56 /* generate_refresh_token.sh in Resources */ = {isa = PBXBuildFile; fileRef = DED400A5243E56F500BF6D56 /* generate_refresh_token.sh */; };
4451
DED400B3243E56F500BF6D56 /* AnonymousAuthTests.m in Sources */ = {isa = PBXBuildFile; fileRef = DED400A8243E56F500BF6D56 /* AnonymousAuthTests.m */; };
@@ -68,11 +75,24 @@
6875
remoteGlobalIDString = DE800AF322A2F87E00AC9A23;
6976
remoteInfo = AuthSample;
7077
};
78+
DEBEF6082450EA27005E1A8F /* PBXContainerItemProxy */ = {
79+
isa = PBXContainerItemProxy;
80+
containerPortal = DE800AEC22A2F87E00AC9A23 /* Project object */;
81+
proxyType = 1;
82+
remoteGlobalIDString = DE800AF322A2F87E00AC9A23;
83+
remoteInfo = AuthSample;
84+
};
7185
/* End PBXContainerItemProxy section */
7286

7387
/* Begin PBXFileReference section */
7488
400283E823EA254A0006A298 /* MainViewController+MultiFactor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MainViewController+MultiFactor.h"; sourceTree = "<group>"; };
7589
400283E923EA254A0006A298 /* MainViewController+MultiFactor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "MainViewController+MultiFactor.m"; sourceTree = "<group>"; };
90+
DE1865AB245B879B00F8AD70 /* TestsBase.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestsBase.swift; sourceTree = "<group>"; };
91+
DE1865AD245B8A1400F8AD70 /* AnonymousTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnonymousTests.swift; sourceTree = "<group>"; };
92+
DE1865B1245C7A2B00F8AD70 /* EmailPasswordTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmailPasswordTests.swift; sourceTree = "<group>"; };
93+
DE1865B3245C92A600F8AD70 /* GoogleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GoogleTests.swift; sourceTree = "<group>"; };
94+
DE1865B5245C95DA00F8AD70 /* Credentials.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Credentials.swift; sourceTree = "<group>"; };
95+
DE1865B7245CC6FC00F8AD70 /* FacebookTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FacebookTests.swift; sourceTree = "<group>"; };
7696
DE800AF422A2F87E00AC9A23 /* AuthSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AuthSample.app; sourceTree = BUILT_PRODUCTS_DIR; };
7797
DE800B0E22A2F8AF00AC9A23 /* AppManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppManager.h; sourceTree = "<group>"; };
7898
DE800B0F22A2F8AF00AC9A23 /* MainViewController+AutoTests.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "MainViewController+AutoTests.h"; sourceTree = "<group>"; };
@@ -138,6 +158,9 @@
138158
DE800B6C22A2FFFF00AC9A23 /* AuthCredentials.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AuthCredentials.h; sourceTree = "<group>"; };
139159
DE800B7122A5927C00AC9A23 /* Auth_ApiTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Auth_ApiTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
140160
DE800B9522A5BD1800AC9A23 /* Auth_E2eTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Auth_E2eTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
161+
DEBEF6032450EA27005E1A8F /* SwiftApiTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwiftApiTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
162+
DEBEF6072450EA27005E1A8F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
163+
DEBEF60D245247A0005E1A8F /* AccountInfoTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountInfoTests.swift; sourceTree = "<group>"; };
141164
DED400A3243E56F500BF6D56 /* AuthCredentials.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AuthCredentials.h; sourceTree = "<group>"; };
142165
DED400A4243E56F500BF6D56 /* FacebookAuthTests.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FacebookAuthTests.m; sourceTree = "<group>"; };
143166
DED400A5243E56F500BF6D56 /* generate_refresh_token.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = generate_refresh_token.sh; sourceTree = "<group>"; };
@@ -181,6 +204,13 @@
181204
);
182205
runOnlyForDeploymentPostprocessing = 0;
183206
};
207+
DEBEF6002450EA27005E1A8F /* Frameworks */ = {
208+
isa = PBXFrameworksBuildPhase;
209+
buildActionMask = 2147483647;
210+
files = (
211+
);
212+
runOnlyForDeploymentPostprocessing = 0;
213+
};
184214
/* End PBXFrameworksBuildPhase section */
185215

186216
/* Begin PBXGroup section */
@@ -197,6 +227,7 @@
197227
DE800B0D22A2F8AF00AC9A23 /* Sample */,
198228
DE800B7222A5927C00AC9A23 /* Auth_ApiTests */,
199229
DE800B9622A5BD1800AC9A23 /* E2eTests */,
230+
DEBEF6042450EA27005E1A8F /* SwiftApiTests */,
200231
DE800AF522A2F87E00AC9A23 /* Products */,
201232
A00A0EC6CCFF06F1AC46A4F9 /* Pods */,
202233
);
@@ -208,6 +239,7 @@
208239
DE800AF422A2F87E00AC9A23 /* AuthSample.app */,
209240
DE800B7122A5927C00AC9A23 /* Auth_ApiTests.xctest */,
210241
DE800B9522A5BD1800AC9A23 /* Auth_E2eTests.xctest */,
242+
DEBEF6032450EA27005E1A8F /* SwiftApiTests.xctest */,
211243
);
212244
name = Products;
213245
sourceTree = "<group>";
@@ -317,6 +349,21 @@
317349
path = E2eTests;
318350
sourceTree = SOURCE_ROOT;
319351
};
352+
DEBEF6042450EA27005E1A8F /* SwiftApiTests */ = {
353+
isa = PBXGroup;
354+
children = (
355+
DEBEF6072450EA27005E1A8F /* Info.plist */,
356+
DEBEF60D245247A0005E1A8F /* AccountInfoTests.swift */,
357+
DE1865AB245B879B00F8AD70 /* TestsBase.swift */,
358+
DE1865AD245B8A1400F8AD70 /* AnonymousTests.swift */,
359+
DE1865B1245C7A2B00F8AD70 /* EmailPasswordTests.swift */,
360+
DE1865B3245C92A600F8AD70 /* GoogleTests.swift */,
361+
DE1865B5245C95DA00F8AD70 /* Credentials.swift */,
362+
DE1865B7245CC6FC00F8AD70 /* FacebookTests.swift */,
363+
);
364+
path = SwiftApiTests;
365+
sourceTree = "<group>";
366+
};
320367
/* End PBXGroup section */
321368

322369
/* Begin PBXNativeTarget section */
@@ -373,12 +420,31 @@
373420
productReference = DE800B9522A5BD1800AC9A23 /* Auth_E2eTests.xctest */;
374421
productType = "com.apple.product-type.bundle.unit-test";
375422
};
423+
DEBEF6022450EA27005E1A8F /* SwiftApiTests */ = {
424+
isa = PBXNativeTarget;
425+
buildConfigurationList = DEBEF60A2450EA27005E1A8F /* Build configuration list for PBXNativeTarget "SwiftApiTests" */;
426+
buildPhases = (
427+
DEBEF5FF2450EA27005E1A8F /* Sources */,
428+
DEBEF6002450EA27005E1A8F /* Frameworks */,
429+
DEBEF6012450EA27005E1A8F /* Resources */,
430+
);
431+
buildRules = (
432+
);
433+
dependencies = (
434+
DEBEF6092450EA27005E1A8F /* PBXTargetDependency */,
435+
);
436+
name = SwiftApiTests;
437+
productName = SwiftApiTests;
438+
productReference = DEBEF6032450EA27005E1A8F /* SwiftApiTests.xctest */;
439+
productType = "com.apple.product-type.bundle.unit-test";
440+
};
376441
/* End PBXNativeTarget section */
377442

378443
/* Begin PBXProject section */
379444
DE800AEC22A2F87E00AC9A23 /* Project object */ = {
380445
isa = PBXProject;
381446
attributes = {
447+
LastSwiftUpdateCheck = 1140;
382448
LastUpgradeCheck = 1020;
383449
ORGANIZATIONNAME = Firebase;
384450
TargetAttributes = {
@@ -395,6 +461,10 @@
395461
CreatedOnToolsVersion = 10.2;
396462
TestTargetID = DE800AF322A2F87E00AC9A23;
397463
};
464+
DEBEF6022450EA27005E1A8F = {
465+
CreatedOnToolsVersion = 11.4.1;
466+
TestTargetID = DE800AF322A2F87E00AC9A23;
467+
};
398468
};
399469
};
400470
buildConfigurationList = DE800AEF22A2F87E00AC9A23 /* Build configuration list for PBXProject "AuthSample" */;
@@ -413,6 +483,7 @@
413483
DE800AF322A2F87E00AC9A23 /* AuthSample */,
414484
DE800B7022A5927C00AC9A23 /* Auth_ApiTests */,
415485
DE800B9422A5BD1800AC9A23 /* Auth_E2eTests */,
486+
DEBEF6022450EA27005E1A8F /* SwiftApiTests */,
416487
);
417488
};
418489
/* End PBXProject section */
@@ -446,6 +517,13 @@
446517
);
447518
runOnlyForDeploymentPostprocessing = 0;
448519
};
520+
DEBEF6012450EA27005E1A8F /* Resources */ = {
521+
isa = PBXResourcesBuildPhase;
522+
buildActionMask = 2147483647;
523+
files = (
524+
);
525+
runOnlyForDeploymentPostprocessing = 0;
526+
};
449527
/* End PBXResourcesBuildPhase section */
450528

451529
/* Begin PBXSourcesBuildPhase section */
@@ -507,6 +585,20 @@
507585
);
508586
runOnlyForDeploymentPostprocessing = 0;
509587
};
588+
DEBEF5FF2450EA27005E1A8F /* Sources */ = {
589+
isa = PBXSourcesBuildPhase;
590+
buildActionMask = 2147483647;
591+
files = (
592+
DE1865B4245C92A600F8AD70 /* GoogleTests.swift in Sources */,
593+
DE1865AE245B8A1400F8AD70 /* AnonymousTests.swift in Sources */,
594+
DE1865B8245CC6FC00F8AD70 /* FacebookTests.swift in Sources */,
595+
DE1865B6245C95DA00F8AD70 /* Credentials.swift in Sources */,
596+
DE1865B2245C7A2B00F8AD70 /* EmailPasswordTests.swift in Sources */,
597+
DE1865AC245B879B00F8AD70 /* TestsBase.swift in Sources */,
598+
DEBEF60E245247A0005E1A8F /* AccountInfoTests.swift in Sources */,
599+
);
600+
runOnlyForDeploymentPostprocessing = 0;
601+
};
510602
/* End PBXSourcesBuildPhase section */
511603

512604
/* Begin PBXTargetDependency section */
@@ -520,6 +612,11 @@
520612
target = DE800AF322A2F87E00AC9A23 /* AuthSample */;
521613
targetProxy = DE800B9A22A5BD1800AC9A23 /* PBXContainerItemProxy */;
522614
};
615+
DEBEF6092450EA27005E1A8F /* PBXTargetDependency */ = {
616+
isa = PBXTargetDependency;
617+
target = DE800AF322A2F87E00AC9A23 /* AuthSample */;
618+
targetProxy = DEBEF6082450EA27005E1A8F /* PBXContainerItemProxy */;
619+
};
523620
/* End PBXTargetDependency section */
524621

525622
/* Begin XCBuildConfiguration section */
@@ -763,6 +860,50 @@
763860
};
764861
name = Release;
765862
};
863+
DEBEF60B2450EA27005E1A8F /* Debug */ = {
864+
isa = XCBuildConfiguration;
865+
buildSettings = {
866+
BUNDLE_LOADER = "$(TEST_HOST)";
867+
CODE_SIGN_STYLE = Automatic;
868+
INFOPLIST_FILE = SwiftApiTests/Info.plist;
869+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
870+
LD_RUNPATH_SEARCH_PATHS = (
871+
"$(inherited)",
872+
"@executable_path/Frameworks",
873+
"@loader_path/Frameworks",
874+
);
875+
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.SwiftApiTests;
876+
PRODUCT_NAME = "$(TARGET_NAME)";
877+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
878+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
879+
SWIFT_VERSION = 5.0;
880+
TARGETED_DEVICE_FAMILY = "1,2";
881+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AuthSample.app/AuthSample";
882+
};
883+
name = Debug;
884+
};
885+
DEBEF60C2450EA27005E1A8F /* Release */ = {
886+
isa = XCBuildConfiguration;
887+
buildSettings = {
888+
BUNDLE_LOADER = "$(TEST_HOST)";
889+
CODE_SIGN_STYLE = Automatic;
890+
INFOPLIST_FILE = SwiftApiTests/Info.plist;
891+
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
892+
LD_RUNPATH_SEARCH_PATHS = (
893+
"$(inherited)",
894+
"@executable_path/Frameworks",
895+
"@loader_path/Frameworks",
896+
);
897+
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.SwiftApiTests;
898+
PRODUCT_NAME = "$(TARGET_NAME)";
899+
SWIFT_COMPILATION_MODE = wholemodule;
900+
SWIFT_OPTIMIZATION_LEVEL = "-O";
901+
SWIFT_VERSION = 5.0;
902+
TARGETED_DEVICE_FAMILY = "1,2";
903+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AuthSample.app/AuthSample";
904+
};
905+
name = Release;
906+
};
766907
/* End XCBuildConfiguration section */
767908

768909
/* Begin XCConfigurationList section */
@@ -802,6 +943,15 @@
802943
defaultConfigurationIsVisible = 0;
803944
defaultConfigurationName = Release;
804945
};
946+
DEBEF60A2450EA27005E1A8F /* Build configuration list for PBXNativeTarget "SwiftApiTests" */ = {
947+
isa = XCConfigurationList;
948+
buildConfigurations = (
949+
DEBEF60B2450EA27005E1A8F /* Debug */,
950+
DEBEF60C2450EA27005E1A8F /* Release */,
951+
);
952+
defaultConfigurationIsVisible = 0;
953+
defaultConfigurationName = Release;
954+
};
805955
/* End XCConfigurationList section */
806956
};
807957
rootObject = DE800AEC22A2F87E00AC9A23 /* Project object */;

FirebaseAuth/Tests/Sample/AuthSample.xcodeproj/xcshareddata/xcschemes/AuthSample.xcscheme

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30+
<MacroExpansion>
31+
<BuildableReference
32+
BuildableIdentifier = "primary"
33+
BlueprintIdentifier = "DE800AF322A2F87E00AC9A23"
34+
BuildableName = "AuthSample.app"
35+
BlueprintName = "AuthSample"
36+
ReferencedContainer = "container:AuthSample.xcodeproj">
37+
</BuildableReference>
38+
</MacroExpansion>
3039
<Testables>
3140
<TestableReference
3241
skipped = "NO">
@@ -48,18 +57,17 @@
4857
ReferencedContainer = "container:AuthSample.xcodeproj">
4958
</BuildableReference>
5059
</TestableReference>
60+
<TestableReference
61+
skipped = "NO">
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "DEBEF6022450EA27005E1A8F"
65+
BuildableName = "SwiftApiTests.xctest"
66+
BlueprintName = "SwiftApiTests"
67+
ReferencedContainer = "container:AuthSample.xcodeproj">
68+
</BuildableReference>
69+
</TestableReference>
5170
</Testables>
52-
<MacroExpansion>
53-
<BuildableReference
54-
BuildableIdentifier = "primary"
55-
BlueprintIdentifier = "DE800AF322A2F87E00AC9A23"
56-
BuildableName = "AuthSample.app"
57-
BlueprintName = "AuthSample"
58-
ReferencedContainer = "container:AuthSample.xcodeproj">
59-
</BuildableReference>
60-
</MacroExpansion>
61-
<AdditionalOptions>
62-
</AdditionalOptions>
6371
</TestAction>
6472
<LaunchAction
6573
buildConfiguration = "Debug"
@@ -81,8 +89,6 @@
8189
ReferencedContainer = "container:AuthSample.xcodeproj">
8290
</BuildableReference>
8391
</BuildableProductRunnable>
84-
<AdditionalOptions>
85-
</AdditionalOptions>
8692
</LaunchAction>
8793
<ProfileAction
8894
buildConfiguration = "Release"

FirebaseAuth/Tests/Sample/AuthSample.xcodeproj/xcshareddata/xcschemes/Auth_ApiTests.xcscheme

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939
</BuildableReference>
4040
</TestableReference>
4141
</Testables>
42-
<AdditionalOptions>
43-
</AdditionalOptions>
4442
</TestAction>
4543
<LaunchAction
4644
buildConfiguration = "Debug"
@@ -61,8 +59,6 @@
6159
ReferencedContainer = "container:AuthSample.xcodeproj">
6260
</BuildableReference>
6361
</MacroExpansion>
64-
<AdditionalOptions>
65-
</AdditionalOptions>
6662
</LaunchAction>
6763
<ProfileAction
6864
buildConfiguration = "Release"

0 commit comments

Comments
 (0)