Searched refs:sqlOperations (Results 1 - 3 of 3) sorted by relevance

/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A DFRAIdentityDatabase.h46 @property (strong, nonatomic, readonly) FRAIdentityDatabaseSQLiteOperations *sqlOperations; variable
51 - (instancetype)initWithSqlOperations:(FRAIdentityDatabaseSQLiteOperations *)sqlOperations;
H A DFRAIdentityDatabase.m48 - (instancetype)initWithSqlOperations:(FRAIdentityDatabaseSQLiteOperations *)sqlOperations {
50 _sqlOperations = sqlOperations;
80 if (![self.sqlOperations insertIdentity:identity error:error]) {
110 if (![self.sqlOperations deleteIdentity:identity error:error]) {
142 if (![self.sqlOperations insertMechanism:mechanism error:error]) {
171 if (![self.sqlOperations deleteMechanism:mechanism error:error]) {
195 if (![self.sqlOperations updateMechanism:mechanism error:error]) {
222 if (![self.sqlOperations insertNotification:notification error:error]) {
247 if (![self.sqlOperations deleteNotification:notification error:error]) {
272 if (![self.sqlOperations updateNotificatio
[all...]
/forgerock/authenticator-ios-v2/unit-tests/
H A DFRAHotpOathMechanismTests.m130 FRAIdentityDatabaseSQLiteOperations *sqlOperations = OCMClassMock([FRAIdentityDatabaseSQLiteOperations class]);
131 OCMStub([sqlOperations insertIdentity:[OCMArg any] error:[OCMArg anyObjectRef]]).andReturn(YES);
132 OCMStub([sqlOperations insertMechanism:[OCMArg any] error:[OCMArg anyObjectRef]]).andReturn(YES);
133 OCMStub([sqlOperations updateMechanism:[OCMArg any] error:[OCMArg anyObjectRef]]).andReturn(NO);
134 database = [[FRAIdentityDatabase alloc] initWithSqlOperations:sqlOperations];

Completed in 27 milliseconds