2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-01-24 18:12:23 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
Alexander Grund
0804214f92 [Test] Fix tests for stackstring
Values that should go onto stack were put on heap invalidating some tests
2020-02-25 15:00:49 +01:00
Alexander Grund
6ae2d8aa9b Fix crash on assignment of empty stackstring
Also add this as a testcase
2020-02-25 15:00:49 +01:00
Alexander Grund
b171658b0a [Test] Improve test_stackstring
Show some progress
Test using stackstring in a vector
2020-02-25 15:00:49 +01:00
Alexander Grund
bf8b679555 Improve conversion tests
- Move common test cases into test_sets
- Run test_sets with all variants of conversions
- Handle incomplete input in codecvt conversion test
2020-01-08 17:24:46 +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
e972bea06d Make stackstring return NULL when no string was converted (NULL passed or default constructed)
This is important for e.g. freopen where an empty string and a NULL pointer have different meanings
Rename c_str to get to avoid confusion
2020-01-02 18:47:56 +01:00
Alexander Grund
7e4e8c2194 Split tests for convert and stackstring 2020-01-02 18:47:55 +01:00