49 Commits (4bee3b821a3f18a15c890a46b17ef3366818f930)

Author SHA1 Message Date
heck c363bd7924 prototype: pEp::PODStruct - logger classname defines by T 3 years ago
heck 0a641597d4 prototype: remove alloc/free routines from namespace pEp, they have been moved into the respective classes, (might generalize and extract them later again) 3 years ago
heck 224c52b96c prototype: TestStruct1 - use default alloc/free from PODStruct, and use data() method to access wrapped struct for binding 3 years ago
heck 26e0848fa1 prototype: pEp::PODStruct - created default alloc/free, and a constructor to provide custom alloc/free 3 years ago
heck 6b0ab94595 prototype: pEp::String - move alloc/free routines into class 3 years ago
heck ba0857c930 prototype: pEp::String - does never host a char*, but only wraps one thats hosted somehwere else, so we only need a char**, no char* 3 years ago
heck 33b898fa23 prototype: pEp::String - avoid nullptr in the char* (if the c_str_p is nullptr then init with "") 3 years ago
heck 7e5d39f28b prototype: just comments and prints 3 years ago
heck 41fff66a0c Build: tests - link against libc99 (example lib) 3 years ago
heck 79a3dfecf8 prtotype: make struct wrapper generic 3 years ago
heck c25c114082 prtotype: prefix libc99 usage with :: 3 years ago
heck 8d9a1272b8 move protoyping into new dir 'test' 3 years ago
heck d7c3e61322 move 'test' to 'test_old' 3 years ago
heck 1df9c84511 protyping: Structs wrapper / ownership / more tests 3 years ago
heck e0634523a6 protyping: POD / String types, and more tests 3 years ago
heck 82d64f8c58 Build: link against libpEpCxx11 3 years ago
heck e49c88052d Add generic class 'POD', a generic POD-wrapper 3 years ago
heck eed57ef631 func name typo 3 years ago
heck 3b556c2e99 using std::shared_ptr is too complicated for this. 3 years ago
heck 3737da708d Inital prototyping 3 years ago
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