pgLab/tests/pglabtests
eelke 48ac8c6bab Improved generation of c/cpp string from query
Extra lines before and after query are removed. Whitespace at end of line
is removed. SQL comments are converted to cpp style comments and are outside
the string literal.

To achieve this the function now uses the SQLLexer to know what is comment.
This also required the additional capability in the lexer to also return whitespace and newline tokens.
Also a few bugs in the lexer were fixed.
2019-08-19 13:52:23 +02:00
..
gtest_dependency.pri Folder restructuring of test projects. 2018-01-07 09:15:21 +01:00
main.cpp Bunch of tests were in header files so they all got compiled when main got compiled. 2018-01-07 09:19:19 +01:00
pglabtests.pro Improved generation of c/cpp string from query 2019-08-19 13:52:23 +02:00
tst_CodeBuilder.cpp Update tests for moved include files. 2018-12-23 08:42:32 +01:00
tst_ConvertLangToSqlString.cpp Improved generation of c/cpp string from query 2019-08-19 13:52:23 +02:00
tst_ConvertToMultiLineCString.cpp Improved generation of c/cpp string from query 2019-08-19 13:52:23 +02:00
tst_CsvWriter.cpp Lot of code for generating code. Working on unit tests. 2018-09-09 21:04:23 +02:00
tst_expected.cpp Lot of code for generating code. Working on unit tests. 2018-09-09 21:04:23 +02:00
tst_ExplainJsonParser.cpp Lot of code for generating code. Working on unit tests. 2018-09-09 21:04:23 +02:00
tst_NameManglingRules.cpp Added name mangling tests. 2018-09-17 15:41:47 +02:00
tst_ParamJson.cpp Lot of code for generating code. Working on unit tests. 2018-09-09 21:04:23 +02:00
tst_PasswordManager.cpp Passwords are now saved in a password manager. 2018-11-08 21:50:49 +01:00
tst_Range.cpp Working on generating string literals for inclusion in generated code. 2018-09-21 11:41:20 +02:00
tst_scopeguard.cpp Lot of code for generating code. Working on unit tests. 2018-09-09 21:04:23 +02:00
tst_SqlLexer.cpp Improved generation of c/cpp string from query 2019-08-19 13:52:23 +02:00
tst_SqlParser.cpp Some work on parser, not used yet. 2019-01-28 20:53:10 +01:00
tst_TypeMappings.cpp Update tests for moved include files. 2018-12-23 08:42:32 +01:00