}
@Test
public void createIndexRepCache() throws SqlJetException, FileNotFoundException, IOException {
final SqlJetDb repCache = SqlJetDb.open(copyFile(new File(REP_CACHE_DB), DELETE_COPY), true);
repCache.runWriteTransaction(new ISqlJetTransaction() {
public Object run(SqlJetDb db) throws SqlJetException {
db.createIndex("CREATE INDEX rep_cache_test_index ON " + REP_CACHE_TABLE
+ "(hash, revision, offset, size, expanded_size);");
final ISqlJetTable openTable = repCache.getTable(REP_CACHE_TABLE);