29 Commits (master)

Author SHA1 Message Date
heck bceb2ee40e Build: more warnings etc... 3 years ago
heck 6d59e27c29 Build: adds gtest prefix, clean out unused clutter 3 years ago
heck eaa77767a7 add .clang-format / reformat 3 years ago
roker 4e43ab01f2 add docu, add tests. next try..... 4 years ago
roker b8df0024af test the remaining nfc_string member functions. 4 years ago
roker 34be0bc02b add some tests for nfc_string (only UTF8 for now, UTF16 is TODO). 4 years ago
roker 935b1de2df fix unittest_nfc16 and comment the unusual behavior of <U+1D161>. :-/ 4 years ago
roker ebc949c092 using std::string_view. 4 years ago
roker 8205b7b9de bundle UTF handling functions as static member functions of a UTF class template to circumvent prohibition of partial function specialization. *sigh* 4 years ago
roker 065e730d87 unrelated, but still not commited. 4 years ago
roker 8f7f181899 oh, the missing comma confuses libetpan, letting it reject the whole Cc: line. pEpMIME parses 4 entries here. Who is rignt? 4 years ago
roker 8306edaf09 resort the test to see what is working and what not, yet. 4 years ago
roker 0c82dcc5dc add an EXPECT_NE() to check for nullptr before derefencing it. Avoids segfault. But the test is still red. 4 years ago
roker 1da02a1eb2 add more comprehensive test for message parser. And... it segfaults. :-( 4 years ago
roker 5ffd66f169 fix the unittests for UTF-16 NFC tests 4 years ago
roker 1d1575e971 copy unittest_nfc.cc to unittest_nfc16.cc 4 years ago
roker 6e1f680ec5 use string_view in unittest_nfc. That avoids copying and makes compiler happy, too! 4 years ago
roker 57ee30017d test the wrapper for message. 4 years ago
roker 9278dd9e9b add unittest for identity & identity_list 4 years ago
roker 392662b981 unittest to show how the intended usage will be. 4 years ago
roker 39e8dd2d10 Yay, all tests are green now! \o/ 4 years ago
roker 450acba1bc now the unittests compile. \o/ All declared functions & variables are defined. 4 years ago
roker 999052db8b externalize zhe initializer_list<> to get better compiler error messages. might be reverted sometimes later. 4 years ago
roker 680a19bcc8 find() -> find_if() etc. to make it compile. *sigh* 4 years ago
roker 68f3006e37 fix unittests. but there is still a lot to do... 4 years ago
roker 1a270a0106 add comprehensive test for pEp::StringPairList 4 years ago
roker d52ed09280 add unittest_stringpair; fix linker errors. 4 years ago
roker 263222aefb add simple unittest; stolen from JSON Adapter. 4 years ago
roker 68052a3c78 add 1st rough version of test/Makefile 4 years ago