Commit Graph

24 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
b7e5dd28b8 Update splitter tests 2023-08-08 12:10:20 +02:00
ado
d6cf9bd006 WIP, Move additional parser tests to separate file 2023-07-29 20:41:31 +02:00
ado
31cbd20f8f WIP, Continue writing additional parser tests 2023-07-28 00:17:22 +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
956156b412 Fix resplit segmentation fault, fix issues when working with empty files 2023-07-10 22:21:07 +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
f3225b8b16 Add splitter tests with throw_on_error 2023-07-09 12:54:39 +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
2dbc21780f WIP, added multiline restriction, fixed a few bugs for multiline, updated unit tests 2021-02-20 15:53:18 +01:00
ado
2985027505 add trim_left and trim_right, add setup static asserts, update type_traits, refactor some code, add unit tests 2021-02-14 01:59:06 +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
9b90803f6f make split_input private, make resplit private, update tests and the converter 2021-02-06 01:44:46 +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
1bf6b9d595 write unit tests for resplit, fix some issues with resplit 2021-01-30 21:52:32 +01:00
ado
a5c9216824 refator splitter, add resplit functionality, write some unit tests 2021-01-25 00:16:55 +01:00
ado
9302a25256 increase number of combinations for final splitter test 2021-01-24 01:48:12 +01:00
ado
ed6157fa9f add more splitter tests 2021-01-24 01:45:54 +01:00
ado
24fe96dc44 add splitter tests 2021-01-23 21:39:18 +01:00
ado
f0a01f65d3 update splitter tests for meson 2021-01-21 02:00:26 +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