/** * @author Edouard DUPIN * * @copyright 2011, Edouard DUPIN, all right reserved * * @license APACHE v2.0 (see license file) */ #ifndef __EJSON_TEST_NULL_H__ #define __EJSON_TEST_NULL_H__ #include "testCommon.h" #include static std::string refOutputNull("{\n\t\"tmpElement\": null\n}\n"); TEST(TestNull, testBasicNullElement) { localTest(refOutputNull, "{ tmpElement:null }\n", -1); } TEST(TestNull, testTabbedNullElement) { localTest(refOutputNull, "{ \t\ntmpElement:null \t\n }\n", -1); } TEST(TestNull, testTabbedNullElementNoPThese) { localTest(refOutputNull, "tmpElement:null\n", -1); } #endif