Commit Graph

13 Commits (47a210788a8f14b93acc8dc97ee166e7c7e12a99)

Author SHA1 Message Date
Roker 445e47a193 JSON-94: add more checks to me more robust. Add unittest for illegal \u sequences 5 years ago
Roker 0f73bad45c JSON-94: create unit test for JSON reading, incl. the problematic and failing example data 5 years ago
Lars Rohwedder 3dbe43cbca oh, I forgot to test for strings containing NUL bytes. Now I test them, too. 5 years ago
Lars Rohwedder 5beb059e27 add tests whether illegal UTF-8 strings will be detected and throws errors. And we see: CESU-8 is not detected, yet. *sigh* 5 years ago
Lars Rohwedder 0c97d04c21 add some more descriptions & Cyrillic example string 5 years ago
Lars Rohwedder 2e1007cfc7 found a minor issue encoding \177 a.k.a. \u007F, that was encoded in lowercase 5 years ago
Lars Rohwedder 638b5804c4 add rationales for the chosen test strings 5 years ago
Lars Rohwedder 7e02d3daf8 rewrite unittest to use vector with test values incl. the expected results etc. 5 years ago
Lars Rohwedder 6b3ced6ccc add test for raw_utf8, add non-BMP character that needs special handling in \uXXXX sequences, too! 5 years ago
Lars Rohwedder 66e6100369 hum, do "C++11 raw strings" look better here? 5 years ago
Lars Rohwedder 741c2873db better test cases, and I just found an encoding bug 5 years ago
Lars Rohwedder e08510fc84 use gtest_main instead of own main() function. that allowes several unit test source files linked together easily 5 years ago
Lars Rohwedder 4702391e34 add unit test using Googletest framework. Works only on Debian for now. Please generalize the Makefile!!! 5 years ago