Commit Graph

172 Commits

Author SHA1 Message Date
red0124 55d0a4e598 Updated and added new functions related to headers, resolved ODR issues, resolved clang-tidy warnings (#50)
* Bugfix/odr violations (#47)

* Make common non-member functions inline, remove unreachable line from get_line_buffer

* [skip ci] Fix namespace comments

* Resolve clang-tidy warnings (#48)

* Resolve clang-tidy warnings, update single_header_generator.py

* Update single header test, resolve additional clang-tidy warnings

* Add header and raw_header methods,  update header usage methods error handling, write new and update existing unit tests

* Update parser error messages, fix parser tests

* Add [[nodiscard]] where fitting, update unit tests (#49)

* Add const where fitting, make splitter class members private, add #pragma once to ssp.hpp

* Modify header parsing for empty headers, update old and add new tests for header parsing

* Enable the parser to accept a header with one empty field, update unit tests

* Fix test CMakeLists.txt typo
2024-03-14 17:22:57 +01:00
red0124 df2beab6c3 Fix buffer overflow on multiline restricted with unterminated quote and multiple empty lines (#41) 2024-03-01 15:46:34 +01:00
ado 852481d233 Fix converter unit tests 2024-02-27 02:49:50 +01:00
ado c516a6f826 Fix extraction tests 2024-02-26 02:37:30 +01:00
ado 0a695cf09e Add ss::uint8 and ss::int8, add unit tests for them 2024-02-25 17:46:35 +01:00
ado f8e14b1fcf [skip ci] Add std:: to invoked C std lib functions 2024-02-25 13:03:52 +01:00
ado 110ee840cc Fix header usage functionality 2024-02-25 03:54:33 +01:00
ado 05f87bc78b [skip ci] Fix line method 2024-02-25 02:57:46 +01:00
ado 88e711a5f7 Add positions method to parser, write unit tests for it, update other parser tests 2024-02-25 02:06:48 +01:00
ado c6f6ba9821 [skip ci] Reduce number of runs for no new line at end of data test 2024-02-24 14:37:26 +01:00
ado c5e491041d [skip ci] Disable file mode for no new line at end of data test 2024-02-24 14:17:23 +01:00
ado 21b543ea4f [skip ci] Disable buffer mode no new line at end of data test 2024-02-24 13:55:31 +01:00
ado 8881649aca Update get_line_buffer, update new version of get_line_file to work with data that has no new line at eof 2024-02-23 23:25:03 +01:00
ado 3ea8adedfd Add extended tests with no new line at eof 2024-02-22 00:30:05 +01:00
ado 57ba23c574 [skip ci] Restore extended tests 2024-02-21 21:53:01 +01:00
ado 6516c6cc94 [skip ci] Restore CMAKE_GITHUB_CI, disable some extended tests 2024-02-21 21:38:27 +01:00
ado cbb0a1ad8e [skip ci] Fix coverage.yml typo, disable extended tests 2024-02-21 21:23:38 +01:00
ado b993eb8852 [skip ci] Update coverage.yml to work with lcov2.0 2024-02-21 19:41:06 +01:00
ado 5e32d722e8 [skip ci] Update coverage.yml, add unit test for files and buffers without new line at the end of the file 2024-02-21 02:19:14 +01:00
ado 59f6591da3 [skip ci] Update coverage.yml 2024-02-21 01:25:53 +01:00
ado aaa22046a5 Add null data buffer error handler and unit test, resolve TODOs 2024-02-19 01:00:42 +01:00
ado 775b8c93e2 Fix parser tests part 2 segment issues 2024-02-19 00:16:22 +01:00
ado e4fba8a918 Split parser tests part 2 into additional segments 2024-02-19 00:04:09 +01:00
ado 11d57bd073 [skip ci] Try fix MINGW ci 2024-02-18 23:40:53 +01:00
ado 45b840a30a [skip ci] Try fix MINGW ci 2024-02-18 23:22:37 +01:00
ado 8bb773625b [skip ci] Try fix MINGW ci 2024-02-18 23:16:10 +01:00
ado 0466c7234c [skip ci] Try fix MINGW ci 2024-02-18 23:13:16 +01:00
ado d21c387a33 [skip ci] Try fix MINGW ci 2024-02-18 23:07:26 +01:00
ado d019edb2bf [skip ci] Update unit test CMakeList for MINGW 2024-02-18 21:58:06 +01:00
ado a2666816de Add maybe_unused attribute to test helper functions 2024-02-18 19:58:25 +01:00
ado 417a03a8a4 Fix unit tests build 2024-02-18 19:36:41 +01:00
ado baf4317ffa Add more unit tests for buffer mode 2024-02-18 18:58:51 +01:00
ado 63a618957b Add more unit tests for buffer mode 2024-02-18 18:46:26 +01:00
ado 8b07f7d6cb Remove tmpnam usage for random file generation 2024-02-18 13:55:14 +01:00
ado 82f8ed12b4 Fix out of bounds reading for get_line_buffer, write more buffer mode unit tests 2024-02-18 11:20:36 +01:00
ado e89e268280 Update test helpers random file name generator 2024-02-17 22:21:37 +01:00
ado aacf690640 Fix unit test CMakeLists typo 2024-02-17 21:10:25 +01:00
ado f8c5757d99 Fix unit test CMakeLists 2024-02-17 21:08:24 +01:00
ado ce03c371ae Split parser tests into multiple files, add more tests for buffer mode 2024-02-17 21:05:30 +01:00
ado 6c859959d6 Add more unit tests for buffer mode 2024-02-17 17:43:33 +01:00
ado f04ede3a49 Add option to read csv data from a buffer, add some unit tests for the new feature 2024-02-17 00:55:36 +01:00
ado 672b89b213 Add ability to convert larger numbers without fast_float, write unit tests 2023-08-08 14:11:51 +02:00
ado b9d2c2aad9 Fix big number extraction test 2023-08-08 12:57:15 +02:00
ado 32cbfe1d17 Update extraction tests, update coverage-ci, update ssp.hpp 2023-08-08 12:43:56 +02:00
ado 848689451c Add big float extraction test 2023-08-08 12:29:04 +02:00
ado b7e5dd28b8 Update splitter tests 2023-08-08 12:10:20 +02:00
ado e316558a7b Add parser test for invalid rows with header 2023-08-08 11:07:26 +02:00
ado 6e27f35209 Update coverage ci 2023-08-08 02:08:31 +02:00
ado d4c9227830 Update coverage ci 2023-08-08 01:06:27 +02:00
ado f232c7d995 Add coverage ci 2023-08-08 00:43:02 +02:00