/* * Copyright 2017, Andrew Lindesay * Distributed under the terms of the MIT License. */ #ifndef JSON_WRITER_TEST_H #define JSON_WRITER_TEST_H #include #include #include class Sample; class JsonTextWriterTest : public CppUnit::TestCase { public: JsonTextWriterTest(); virtual ~JsonTextWriterTest(); void TestArrayA(); void TestObjectA(); void TestObjectAForPerformance(); void TestDouble(); void TestInteger(); void TestFalse(); void TestString(); static void AddTests(BTestSuite& suite); private: void TestStringGeneric(const char *input, const char *expectedOut); }; #endif // JSON_WRITER_TEST_H