20 Commits

Author SHA1 Message Date
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