Skip to content

Commit 624c30f

Browse files
committed
cleanup
1 parent 8984dc3 commit 624c30f

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,14 @@
1616

1717
#import <XCTest/XCTest.h>
1818

19-
// Notification posted when an item is removed via `removeItemAtPath`.
20-
extern NSNotificationName const FIRCLSMockFileManagerDidRemoveItemNotification;
21-
2219
@interface FIRCLSMockFileManager : FIRCLSFileManager
2320

24-
// Incremented when a remove happens with removeItemAtPath
25-
@property(nonatomic) NSInteger removeCount;
26-
2721
// Number of calls to removeItemAtPath are expected for the unit test
2822
@property(nonatomic) NSInteger expectedRemoveCount;
2923

24+
// Incremented when a remove happens with removeItemAtPath
25+
@property(nonatomic) NSInteger removeCount;
26+
3027
// Will be fulfilled when the expected number of removes have happened
3128
// using removeItemAtPath
3229
//

Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.m

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414

1515
#import "Crashlytics/UnitTests/Mocks/FIRCLSMockFileManager.h"
1616

17-
NSNotificationName const FIRCLSMockFileManagerDidRemoveItemNotification =
18-
@"FIRCLSMockFileManagerDidRemoveItemNotification";
19-
2017
@interface FIRCLSMockFileManager ()
2118

2219
@property(nonatomic) NSMutableDictionary<NSString *, NSData *> *fileSystemDict;
@@ -47,11 +44,6 @@ - (BOOL)removeItemAtPath:(NSString *)path {
4744
[self.removeExpectation fulfill];
4845
}
4946
}
50-
51-
[[NSNotificationCenter defaultCenter]
52-
postNotificationName:FIRCLSMockFileManagerDidRemoveItemNotification
53-
object:self];
54-
5547
return YES;
5648
}
5749

0 commit comments

Comments
 (0)