SFSmartStoreTestCase Class Reference

Inherits from XCTestCase
Declared in SFSmartStoreTestCase.h

– assertSameJSONWithExpected:actual:message:

- (void)assertSameJSONWithExpected:(id)expected actual:(id)actual message:(NSString *)message

– assertSameJSONArrayWithExpected:actual:message:

- (void)assertSameJSONArrayWithExpected:(NSArray *)expected actual:(NSArray *)actual message:(NSString *)message

– assertSameJSONMapWithExpected:actual:message:

- (void)assertSameJSONMapWithExpected:(NSDictionary *)expected actual:(NSDictionary *)actual message:(NSString *)message

– createStringIndexSpec:

- (NSDictionary *)createStringIndexSpec:(NSString *)path

– createIntegerIndexSpec:

- (NSDictionary *)createIntegerIndexSpec:(NSString *)path

– createFloatingIndexSpec:

- (NSDictionary *)createFloatingIndexSpec:(NSString *)path

– createFullTextIndexSpec:

- (NSDictionary *)createFullTextIndexSpec:(NSString *)path

– createJSON1IndexSpec:

- (NSDictionary *)createJSON1IndexSpec:(NSString *)path

– createSimpleIndexSpec:withType:

- (NSDictionary *)createSimpleIndexSpec:(NSString *)path withType:(NSString *)pathType

– hasTable:store:

- (BOOL)hasTable:(NSString *)tableName store:(SFSmartStore *)store

– getSoupTableName:store:

- (NSString *)getSoupTableName:(NSString *)soupName store:(SFSmartStore *)store

– checkExplainQueryPlan:index:covering:dbOperation:store:

- (void)checkExplainQueryPlan:(NSString *)soupName index:(NSUInteger)index covering:(BOOL)covering dbOperation:(NSString *)dbOperation store:(SFSmartStore *)store

– checkColumns:expectedColumns:store:

- (void)checkColumns:(NSString *)tableName expectedColumns:(NSArray *)expectedColumns store:(SFSmartStore *)store

– checkDatabaseIndexes:expectedSqlStatements:store:

- (void)checkDatabaseIndexes:(NSString *)tableName expectedSqlStatements:(NSArray *)expectedSqlStatements store:(SFSmartStore *)store

– checkCreateTableStatment:expectedSqlStatementPrefix:store:

- (void)checkCreateTableStatment:(NSString *)tableName expectedSqlStatementPrefix:(NSString *)expectedSqlStatementPrefix store:(SFSmartStore *)store

– checkSoupIndex:expectedPath:expectedType:expectedColumnName:

- (void)checkSoupIndex:(SFSoupIndex *)indexSpec expectedPath:(NSString *)expectedPath expectedType:(NSString *)expectedType expectedColumnName:(NSString *)expectedColumnName

– checkSoupRow:withExpectedEntry:withSoupIndexes:

- (void)checkSoupRow:(FMResultSet *)frs withExpectedEntry:(NSDictionary *)expectedEntry withSoupIndexes:(NSArray *)arraySoupIndexes

– checkFtsRow:withExpectedEntry:withSoupIndexes:

- (void)checkFtsRow:(FMResultSet *)frs withExpectedEntry:(NSDictionary *)expectedEntry withSoupIndexes:(NSArray *)arraySoupIndexes

– checkSoupTable:shouldExist:store:soupName:

- (void)checkSoupTable:(NSArray *)expectedEntries shouldExist:(BOOL)shouldExist store:(SFSmartStore *)store soupName:(NSString *)soupName

– setUpSmartStoreUser

- (SFUserAccount *)setUpSmartStoreUser

– tearDownSmartStoreUser:

- (void)tearDownSmartStoreUser:(SFUserAccount *)user