aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example
diff options
context:
space:
mode:
authorGravatar Ryan Wilson <wilsonryan@google.com>2018-05-01 09:42:57 -0400
committerGravatar Paul Beusterien <paulbeusterien@google.com>2018-05-01 06:42:57 -0700
commit421cd3c24811f2b112fb01a17102e22a914d6673 (patch)
tree6a454f2373828489614e4afcc6c1de3862ad52b7 /Example
parentc7034314893f8644165c5cccaf1fec63e4924f56 (diff)
Remove logging count for this release. (#1201)
Diffstat (limited to 'Example')
-rw-r--r--Example/Core/Tests/FIRLoggerTest.m27
1 files changed, 0 insertions, 27 deletions
diff --git a/Example/Core/Tests/FIRLoggerTest.m b/Example/Core/Tests/FIRLoggerTest.m
index dfc7cc8..7da62db 100644
--- a/Example/Core/Tests/FIRLoggerTest.m
+++ b/Example/Core/Tests/FIRLoggerTest.m
@@ -239,33 +239,6 @@ static NSString *const kMessageCode = @"I-COR000001";
XCTAssertEqual(FIRLoggerLevelDebug, ASL_LEVEL_DEBUG);
}
-- (void)testErrorNumberIncrement {
- OCMStub([self.userDefaultsMock integerForKey:kFIRLoggerErrorCountKey]).andReturn(10);
- OCMExpect([self.userDefaultsMock setInteger:11 forKey:kFIRLoggerErrorCountKey]);
- FIRLogError(kFIRLoggerCore, kMessageCode, @"Error.");
-
- // Use a delay since the logging is async.
- OCMVerifyAllWithDelay(self.userDefaultsMock, 1);
-}
-
-- (void)testWarningNumberIncrement {
- OCMStub([self.userDefaultsMock integerForKey:kFIRLoggerWarningCountKey]).andReturn(1);
- OCMExpect([self.userDefaultsMock setInteger:2 forKey:kFIRLoggerWarningCountKey]);
- FIRLogWarning(kFIRLoggerCore, kMessageCode, @"Warning.");
-
- // Use a delay since the logging is async.
- OCMVerifyAllWithDelay(self.userDefaultsMock, 1);
-}
-
-- (void)testResetIssuesCount {
- OCMExpect([self.userDefaultsMock setInteger:0 forKey:kFIRLoggerErrorCountKey]);
- OCMExpect([self.userDefaultsMock setInteger:0 forKey:kFIRLoggerWarningCountKey]);
- FIRResetNumberOfIssuesLogged();
-
- // Use a delay since the logging is async.
- OCMVerifyAllWithDelay(self.userDefaultsMock, 1);
-}
-
// Helper functions.
- (BOOL)logExists {
[self drainFIRClientQueue];