2 * Copyright 2017, Andrew Lindesay <apl@lindesay.co.nz>
3 * Distributed under the terms of the MIT License.
5 #ifndef JSON_END_TO_END_TEST_H
6 #define JSON_END_TO_END_TEST_H
10 #include <TestSuite.h>
16 class JsonEndToEndTest
: public CppUnit::TestCase
{
19 virtual ~JsonEndToEndTest();
32 void TestStringUnterminated();
33 void TestArrayUnterminated();
34 void TestObjectUnterminated();
36 static void AddTests(BTestSuite
& suite
);
38 void TestUnterminated(const char* input
);
40 void TestParseAndWrite(const char* input
,
41 const char* expectedOutput
);
45 #endif // JSON_END_TO_END_TEST_H