Alexander Grund
b7a4fa5f56
Include iomanip before checking feature macros
2023-11-04 10:31:27 +01:00
Alexander Grund
26bc5d540e
Avoid warning in test
2023-11-03 14:46:45 +01:00
Alexander Grund
1e92987a04
Add boost::nowide::quoted to read/write paths from/to streams.
2023-03-04 16:48:25 +01:00
Alexander Grund
a0327e0b74
Update license headers
...
Use the more concise format omitting the reference to the license file
and refer to the URL only.
2022-07-13 12:35:54 +02:00
Alexander Grund
993deff3ca
Coverity: Remove space in supression comments
...
Seemingly the correct syntax is without that space.
2022-06-14 12:50:04 +02:00
Alexander Grund
3178dc17ff
Fixup coverity comments
...
They seemingly need to be above the line they refer to
2021-12-20 14:21:05 +01:00
Alexander Grund
ee17695de1
Suppress false positives from coverity
2021-11-19 13:25:05 +01:00
Alexander Grund
a1f1602717
Suppress GCC warnings in Boost.Filesystem
2021-10-26 22:04:35 +02:00
Alexander Grund
533c875175
Suppress MSVC "function marked as __forceinline not inlined" warnings from Boost.Filesystem
2021-10-26 14:12:20 +02:00
Alexander Grund
c8a9cb0fc2
Suppress some coverity false positives
2021-04-22 11:20:55 +02:00
Alexander Grund
c896185347
Reformat
...
Put nowide headers at top, to test for self-containment
Then custom headers (i.e. "" style includes)
then boost headers (semi-standard)
then standard headers (all other <> style includes)
2021-04-13 12:16:50 +02:00
Alexander Grund
124d80f0ee
Avoid boost::fs::unique
...
This seems to lead to a "boost::filesystem::status: Function not implemented"
error in some environments (e.g. Docker), although it is unclear why
exactly. As this is not really needed here the executable name can be
used instead.
2020-11-03 11:02:07 +01:00
Alexander Grund
20385d4a3c
Fix name of license file
2020-05-22 12:20:11 +02:00
Alexander Grund
6afb3f15ab
Deduplicate tests and improve coverage
...
Every test had the same pattern of a main catching exceptions and
returning 0 or 1 based on that. Factor that into test.hpp.
As most code in test.hpp is only executed on failure and those should
not occur this file is excluded from coverage.
Finally test.hpp is included last and the header to test first
consistently to check for self-sufficient includes.
2020-04-03 16:28:28 +02:00
Alexander Grund
7054b4b2a6
Allow building as standalone (No Boost references at all)
...
Update conversion script
Fix references in Code
Add tests
2020-03-15 18:44:21 +01:00
Alexander Grund
5379ff55b4
Handle/Silence issues from coverity
2020-03-05 16:07:37 +01:00
Alexander Grund
1efba9eec7
Add C++11 move ctor and assignment and swap functions
2020-02-28 19:35:38 +01:00
Alexander Grund
dbac66606d
Add support for *::filesystem::path to fstream classes
2020-02-04 19:04:07 +01:00
Alexander Grund
7854435d8e
Switch pointer alignment to left
...
Consistency with rest of boost
2020-01-07 21:27:26 +01:00
Alexander Grund
bb2487351f
Use west-const
...
Almost all of boost does, so be nice stay consistent
2020-01-07 21:26:12 +01:00
Alexander Grund
1168f607bb
Remove vim format tags
2020-01-07 19:41:33 +01:00
Alexander Grund
956ecbf6d1
Use pragma instead of _CRT_SECURE_NO_WARNINGS
...
Allows to detect missing suppressions in headers
2020-01-02 18:47:57 +01:00
Alexander Grund
1bff7b670c
Remove usage of Boost.LightweightTest
...
Tests assume TEST terminates execution on failure which is not how BLWT behaves
2020-01-02 18:47:46 +01:00
Alexander Grund
16d98b0f15
Cleanup includes
2020-01-02 18:47:40 +01:00
Flamefire
3bd6eed183
Enforce uniform formatting via clang-format
2019-12-28 16:02:31 +01:00
Flamefire
1d50c27dce
Fix some warnings
2019-12-18 14:47:14 +01:00
Flamefire
f213fd90f4
Fix exception path of tests
...
Even in case of exceptions boost::report_errors has to be called
2019-12-13 19:24:44 +01:00
Peter Dimov
6df39fc829
Switch back to using test.hpp in tests
2019-12-04 16:29:56 +02:00
Peter Dimov
ac7b93b55d
Use lightweight_test
2019-12-03 16:21:45 +02:00
Peter Dimov
a233584d1e
Add a unique prefix to all temporary files to allow parallel testing
2019-12-03 16:06:04 +02:00
Peter Dimov
f84620d1f2
Use a random prefix instead of a temp directory, because Cygwin has separate win32 and posix cwd
2019-12-03 06:49:53 +02:00
Peter Dimov
f050d64cb2
Use a temporary directory for test_fs.cpp, because of -jN
2019-12-03 04:34:29 +02:00
Artyom Beilis
a711f32087
* Added utf8 codecvt_facet
...
* Added integration with boost::filesystem
2015-10-07 16:49:15 +03:00