86 Commits

Author SHA1 Message Date
Sébastien Rombauts
69d9b0805c Minor new unit tests for backups and database busy timeout 2016-06-27 13:10:09 +02:00
Paul Dreik
808a9c894e add unit test for variadic bind 2016-06-15 20:39:20 +02:00
Sébastien Rombauts
c53d885393 Update copyright notice to 2016 2016-02-10 10:27:47 +01:00
hongshibao
df995f71a6 Add executeStepException testcase 2015-10-29 00:27:22 +08:00
hongshibao
e8f956be22 Add Backup test 2015-10-28 03:04:13 +08:00
Sébastien Rombauts
09db07ccc7 Updated version to 1.0.0 changelog and copyright date 2015-05-03 23:32:57 +02:00
Sébastien Rombauts
e537195625 Fix #47 setBusyTimeout in constructor
- add corresponding Unit Test
2015-05-03 23:32:50 +02:00
Sébastien Rombauts
b9322fb0ab Example now print SQLite version 2015-05-03 23:32:31 +02:00
Sébastien Rombauts
8797f16d12 Add Statement::getColumnName(aIndex)
- enable getting names befor gettings rows of result
2015-05-03 23:32:05 +02:00
Sébastien Rombauts
078365febc Fix part of issue #34 about 64 bits long with GCC on AMD64 2015-05-03 23:31:02 +02:00
Sébastien Rombauts
f407e4e469 Add unit test for Column names
- improve other Column unit test
2015-05-03 23:30:16 +02:00
Sébastien Rombauts
1ed18ce273 Add unit test about Column operators 2015-05-03 23:30:03 +02:00
Sébastien Rombauts
abebb231c6 Add a new test to show persistence in file (on contrary to in memory databases) 2015-05-03 23:29:51 +02:00
Sébastien Rombauts
59ceff2ec2 Deactivate unit test for setBusyTimeout() not supported before SQLite 3.7.15
- sqlite3 3.7.9-2ubuntu1 of Ubuntu 12.04 used by Travis CI
2015-05-03 23:29:43 +02:00
Sébastien Rombauts
acaed41465 setBusyTimeout() now uses check() and throw in case of error
- add unit test for setBusyTimeout()
 - add unit test for in memory databases
2015-05-03 23:29:31 +02:00
Sébastien Rombauts
18620457b1 Add some more Unit Tests 2015-05-03 23:29:22 +02:00
Sébastien Rombauts
7fbfc29677 Fix #23 optimized Statement::getColumn() by name
- fix Statement::getColumn(apName) provided by #45 but was not working
  instead of using #46 that conflicts with current master
- rework it by using a map of columns name as
  a cache populated the first time the method is called
- add corresponding Unit Test
2015-05-03 23:28:41 +02:00
Sébastien Rombauts
b84721aed3 Update copyright date in recently modified files 2015-03-08 22:53:33 +01:00
Sébastien Rombauts
bfdf288d3d Fix #37 Last error code cannot be accessed
+ added corresponding basic unit tests
2015-03-08 15:05:03 +01:00
Sébastien Rombauts
b9a3aeb62f Fixed unit test warnings under Linux GCC/Clang 2014-03-28 16:27:43 +01:00
Sébastien Rombauts
60b6593998 Completing the first unit test for Statement 2014-03-24 20:29:23 +01:00
Sébastien Rombauts
8fcd6febe8 Fixed unit tests for Statement 2014-03-23 21:40:06 +01:00
Sébastien Rombauts
384fab402a Some more unit tests for Statement 2014-03-23 21:11:47 +01:00
Sébastien Rombauts
acc894c1d2 Started a unit test for Statement 2014-03-20 22:13:15 +01:00
Sébastien Rombauts
d69045f3fc Unit test for Database SQLite::Exception 2014-03-15 21:30:28 +01:00
Sébastien Rombauts
f3e9a779a1 Added a test for Database::execAndGet() 2014-03-14 20:44:00 +01:00
Sébastien Rombauts
f3023c0b62 Fixed Travis test for SQLite < 3.7.11
- Ubuntu 12.04 LTS uses SQLite 3.7.9
2014-03-13 23:01:15 +01:00
Sébastien Rombauts
268b111817 Added a Database::getTotalChanges() method and unit test 2014-03-13 21:59:06 +01:00
Sébastien Rombauts
3af95da230 Added comments and test arround Database::exec() method 2014-03-13 21:44:07 +01:00
Sébastien Rombauts
8d87e80b75 Added a first test of insertion 2014-03-12 19:46:14 +01:00
Sébastien Rombauts
d9aa889898 Fixed a GCC warning on Unit Test 2014-03-10 15:25:24 +01:00
Sébastien Rombauts
b25b71bdd8 Test Database exec : CREATE/DROP/EXIST table 2014-03-09 11:05:50 +01:00
Sébastien Rombauts
24bca5a215 Clenup after Database test
- Close the DB before trying to remove it
 - Removed a few line in TODO.txt
2014-03-09 08:58:10 +01:00
Sébastien Rombauts
64b35bbd4e Add a basic Database unit test 2014-03-06 20:04:00 +01:00
Sébastien Rombauts
9a17223ede Add a basic Database unit test 2014-03-05 21:15:14 +01:00
Sébastien Rombauts
7bfaafecba Moved include files out of the src/ dir, to an include/ dir
+ started a void test file
2014-03-04 23:04:38 +01:00