1 /* 2 * Copyright 2017, Andrew Lindesay <apl@lindesay.co.nz> 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef JSON_WRITER_TEST_H 6 #define JSON_WRITER_TEST_H 7 8 9 #include <TestCase.h> 10 #include <TestSuite.h> 11 12 #include <DataIO.h> 13 14 class Sample; 15 16 17 class JsonTextWriterTest : public CppUnit::TestCase { 18 public: 19 JsonTextWriterTest(); 20 virtual ~JsonTextWriterTest(); 21 22 void TestArrayA(); 23 void TestObjectA(); 24 void TestObjectAForPerformance(); 25 void TestDouble(); 26 void TestInteger(); 27 void TestFalse(); 28 29 static void AddTests(BTestSuite& suite); 30 private: 31 32 }; 33 34 35 #endif // JSON_WRITER_TEST_H 36