diff options
author | Paul Beusterien <paulbeusterien@google.com> | 2018-06-25 17:19:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-25 17:19:02 -0700 |
commit | d897c434726c6927b352b7f790b9c5da4730f71e (patch) | |
tree | 567f25251cd61ee5bea65e73d7cf7561b8ce9a70 /Example | |
parent | 6eb22aa3a05ed95026d35652524345039be7041a (diff) |
Always run sanitizers with AllUnitTests_iOS (#1447)
* Always run sanitizers with AllUnitTests_iOS
* increase timeout value
Diffstat (limited to 'Example')
-rw-r--r-- | Example/Auth/Tests/FIREmailLinkSignInResponseTests.m | 2 | ||||
-rw-r--r-- | Example/Firebase.xcodeproj/xcshareddata/xcschemes/AllUnitTests_iOS.xcscheme | 9 |
2 files changed, 8 insertions, 3 deletions
diff --git a/Example/Auth/Tests/FIREmailLinkSignInResponseTests.m b/Example/Auth/Tests/FIREmailLinkSignInResponseTests.m index cc2c544..e18e480 100644 --- a/Example/Auth/Tests/FIREmailLinkSignInResponseTests.m +++ b/Example/Auth/Tests/FIREmailLinkSignInResponseTests.m @@ -87,7 +87,7 @@ static const NSTimeInterval kTestTokenExpirationTimeInterval = 55 * 60; @brief The maximum difference between time two dates (in seconds), after which they will be considered different. */ -static const NSTimeInterval kMaxDifferenceBetweenDates = 0.0001; +static const NSTimeInterval kMaxDifferenceBetweenDates = 0.001; /** @var kFakeIsNewUSerFlag @brief The fake fake isNewUser flag in the response. diff --git a/Example/Firebase.xcodeproj/xcshareddata/xcschemes/AllUnitTests_iOS.xcscheme b/Example/Firebase.xcodeproj/xcshareddata/xcschemes/AllUnitTests_iOS.xcscheme index 7079a78..4f4f92c 100644 --- a/Example/Firebase.xcodeproj/xcshareddata/xcschemes/AllUnitTests_iOS.xcscheme +++ b/Example/Firebase.xcodeproj/xcshareddata/xcschemes/AllUnitTests_iOS.xcscheme @@ -110,7 +110,8 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - language = "" + enableThreadSanitizer = "YES" + enableUBSanitizer = "YES" shouldUseLaunchSchemeArgsEnv = "YES"> <Testables> <TestableReference @@ -184,13 +185,17 @@ </BuildableReference> </MacroExpansion> <AdditionalOptions> + <AdditionalOption + key = "NSZombieEnabled" + value = "YES" + isEnabled = "YES"> + </AdditionalOption> </AdditionalOptions> </TestAction> <LaunchAction buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" |