mirror of
https://github.com/firebase/firebase-ios-sdk
synced 2026-11-10 22:45:59 +05:45
* Enable code coverage for `AllUnitTests_iOS`
* FIRAuthAppDelegateProxyTests: fix for test of a delegate with no implemented methods.
Issue:
After deallocating of the proxy [delegate application:_mockApplication openURL:_url options:@{}] starts returning either YES or NO.
The issue is reproducible only when Code Coverage is enabled for AllUnitTests_iOS target.
Possible reason:
-[FIRAuthAppDelegateProxy dealloc] replaces implementation of the methods that were not implemented in the original delegate by `noop` function that doesn't have a return value.
Fix:
Ignore return value in the tests. The case is unlikely to happen in a real application.
* Code formatting
274 lines
11 KiB
XML
274 lines
11 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Scheme
|
|
LastUpgradeVersion = "0820"
|
|
version = "1.3">
|
|
<BuildAction
|
|
parallelizeBuildables = "YES"
|
|
buildImplicitDependencies = "YES">
|
|
<BuildActionEntries>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "YES"
|
|
buildForProfiling = "NO"
|
|
buildForArchiving = "NO"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE3373891E73773400881891"
|
|
BuildableName = "AllUnitTests_iOS"
|
|
BlueprintName = "AllUnitTests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "YES"
|
|
buildForProfiling = "NO"
|
|
buildForArchiving = "NO"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE9314DD1E86C6BE0083EDBF"
|
|
BuildableName = "Auth_Tests_iOS.xctest"
|
|
BlueprintName = "Auth_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "YES"
|
|
buildForProfiling = "NO"
|
|
buildForArchiving = "NO"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DEE14D581E84464D006FA992"
|
|
BuildableName = "Core_Tests_iOS.xctest"
|
|
BlueprintName = "Core_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "YES"
|
|
buildForProfiling = "NO"
|
|
buildForArchiving = "NO"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE7B8D1C1E8EF078009EB6DF"
|
|
BuildableName = "Database_Tests_iOS.xctest"
|
|
BlueprintName = "Database_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "YES"
|
|
buildForProfiling = "NO"
|
|
buildForArchiving = "NO"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE9315A61E8738460083EDBF"
|
|
BuildableName = "Messaging_Tests_iOS.xctest"
|
|
BlueprintName = "Messaging_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "YES"
|
|
buildForProfiling = "NO"
|
|
buildForArchiving = "NO"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DEB13A0A1E73507E00AC236D"
|
|
BuildableName = "Storage_Tests_iOS.xctest"
|
|
BlueprintName = "Storage_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "NO"
|
|
buildForProfiling = "NO"
|
|
buildForArchiving = "NO"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE7B8D041E8EF077009EB6DF"
|
|
BuildableName = "Database_Example_iOS.app"
|
|
BlueprintName = "Database_Example_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "NO"
|
|
buildForProfiling = "NO"
|
|
buildForArchiving = "NO"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DEDFF0121FD6135D00F7D466"
|
|
BuildableName = "DynamicLinks_Tests_iOS.xctest"
|
|
BlueprintName = "DynamicLinks_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "YES"
|
|
buildForProfiling = "YES"
|
|
buildForArchiving = "YES"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE958B7421F7D15900E6C1C5"
|
|
BuildableName = "InstanceID_Tests_iOS.xctest"
|
|
BlueprintName = "InstanceID_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
</BuildActionEntries>
|
|
</BuildAction>
|
|
<TestAction
|
|
buildConfiguration = "Debug"
|
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
disableMainThreadChecker = "YES"
|
|
codeCoverageEnabled = "YES"
|
|
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
<Testables>
|
|
<TestableReference
|
|
skipped = "NO">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE9314DD1E86C6BE0083EDBF"
|
|
BuildableName = "Auth_Tests_iOS.xctest"
|
|
BlueprintName = "Auth_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</TestableReference>
|
|
<TestableReference
|
|
skipped = "NO">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DEE14D581E84464D006FA992"
|
|
BuildableName = "Core_Tests_iOS.xctest"
|
|
BlueprintName = "Core_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</TestableReference>
|
|
<TestableReference
|
|
skipped = "NO">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE7B8D1C1E8EF078009EB6DF"
|
|
BuildableName = "Database_Tests_iOS.xctest"
|
|
BlueprintName = "Database_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</TestableReference>
|
|
<TestableReference
|
|
skipped = "NO">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE9315A61E8738460083EDBF"
|
|
BuildableName = "Messaging_Tests_iOS.xctest"
|
|
BlueprintName = "Messaging_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</TestableReference>
|
|
<TestableReference
|
|
skipped = "NO">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DEB13A0A1E73507E00AC236D"
|
|
BuildableName = "Storage_Tests_iOS.xctest"
|
|
BlueprintName = "Storage_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</TestableReference>
|
|
<TestableReference
|
|
skipped = "NO">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DEDFF0121FD6135D00F7D466"
|
|
BuildableName = "DynamicLinks_Tests_iOS.xctest"
|
|
BlueprintName = "DynamicLinks_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</TestableReference>
|
|
<TestableReference
|
|
skipped = "NO">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE958B7421F7D15900E6C1C5"
|
|
BuildableName = "InstanceID_Tests_iOS.xctest"
|
|
BlueprintName = "InstanceID_Tests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</TestableReference>
|
|
</Testables>
|
|
<MacroExpansion>
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE3373891E73773400881891"
|
|
BuildableName = "AllUnitTests_iOS"
|
|
BlueprintName = "AllUnitTests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</MacroExpansion>
|
|
<AdditionalOptions>
|
|
</AdditionalOptions>
|
|
</TestAction>
|
|
<LaunchAction
|
|
buildConfiguration = "Debug"
|
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
launchStyle = "0"
|
|
useCustomWorkingDirectory = "NO"
|
|
ignoresPersistentStateOnLaunch = "NO"
|
|
debugDocumentVersioning = "YES"
|
|
debugServiceExtension = "internal"
|
|
allowLocationSimulation = "YES">
|
|
<MacroExpansion>
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE3373891E73773400881891"
|
|
BuildableName = "AllUnitTests_iOS"
|
|
BlueprintName = "AllUnitTests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</MacroExpansion>
|
|
<AdditionalOptions>
|
|
</AdditionalOptions>
|
|
</LaunchAction>
|
|
<ProfileAction
|
|
buildConfiguration = "Release"
|
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
savedToolIdentifier = ""
|
|
useCustomWorkingDirectory = "NO"
|
|
debugDocumentVersioning = "YES">
|
|
<MacroExpansion>
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "DE3373891E73773400881891"
|
|
BuildableName = "AllUnitTests_iOS"
|
|
BlueprintName = "AllUnitTests_iOS"
|
|
ReferencedContainer = "container:Firebase.xcodeproj">
|
|
</BuildableReference>
|
|
</MacroExpansion>
|
|
</ProfileAction>
|
|
<AnalyzeAction
|
|
buildConfiguration = "Debug">
|
|
</AnalyzeAction>
|
|
<ArchiveAction
|
|
buildConfiguration = "Release"
|
|
revealArchiveInOrganizer = "YES">
|
|
</ArchiveAction>
|
|
</Scheme>
|