Home
last modified time | relevance | path

Searched refs:getScrubSQL (Results 1 – 8 of 8) sorted by relevance

/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
DH2MapTest.java36 assertThat(map.getScrubSQL("autoincrement"), equalTo("auto_increment")); in testScrubSQLReplacesAutoIncrement()
41 assertThat(map.getScrubSQL("integer"), equalTo("bigint(19)")); in testScrubSQLReplacesIntegerWithBigInt()
46 map.getScrubSQL("INTEGER PRIMARY KEY AUTOINCREMENT"); in testScrubSQLAcceptsIntegerPrimaryKey()
51 map.getScrubSQL("INT PRIMARY KEY AUTOINCREMENT"); in testScrubSQLRejectsIntPrimaryKeyThrowsException()
56 map.getScrubSQL("CHAR PRIMARY KEY AUTOINCREMENT"); in testScrubSQLRejectsCharPrimaryKeyThrowsException2()
71 assertThat(map.getScrubSQL("INSERT INTO "), equalTo("INSERT INTO ")); in scrubSQL_shouldRemoveConflictAlgorithms()
72 assertThat(map.getScrubSQL("INSERT OR ROLLBACK INTO "), equalTo("INSERT INTO ")); in scrubSQL_shouldRemoveConflictAlgorithms()
73 assertThat(map.getScrubSQL("INSERT OR ABORT INTO "), equalTo("INSERT INTO ")); in scrubSQL_shouldRemoveConflictAlgorithms()
74 assertThat(map.getScrubSQL("INSERT OR FAIL INTO "), equalTo("INSERT INTO ")); in scrubSQL_shouldRemoveConflictAlgorithms()
75 assertThat(map.getScrubSQL("INSERT OR IGNORE INTO "), equalTo("INSERT INTO ")); in scrubSQL_shouldRemoveConflictAlgorithms()
[all …]
DDatabaseConfigTest.java61 DatabaseConfig.getScrubSQL(""); in testGetScrubSQLThrowsExceptionWithNullMap()
78 …assertThat(DatabaseConfig.getScrubSQL("autoincrement"), equalTo(DatabaseConfig.getDatabaseMap().ge… in testGetScrubSQL()
DNullDatabaseMap.java21 public String getScrubSQL(String sql) throws SQLException { in getScrubSQL() method in NullDatabaseMap
/external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
DDatabaseConfig.java81 public static String getScrubSQL(String sql) throws SQLException { in getScrubSQL() method in DatabaseConfig
83 return dbMap.getScrubSQL(sql); in getScrubSQL()
101 String getScrubSQL(String sql) throws SQLException; in getScrubSQL() method
DSQLiteMap.java15 public String getScrubSQL(String sql) { in getScrubSQL() method in SQLiteMap
DH2Map.java29 public String getScrubSQL(String sql) throws SQLException { in getScrubSQL() method in H2Map
DSQLite.java42 String sql = DatabaseConfig.getScrubSQL(sb.toString()); in buildInsertString()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSQLiteDatabase.java189 String scrubbedSql= DatabaseConfig.getScrubSQL(sql); in execSQL()
203 String scrubbedSql= DatabaseConfig.getScrubSQL(sql); in execSQL()
348 String scrubbedSql= DatabaseConfig.getScrubSQL(sql);