History log of /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a65f10ed33849da701cf7b30f849fb9020c1f53f 11-Jan-2012 Jan Berkel <jan.berkel@gmail.com> Use sqlite-jdbc by default (but still support H2)
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
bf6a1c2145b187c23b06243ceaa6f85c24498643 14-Sep-2011 Lenny Turetsky & Phil Plante <pair+lenny+phil@pivotallabs.com> fix ShadowAbstractCursor moveToNext method, it now asks if it can move its position ahead before setting it
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
09e5078f4b638fae60c67b2e6b8f43cc796574a3 14-Sep-2011 Chris Van Vranken <cessationoftime@gmail.com> Patch issue 127: SQLiteCursor.IsAfterLast() is never true
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
f56feac616ee36aa6cc547fbcfd549dd8562567b 07-Sep-2011 adriancowham <adrian@zoodles.com> fixed the #setTransactionSuccessful and #endTransaction
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
b2a0c4643204a58730caf4e178e6acb36db79a5d 29-Aug-2011 vvakame <vvakame+dev@gmail.com> add sql transaction support. beginTransaction and setTransactionSuccessful and endTransaction.
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
7ae4bf5a753ce616daae9eed948208bd010a97be 19-Aug-2011 Chris Van Vranken <cessationoftime@gmail.com> Added tests for DatabaseConfig, H2Map, H2Map_TypeForwardOnly
Added comment\explanation why testRawQueryCount4() and testRawQueryCount5() expects exceptions even though exceptions are not found in Android.
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
1089c0f7ebc8a98939b49982656e3dc4dbe8291d 06-Aug-2011 Chris Van Vranken <cessationoftime@gmail.com> implement and test SQLiteStatement.simpleQueryForLong()
implement and test SQLiteStatement.simpleQueryForString()

add tests for corner cases on inputs for SQLiteDatabase.execSQL()

modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteCursor.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteProgram.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteStatement.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteStatementTest.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
e33dc87ec6782df9a3711d06c687521ff2a97d86 06-Aug-2011 Chris Van Vranken <cessationoftime@gmail.com> changes and tests to make certain ShadowSQLiteDatabase.rawQuery() returns the same as Android when given strange inputs
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteDatabase.java
modified: src/main/java/com/xtremelabs/robolectric/util/SQLite.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
b4ba64f9bc1000831b5f5e7847a0a6b87cbea001 06-Aug-2011 Chris Van Vranken <cessationoftime@gmail.com> ShadowSQLiteDatabase now correctly errors when rawQuery is run with a null value in the selectionArg array.
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
0acb02858e82774dc9a986c3692446301739ddf6 02-Jul-2011 Chris Van Vranken <cessationoftime@gmail.com> Merge branch 'master' of git://github.com/pivotal/robolectric

Conflicts:
src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteDatabase.java

modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowApplication.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteDatabase.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/ApplicationTest.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
e78944cd5359970a212dc6da4a07d35fa0d6177b 01-Jul-2011 Glenn Jahnke & Jesse Toth <pair+glennj+jesse@pivotallabs.com> Fix robolectric sql insert to behave more like sqlite, return error code instead of exception
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
e72b923b7673dec28fadec8b4b08b982af0a6d71 01-Jul-2011 Chris Van Vranken <cessationoftime@gmail.com> Added support for compiled statements
new file: src/main/java/com/xtremelabs/robolectric/shadows/ShadowDatabaseUtils.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteDatabase.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteProgram.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteStatement.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
new file: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteStatementTest.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
b970da24960c184335a2aba413e3f5bfbbed7825 30-Jun-2011 Chris Van Vranken <cessationoftime@gmail.com> This commit adds the basic feature of CursorWindow to ShadowSQLiteCursor:
ResultSet rows are now copied to a HashMap so that the cursor may move to old rows
even though the resultset is TYPE_FORWARD_ONLY.
modified: pom.xml
modified: src/main/java/com/xtremelabs/robolectric/Robolectric.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowAbstractCursor.java
deleted: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteClosable.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteCursor.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteDatabase.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteProgram.java
modified: src/main/java/com/xtremelabs/robolectric/util/DatabaseConfig.java
modified: src/main/java/com/xtremelabs/robolectric/util/H2Map.java
new file: src/main/java/com/xtremelabs/robolectric/util/H2Map_TypeForwardOnly.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/CursorAdapterTest.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteCursorTest.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
modified: src/test/java/com/xtremelabs/robolectric/util/DatabaseMapTest.java
modified: src/test/java/com/xtremelabs/robolectric/util/NullDatabaseMap.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
a67487bf2dd97805a8db494a8cd39e232b4c4fc5 26-Jun-2011 Chris Van Vranken <cessationoftime@gmail.com> Cleanup before pull request
modified: pom.xml
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteCursor.java
modified: src/main/java/com/xtremelabs/robolectric/util/DatabaseConfig.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
b381ee39223f4b835daac148d7e135d061860914 26-Jun-2011 Chris Van Vranken <cessationoftime@gmail.com> SQLite and H2 are now working and passing all tests.

