/** * @author Edouard DUPIN * * @copyright 2014, Edouard DUPIN, all right reserved * * @license APACHE v2.0 (see license file) */ #pragma once #include "exmlTestCommon.h" #include TEST(TestComment, testBase) { exmlLocalTest("\n", "\n", -1); } TEST(TestComment, testMultiline) { exmlLocalTest("\n", "\n", -1); } TEST(TestComment, testTiretInComment) { exmlLocalTest("\n", "\n", -1); } TEST(TestComment, testWrongEndParsing) { exmlLocalTest(" exemple-->\n", " exemple -->\n", -1); } TEST(TestComment, testMultipleEnd) { exmlLocalTest("\n", " exemple -->\n", 1); } TEST(TestComment, testEndError) { exmlLocalTest("\n", "\n", "\n", -1); } TEST(TestComment, testAll) { exmlLocalTest("\n", "\n", -1); }