Commit Graph

7 Commits

Author SHA1 Message Date
Martin Kleusberg e7924f3739 Tests: Add unit tests for CSV import
Add a new test class for testing the import functionality. Currently
it's only covers some test cases for the CSV import.

Since the function to test here (DBBrowserDB::decodeCSV) is part of the
DBBrowserDB class, that class has a reference to the main window and the
main window basically depends on the entire rest of the project the
makefile grew quite a bit unfortunately.
2014-07-11 21:31:34 +02:00
Peinthor Rene 968c12ae7c cmake/unit: fix incorrect antlr include path 2014-07-06 09:45:11 +02:00
Peinthor Rene de1fb9ff2f qt5: full qt5 compability
ifdef rest of the code which can't be ported 100%
add CMake option USE_QT5 to use qt5 ;)
Thanks to stretchtiberius for initial patch
2014-02-14 00:28:42 +01:00
Peinthor Rene 67787f5e8b cmake: set default build type to Release
if non is given
2014-02-12 19:16:19 +01:00
Peinthor Rene d24ab33f2c cmake: remove unittest option
Create a CMake project just for unittest in the tests folder
2014-01-23 22:08:54 +01:00
Martin Kleusberg 768ae28548 Exit in DB create script when there was no file name specified
Make sure the script exits in a clean way when no output file was
specified.

Also some more random cleaning in SqliteDB here...
2013-04-19 20:12:35 +02:00
Peinthor Rene 94512a3785 python script that creates a ~250mb test db with 1mio records 2013-04-07 22:54:28 +02:00