Commit Graph

36 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
ado
852481d233 Fix converter unit tests 2024-02-27 02:49:50 +01:00
ado
0a695cf09e Add ss::uint8 and ss::int8, add unit tests for them 2024-02-25 17:46:35 +01:00
ado
634abdd38b Add invalid header usage tests 2023-08-04 21:22:23 +02:00
ado
d6cf9bd006 WIP, Move additional parser tests to separate file 2023-07-29 20:41:31 +02:00
ado
567995aafb Remove deprecated code, add exception.hpp to single_header_generator.py script 2023-07-10 23:39:08 +02:00
ado
a7a97b3ba8 Make throw_on_error and string_error separate options, update parser to have line reading a separate function with respect to splitting 2023-07-10 02:39:24 +02:00
ado
41b89d1d3d Add converter tests with throw_on_error 2023-07-09 17:11:52 +02:00
ado
a8fa5c753c add ignore_header setup option, add unit tests for parsing by header, add string_view to possible conversion values 2022-03-27 21:04:02 +02:00
ado
1af0e75788 update all unit tests, fix bug with unterminated escape, updated multiline parsing, refactored some code, removed unused code 2021-02-21 02:49:23 +01:00
ado
ea42948c42 add string_error and multiline within the setup, remove set_error_mode, update unit tests, update documentation 2021-02-13 01:14:25 +01:00
ado
c094ede588 update test names 2021-02-07 21:24:41 +01:00
ado
6da0cb3544 add mismatched quote error, update error handling for splitter, add unit tests, update test_helpers buffer 2021-02-02 02:17:31 +01:00
ado
d887dff82a get rid of maybe-uninitialized warnings 2021-02-01 00:56:42 +01:00
ado
035e27c5ab add converter tests with quote trim and escape, enable resplit on converter, make parser handle multi-line csv, add unit tests 2021-01-31 23:08:46 +01:00
ado
24fe96dc44 add splitter tests 2021-01-23 21:39:18 +01:00
ado
15f0c63643 fix converter test 2021-01-21 02:13:45 +01:00
ado
86514bfbb6 replace tuple constructor with make_tuple in converter test 2021-01-21 02:09:51 +01:00
ado
bea7775118 merge with master 2021-01-21 01:54:20 +01:00
ado
e49ccede35 update tests for github ci 2021-01-21 01:29:07 +01:00
ado
92e8e200f9 add meson support, update pipeline 2021-01-19 20:26:36 +01:00
ado
263dba7626 create seperate header for the splitter, move splitter tests to different cpp file 2021-01-17 02:15:06 +01:00
ado
69d6df12be add splitter, update converter and parser, update unit tests 2021-01-17 00:46:05 +01:00
ado
cd264faa70 add buffer to converter 2021-01-10 23:51:20 +01:00
ado
758227a16f replate tuple constructors with make_tuple 2021-01-07 23:24:06 +01:00
ado
99ac9e49f6 testing ci 2021-01-07 23:18:05 +01:00
ado
5ea941628b try fix pipeline 2021-01-07 23:07:08 +01:00
friendlyanon
8fdd796bdb Fix include paths in tests 2021-01-06 02:36:14 +00:00
friendlyanon
d31c545d23 Add doctest define to lists file 2021-01-06 02:34:51 +00:00
ado
fdae9b6413 add lt gt lte gte restrictions, update unit tests, update documentation 2021-01-03 15:38:07 +01:00
ado
0487f33eb1 replace error_mode String and Bool with error_string and error_bool 2021-01-01 21:57:14 +01:00
ado
918023496e make default error_mode Bool 2020-12-27 17:00:06 +01:00
ado
5a1e5b3877 add tests for error mode 2020-12-27 16:51:59 +01:00
ado
e406253694 make indent with 4 caracters instead of 8 2020-12-26 00:46:42 +01:00
ado
616316d2a7 write tests for converting std::optional and std::variant 2020-12-20 19:00:45 +01:00
ado
9d45ff7b62 initial commit, copy everything to new repository 2020-12-10 19:26:56 +01:00