Antidote/local_pod_repo/objcTox/Tests/OCTRealmTests.h

29 lines
750 B
C
Raw Normal View History

2024-02-22 20:43:11 +01:00
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#import <XCTest/XCTest.h>
#import <Realm/Realm.h>
#import "OCTRealmManager.h"
#import "OCTFriend.h"
#import "OCTChat.h"
@interface OCTRealmManager (Tests)
@property (strong, nonatomic) dispatch_queue_t queue;
@property (strong, nonatomic) RLMRealm *realm;
@end
@interface OCTRealmTests : XCTestCase
/**
* Partially mocked realm manager with in memory realm, which is reset after each test.
*/
@property (strong, nonatomic) OCTRealmManager *realmManager;
- (OCTFriend *)createFriendWithFriendNumber:(OCTToxFriendNumber)friendNumber;
@end