CU_add_test(xhtml_suite, "test <body> .", test_xhtml_body_tag_001);
CU_add_test(xhtml_suite, "test <body> with bgcolor attribute 1.", test_xhtml_body_tag_002);
-#if 0
CU_add_test(xhtml_suite, "test <body> with bgcolor attribute 2.", test_xhtml_body_tag_003);
+#if 0
CU_add_test(xhtml_suite, "test <body> with bgcolor attribute 3.", test_xhtml_body_tag_004);
CU_add_test(xhtml_suite, "test <body> with text attribute 1.", test_xhtml_body_tag_005);
CU_add_test(xhtml_suite, "test <body> with text attribute 2.", test_xhtml_body_tag_006);
#undef TEST_STRING
#undef RESULT_STRING
}
-/* KONNO */
void test_xhtml_body_tag_002()
{
#define TEST_STRING "<body bgcolor></body>"
}
void test_xhtml_body_tag_003()
{
-#define TEST_STRING "<html><head></head><body bgcolor=\"\"></body></html>"
-#define RESULT_STRING "<html><head></head><body></body></html>"
+#define TEST_STRING "<body bgcolor=\"\"></body>"
+#define RESULT_STRING "<body>\r\n</body>\r\n"
char *ret;
char *tmp;
device_table spec;
#undef TEST_STRING
#undef RESULT_STRING
}
+/* KONNO */
void test_xhtml_body_tag_004()
{
#define TEST_STRING "<html><head></head><body bgcolor=\"#ff0000\"></body></html>"