2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-14 00:42:53 +00:00
Commit Graph

10 Commits

Author SHA1 Message Date
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
3e0a7e33b1 Fix minor issues and improve stackstring tests
Make some functions protected to derive a test class from stackstring
which can be used to detect wether a stack or heap value is used
Fix or silence issues from static analyser findings
Double-check and handle surrogates in iostream
2020-03-14 17:46:49 +01:00
Alexander Grund
5379ff55b4 Handle/Silence issues from coverity 2020-03-05 16:07:37 +01:00
Alexander Grund
7474cb8b4a Avoid CRT_SECURE_WARNINGS on clang-win 2020-02-24 18:00:48 +01:00
Alexander Grund
2dbe4552c3 Don't use map.at for C++98 compatibility 2020-02-24 13:31:57 +01:00
Alexander Grund
3ff3002a22 Improve performance test
Run multiple times and take mean speed
Present results in a table for easier comparison
Add some tricks to avoid optimization reordering stuff that breaks the benchmark
2020-02-06 16:57:09 +01:00
Alexander Grund
8e08054b42 Reduce max line length to 120 2020-02-04 17:46:48 +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
dd2d60eda3 Add benchmark for fstream 2020-01-02 18:47:38 +01:00