]> git.saurik.com Git - apple/security.git/blob - keychain/ckks/tests/CKKSTests+MultiZone.h
Security-59306.101.1.tar.gz
[apple/security.git] / keychain / ckks / tests / CKKSTests+MultiZone.h
1
2 #ifndef CKKSTests_MultiZone_h
3 #define CKKSTests_MultiZone_h
4
5 #if OCTAGON
6
7 #import "keychain/ckks/tests/CloudKitMockXCTest.h"
8 #import "keychain/ckks/tests/CloudKitKeychainSyncingMockXCTest.h"
9
10 @interface CloudKitKeychainSyncingMultiZoneTestsBase : CloudKitKeychainSyncingMockXCTest
11
12 @property CKRecordZoneID* engramZoneID;
13 @property CKKSKeychainView* engramView;
14 @property FakeCKZone* engramZone;
15 @property (readonly) ZoneKeys* engramZoneKeys;
16
17 @property CKRecordZoneID* manateeZoneID;
18 @property CKKSKeychainView* manateeView;
19 @property FakeCKZone* manateeZone;
20 @property (readonly) ZoneKeys* manateeZoneKeys;
21
22 @property CKRecordZoneID* autoUnlockZoneID;
23 @property CKKSKeychainView* autoUnlockView;
24 @property FakeCKZone* autoUnlockZone;
25 @property (readonly) ZoneKeys* autoUnlockZoneKeys;
26
27 @property CKRecordZoneID* healthZoneID;
28 @property CKKSKeychainView* healthView;
29 @property FakeCKZone* healthZone;
30 @property (readonly) ZoneKeys* healthZoneKeys;
31
32 @property CKRecordZoneID* applepayZoneID;
33 @property CKKSKeychainView* applepayView;
34 @property FakeCKZone* applepayZone;
35 @property (readonly) ZoneKeys* applepayZoneKeys;
36
37 @property CKRecordZoneID* homeZoneID;
38 @property CKKSKeychainView* homeView;
39 @property FakeCKZone* homeZone;
40 @property (readonly) ZoneKeys* homeZoneKeys;
41
42 @property CKRecordZoneID* limitedZoneID;
43 @property CKKSKeychainView* limitedView;
44 @property FakeCKZone* limitedZone;
45 @property (readonly) ZoneKeys* limitedZoneKeys;
46
47 @property CKRecordZoneID* passwordsZoneID;
48 @property CKKSKeychainView* passwordsView;
49 @property FakeCKZone* passwordsZone;
50 @property (readonly) ZoneKeys* passwordsZoneKeys;
51
52 - (void)saveFakeKeyHierarchiesToLocalDatabase;
53 - (void)putFakeDeviceStatusesInCloudKit;
54 - (void)putFakeKeyHierachiesInCloudKit;
55 - (void)saveTLKsToKeychain;
56 - (void)deleteTLKMaterialsFromKeychain;
57 - (void)waitForKeyHierarchyReadinesses;
58 - (void)expectCKKSTLKSelfShareUploads;
59
60 @end
61
62 #endif // OCTAGON
63 #endif /* CKKSTests_MultiZone_h */