Commit Graph

14 Commits

Author SHA1 Message Date
0ddcff8507 dblayer: return the primarykey value after an insert. If it is not an autoincrement, return the provided value
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3922 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2017-09-05 09:00:51 +00:00
59e38dff4e Remove all the trailing spaces
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3076 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-09-23 14:46:24 +00:00
230f8b7603 dblayer : bug in read with OR if the select fields are multiple time the same
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2757 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-06-09 13:11:26 +00:00
7a3bad0934 Update Tests to allow them to be parrallelized
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2675 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-14 10:18:37 +00:00
e977f9dfa1 Update tests to remove the dependancy to configuration
Change the databases to be unique by test file


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2670 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2016-03-12 16:34:44 +00:00
e780507897 unittests : complete unit test crash : missing a disconnect in dblayer tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2261 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-20 12:32:29 +00:00
ec235d606d dblayer tests : add the disconnect when needed to deconnect from the singleton
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@2260 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2015-08-20 12:21:19 +00:00
b80f9ecdea BUG : dblayer : don't raise an exception when re-inserting unique record
dblayer : add more unit tests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1850 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-24 09:13:18 +00:00
b034fa3625 dblayer : add more debug
dblayer : add more unit tests (foreign keys)
dblayer : add the same answer when updating a line with the same informations
dblayer : better support of foreign keys


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1842 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-22 10:52:53 +00:00
b0ebf14791 dblayer : test unit for UNIQUE entries
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1839 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 11:19:36 +00:00
3602924fbb dblayer : add more unit tests
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1830 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-19 07:23:29 +00:00
2c21043a9e BUG : dblayer : UPDATE can now update the table primary key too
dblayer : add support of the differents field separator (choosed by DB engine)
Add more unit tests


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1813 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-12 14:14:26 +00:00
b2264440a4 dblayer : add more unittests
dblayer : add compatibility in column names with MySQL and SQLite


git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1812 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-12 12:56:18 +00:00
2a4468cdd0 First version of tests for dblayer with support of 3 db engines. The tests files are generated from dblayerComplet
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1810 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
2014-09-11 14:33:47 +00:00