Flamefire
df13d5c1cd
Include 'Fix test for coverage'
2024-10-19 12:02:28 +00:00
Flamefire
b98cdaa47a
Include 'Remove uneccessary cast in test_swap
...
The cast is actually wrong as the return value of is already.'
2022-07-13 11:25:19 +00:00
Flamefire
495bbcc11f
Include 'Merge pull request #161 from Flamefire/coverity
...
Fix coverity build'
2022-06-14 15:16:16 +00:00
Flamefire
92943916cd
Include 'Fix return value of sync() when fflush fails
...
It incorrectly returned 0 instead of -1'
2022-03-18 10:22:37 +00:00
Flamefire
960c2016a2
Include 'CI: Remove Visual Studio 2019 CMake test
...
The cin emulation in the test fails on this image.'
2022-03-09 17:57:21 +00:00
Flamefire
37ed2c0151
Include 'Enhance CTRL+Z iostream test
...
Output random seed and progress indicator to be able to reproduce failures'
2022-03-08 21:13:26 +00:00
Flamefire
fccb720589
Include 'Fix update of standalone branch
...
Use regular rm because ignores untracked files'
2021-12-21 14:46:45 +00:00
Flamefire
c70aa022f2
Include 'Merge pull request #97 from Flamefire/upgradeToCxx11
...
Upgrade to C++11'
2020-05-28 06:43:51 +00:00
Flamefire
5b8bb5d115
Include 'Merge pull request #96 from boostorg/test_standalone
...
Automatically update standalone branch'
2020-05-13 14:11:33 +00:00
Alexander Grund
ec63209351
Ignore CR in cin
...
Fixes #94
2020-05-04 20:40:36 +02:00
Alexander Grund
c246a24d27
Support cin.sync
...
Call FlushConsoleInputBuffer and test that (manually)
2020-05-04 20:32:29 +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
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
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
Flamefire
3bd6eed183
Enforce uniform formatting via clang-format
2019-12-28 16:02:31 +01:00
Flamefire
f95ef16706
Remove dependency on Boost.Locale
...
Copy utf.hpp from Boost.Locale
2019-12-27 14:26:31 +01:00
Flamefire
1d50c27dce
Fix some warnings
2019-12-18 14:47:14 +01:00
Flamefire
f2e95fc899
Remove trailing whitespace
2019-12-14 15:47:01 +01:00
Flamefire
872c8eb37f
Fix iostream test
...
The standard guarantees only a putback of 1 char on stdin, our implementation has support for more
Also test that the values read on stdin are indeed UTF-8
2019-12-13 21:14:35 +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
ddb2794705
Merge branch 'feature/temp-review-fixes' into feature/merge-review-fixes
...
Conflicts:
include/boost/nowide/utf8_codecvt.hpp
test/test_codecvt.cpp
test/test_convert.cpp
test/test_fs.cpp
2019-12-04 19:50:59 +02:00
Peter Dimov
6df39fc829
Switch back to using test.hpp in tests
2019-12-04 16:29:56 +02:00
Peter Dimov
3b20019524
Add missing include
2019-12-03 16:28:40 +02:00
Peter Dimov
ac7b93b55d
Use lightweight_test
2019-12-03 16:21:45 +02:00
Peter Dimov
92ca903c18
Add copyright and license
2019-12-03 15:49:37 +02:00
Artyom Beilis
11a7d83c1c
Updates after review notes use U+FFFD instead of flagging error in case of invalid utf-8
2018-04-08 00:21:13 +03:00
Artyom Beilis
bfbca14bd3
Moved various files according to new boost format
2015-10-01 18:57:14 +03:00