On branch master
modified: src/main/java/com/xtremelabs/robolectric/RobolectricConfig.java
modified: src/main/java/com/xtremelabs/robolectric/RobolectricTestRunner.java
modified: src/main/java/com/xtremelabs/robolectric/internal/RobolectricTestRunnerInterface.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteDatabase.java
new file: src/main/java/com/xtremelabs/robolectric/util/DatabaseConfig.java
new file: src/main/java/com/xtremelabs/robolectric/util/H2Map.java
modified: src/test/java/com/xtremelabs/robolectric/WithTestDefaultsRunner.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/CursorAdapterTest.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteCursorTest.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
modified: src/test/java/com/xtremelabs/robolectric/util/TestUtil.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
23c888fc3422c493d25dab19a0842dc591243096 25-Jun-2011 Chris Van Vranken <cessationoftime@gmail.com> Now have the possibility to use different database implementations besides H2, with H2 as the default.
And additional implementations provided by other assemblies with testRunners that rely on Robolectric.
This will allow the use of SQLite without inhibiting the use of H2.

On branch master
modified: pom.xml
modified: src/main/java/com/xtremelabs/robolectric/RobolectricTestRunner.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteCursor.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteDatabase.java
modified: src/main/java/com/xtremelabs/robolectric/util/DBConfig.java
new file: src/main/java/com/xtremelabs/robolectric/util/H2DatabaseMap.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
2d5bab29e309152e1ffaf74b8a8f47d2f1dffac1 24-Jun-2011 Chris Van Vranken <cessationoftime@gmail.com> On branch master
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowAbstractCursor.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteCursor.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteDatabase.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
bdb2b1d336367115dee931221ea77fe1833607da 24-Jun-2011 Chris Van Vranken <cessationoftime@gmail.com> On branch master
modified: pom.xml
modified: src/main/java/com/xtremelabs/robolectric/Robolectric.java
new file: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteClosable.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteCursor.java
modified: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteDatabase.java
new file: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteProgram.java
new file: src/main/java/com/xtremelabs/robolectric/shadows/ShadowSQLiteStatement.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteCursorTest.java
modified: src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
new file: src/test/java/com/xtremelabs/robolectric/sqlite/BasicSqliteTest.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
6f0faf029f5b8deeeaee5b1b57e6af9fe3ea24d4 19-Jun-2011 Tyler Schultz <tylerschultz@gmail.com> Merge pull request #68 from vvakame/master

Add ShadowSQLiteDatabase#rawQuery(String, String[]) implementation and test.
f074fbc925d291f053509372c701c615864276d9 01-Jun-2011 Lenny Turetsky & Phil Goodwin <pair+lenny+phil@pivotallabs.com> added insertWithOnConflict to ShadowSQLiteDatabase.java
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
23e381f143958d3e54766ee7fb34c65402bc2433 01-May-2011 vvakame <vvakame+dev@gmail.com> Add ShadowSQLiteDatabase#rawQuer(String, String[]) implementation and test.
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
c321c87e6bbb368f41a2cdf32c5de7b529403576 12-Jan-2011 Christian Williams & Phil Goodwin <pair+xian+phil@pivotallabs.com> Add test for SQL handling of big integers.
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java
4ac725f9b4cebbf46805fc5e9b2f0eaf3fdd9b29 22-Dec-2010 Christian Williams <pair+xian@pivotallabs.com> Rearrange source tree to follow maven conventions.
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/SQLiteDatabaseTest.java