Alexander Grund
debe0dc0a3
Add test for the unimplemented title_case conversions
2023-09-16 19:09:57 +02:00
Alexander Grund
26469cd230
Suppress or handle missing coverage of test code
...
Try to achieve 100% test code coverage to find accidentally missed ones.
Especially the WinAPI tests had some wrongly uncovered lines at function
start/end which needed to be excluded.
2023-06-27 23:04:08 +02:00
Alexander Grund
d38793d071
Suppress unreachable code warning when disabling std or WinAPI backend
...
Fixes #180
2023-06-18 09:45:25 +02:00
Alexander Grund
32f85585ec
Merge pull request #162 from Flamefire/modernize-loops
...
Modernize code, especially for-loops
2023-04-16 21:40:50 +02:00
Alexander Grund
329170e360
Fix comments, especially in examples
...
Some were outdated/wrong (C&P) or using the docstring triple-slash prefix
2023-04-16 16:17:29 +02:00
Alexander Grund
b1f4198701
Modernize code with range-based for loops
...
Also find related readability improvements.
2023-04-16 13:13:48 +02:00
Alexander Grund
3609eca8b2
Make use of enhanced test macros
...
Use the TEST-macros that print the values on mismatch to aid debugging
2023-01-10 14:45:07 +01:00
Alexander Grund
6cdd69abe1
Remove redundant Win2000 check
2022-10-13 20:58:25 +02:00
Alexander Grund
907e62517f
Always compile all test cases
...
Move the skip condition into `test_main` to avoid missing compile failures due to wrong/missing includes in the headers and to improve formatting due to the removed indentation level of the PP macros
2022-10-10 14:25:58 +02:00
Alexander Grund
fa4afd7a5d
Switch to consistent west-const
...
Especially for `const char*` which seems to be more common than `char const*`
2022-10-10 14:25:58 +02:00
Alexander Grund
7784f46243
Format sources
...
Use clang-format-14 to format source code consistently.
Closes #98
2022-10-10 14:25:58 +02:00
Alexander Grund
fadb2190ce
Move test headers to subfolder
...
Gets rid of the `test_` prefix in the filenames and avoids confusing those with the actual tests especially by renaming the test framework file from `test_locale.hpp` to `unit_test.hpp`
2022-09-13 12:50:23 +02:00
Alexander Grund
707f801c55
Remive vim markers
...
To be replaced by clang-format in the future.
2022-07-12 18:35:42 +02:00
Alexander Grund
595934f25e
Update license headers
...
Use the more concise format omitting the reference to the license file
and refer to the URL only.
2022-07-12 18:35:41 +02:00
Alexander Grund
aa30bd33aa
Refactor test framework
...
Use a common `main` function calling into custom `test_main` functions and
move all common code into the former.
Also introduce an RAII class for a `locale_t` to avoid leaks and reduce
the code further.
Add some LCOV annotations for lines not expected to be reached.
2022-06-30 15:08:08 +02:00
Alexander Grund
8c7338cd0d
Use \n instead of std::endl where appropriate
...
We usually don't need the flush so use \n at end of strings which
greatly shortens the code.
2022-06-30 15:08:08 +02:00
Alexander Grund
d1fc12426f
Remove trailing spaces
2022-06-04 11:50:39 +02:00
Artyom Beilis
48ff4519b8
- Updates according to library requirements
...
- cleanup of inspect warnings
- various requiremets like libraries.htm and maintainers.txt
[SVN r73786]
2011-08-15 19:04:34 +00:00
Artyom Beilis
fcd53df19c
Cleanup of some tabs and missing copyright notices
...
[SVN r73099]
2011-07-14 11:09:25 +00:00
Artyom Beilis
4c30e01d23
First Version of Boost.Locale integrated into SVN trunk
...
[SVN r73017]
2011-07-12 13:57:36 +00:00