OSDN Git Service

* Added test code of the <a name> attribute 3 for au XHTML converter.
authorkonn <konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Sat, 12 Apr 2008 17:23:33 +0000 (17:23 +0000)
committerkonn <konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Sat, 12 Apr 2008 17:23:33 +0000 (17:23 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/branches/RELEASE_0_11_0@2138 1a406e8e-add9-4483-a2c8-d8cac5b7c224

test/chxj_xhtml_mobile_1_0/test_chxj_xhtml_mobile_1_0.c

index 64c2e90..9a6bb48 100644 (file)
@@ -460,8 +460,8 @@ main()
 
   CU_add_test(xhtml_suite, "test a tag name attr1",                             test_xhtml_a_tag_name_attribute_001);
   CU_add_test(xhtml_suite, "test a tag name attr2",                             test_xhtml_a_tag_name_attribute_002);
-#if 0
   CU_add_test(xhtml_suite, "test a tag name attr3 with japanese.",              test_xhtml_a_tag_name_attribute_003);
+#if 0
   CU_add_test(xhtml_suite, "test a tag name attr4 with japanese.",              test_xhtml_a_tag_name_attribute_004);
   CU_add_test(xhtml_suite, "test a tag href attr1 with void attribute.",        test_xhtml_a_tag_href_attribute_001);
   CU_add_test(xhtml_suite, "test a tag href attr2 with other site link.",       test_xhtml_a_tag_href_attribute_002);
@@ -1087,8 +1087,8 @@ void test_xhtml_a_tag_name_attribute_002()
 }
 void test_xhtml_a_tag_name_attribute_003() 
 {
-#define  TEST_STRING "<html><head></head><body><a name=\"あああ\">abc</a></body></html>"
-#define  RESULT_STRING "<html><head></head><body><a name=\"あああ\">abc</a></body></html>"
+#define  TEST_STRING "<a name=\"あああ\">abc</a>"
+#define  RESULT_STRING "<a id=\"あああ\">abc</a>"
   char  *ret;
   char  *tmp;
   device_table spec;