From f4b3f124cb52844d8f3f70293a11ebf746a005bf Mon Sep 17 00:00:00 2001 From: konn Date: Sat, 4 Oct 2008 06:55:23 +0000 Subject: [PATCH] * Added test code of the img tag for docomo XHTML1.0 converter. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/branches/sandbox@3238 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- test/chxj_ixhtml10/test_chxj_ixhtml10.c | 181 ++++++++++++++++---------------- 1 file changed, 92 insertions(+), 89 deletions(-) diff --git a/test/chxj_ixhtml10/test_chxj_ixhtml10.c b/test/chxj_ixhtml10/test_chxj_ixhtml10.c index 883f9479..7365a419 100644 --- a/test/chxj_ixhtml10/test_chxj_ixhtml10.c +++ b/test/chxj_ixhtml10/test_chxj_ixhtml10.c @@ -361,6 +361,46 @@ void test_ixhtml10_hr_tag_017(); void test_ixhtml10_hr_tag_018(); void test_ixhtml10_hr_tag_018_1(); void test_ixhtml10_hr_tag_018_2(); + +void test_ixhtml10_img_tag_001(); +void test_ixhtml10_img_tag_002(); +void test_ixhtml10_img_tag_003(); +void test_ixhtml10_img_tag_004(); +void test_ixhtml10_img_tag_005(); +void test_ixhtml10_img_tag_006(); +void test_ixhtml10_img_tag_007(); +void test_ixhtml10_img_tag_008(); +void test_ixhtml10_img_tag_009(); +void test_ixhtml10_img_tag_010(); +void test_ixhtml10_img_tag_011(); +void test_ixhtml10_img_tag_012(); +void test_ixhtml10_img_tag_013(); +void test_ixhtml10_img_tag_013_1(); +void test_ixhtml10_img_tag_014(); +void test_ixhtml10_img_tag_015(); +void test_ixhtml10_img_tag_016(); +void test_ixhtml10_img_tag_017(); +void test_ixhtml10_img_tag_018(); +void test_ixhtml10_img_tag_019(); +void test_ixhtml10_img_tag_020(); +void test_ixhtml10_img_tag_021(); +void test_ixhtml10_img_tag_022(); +void test_ixhtml10_img_tag_023(); +void test_ixhtml10_img_tag_024(); +void test_ixhtml10_img_tag_025(); +void test_ixhtml10_img_tag_026(); +void test_ixhtml10_img_tag_027(); +void test_ixhtml10_img_tag_028(); +void test_ixhtml10_img_tag_029(); +void test_ixhtml10_img_tag_030(); +void test_ixhtml10_img_tag_031(); +void test_ixhtml10_img_tag_032(); +void test_ixhtml10_img_tag_033(); +void test_ixhtml10_img_tag_034(); +void test_ixhtml10_img_tag_035(); +void test_ixhtml10_img_tag_036(); +void test_ixhtml10_img_tag_037(); + #if 0 @@ -414,44 +454,6 @@ void test_ixhtml10_form_tag_009(); void test_ixhtml10_html_tag_001(); -void test_ixhtml10_img_tag_001(); -void test_ixhtml10_img_tag_002(); -void test_ixhtml10_img_tag_003(); -void test_ixhtml10_img_tag_004(); -void test_ixhtml10_img_tag_005(); -void test_ixhtml10_img_tag_006(); -void test_ixhtml10_img_tag_007(); -void test_ixhtml10_img_tag_008(); -void test_ixhtml10_img_tag_009(); -void test_ixhtml10_img_tag_010(); -void test_ixhtml10_img_tag_011(); -void test_ixhtml10_img_tag_012(); -void test_ixhtml10_img_tag_013(); -void test_ixhtml10_img_tag_013_1(); -void test_ixhtml10_img_tag_014(); -void test_ixhtml10_img_tag_015(); -void test_ixhtml10_img_tag_016(); -void test_ixhtml10_img_tag_017(); -void test_ixhtml10_img_tag_018(); -void test_ixhtml10_img_tag_019(); -void test_ixhtml10_img_tag_020(); -void test_ixhtml10_img_tag_021(); -void test_ixhtml10_img_tag_022(); -void test_ixhtml10_img_tag_023(); -void test_ixhtml10_img_tag_024(); -void test_ixhtml10_img_tag_025(); -void test_ixhtml10_img_tag_026(); -void test_ixhtml10_img_tag_027(); -void test_ixhtml10_img_tag_028(); -void test_ixhtml10_img_tag_029(); -void test_ixhtml10_img_tag_030(); -void test_ixhtml10_img_tag_031(); -void test_ixhtml10_img_tag_032(); -void test_ixhtml10_img_tag_033(); -void test_ixhtml10_img_tag_034(); -void test_ixhtml10_img_tag_035(); -void test_ixhtml10_img_tag_036(); -void test_ixhtml10_img_tag_037(); @@ -1346,6 +1348,48 @@ main() CU_add_test(ixhtml10_suite, "test
2.", test_ixhtml10_hr_tag_018_1); CU_add_test(ixhtml10_suite, "test
3.", test_ixhtml10_hr_tag_018_2); + /*=========================================================================*/ + /* */ + /*=========================================================================*/ + CU_add_test(ixhtml10_suite, "test ." , test_ixhtml10_img_tag_001); + CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_002); + CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_003); + CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_004); + CU_add_test(ixhtml10_suite, "test with japanese value." , test_ixhtml10_img_tag_005); + CU_add_test(ixhtml10_suite, "test with japanese-hankaku value." , test_ixhtml10_img_tag_006); + CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_007); + CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_008); + CU_add_test(ixhtml10_suite, "test with value(top)." , test_ixhtml10_img_tag_009); + CU_add_test(ixhtml10_suite, "test with value(middle)." , test_ixhtml10_img_tag_020); + CU_add_test(ixhtml10_suite, "test with value(bottom)." , test_ixhtml10_img_tag_011); + CU_add_test(ixhtml10_suite, "test with value(left)." , test_ixhtml10_img_tag_012); + CU_add_test(ixhtml10_suite, "test with value(right)." , test_ixhtml10_img_tag_013); + CU_add_test(ixhtml10_suite, "test with value(center)." , test_ixhtml10_img_tag_013_1); + CU_add_test(ixhtml10_suite, "test with value(unkown)." , test_ixhtml10_img_tag_014); + CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_015); + CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_016); + CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_017); + CU_add_test(ixhtml10_suite, "test with numeric value." , test_ixhtml10_img_tag_018); + CU_add_test(ixhtml10_suite, "test with percentage value." , test_ixhtml10_img_tag_019); + CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_020); + CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_021); + CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_022); + CU_add_test(ixhtml10_suite, "test with numeric value." , test_ixhtml10_img_tag_023); + CU_add_test(ixhtml10_suite, "test with percentage value." , test_ixhtml10_img_tag_024); + CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_025); + CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_026); + CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_027); + CU_add_test(ixhtml10_suite, "test with numeric value." , test_ixhtml10_img_tag_028); + CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_029); + CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_030); + CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_031); + CU_add_test(ixhtml10_suite, "test with numeric value." , test_ixhtml10_img_tag_032); + CU_add_test(ixhtml10_suite, "test ." , test_ixhtml10_img_tag_033); + CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_034); + CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_035); + CU_add_test(ixhtml10_suite, "test with japanese value." , test_ixhtml10_img_tag_036); + CU_add_test(ixhtml10_suite, "test with japanese-hankaku value." , test_ixhtml10_img_tag_037); + #if 0 /*=========================================================================*/ /*
*/ @@ -1405,47 +1449,6 @@ main() /*=========================================================================*/ CU_add_test(ixhtml10_suite, "test .", test_ixhtml10_html_tag_001); /*=========================================================================*/ - /* */ - /*=========================================================================*/ - CU_add_test(ixhtml10_suite, "test ." , test_ixhtml10_img_tag_001); - CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_002); - CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_003); - CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_004); - CU_add_test(ixhtml10_suite, "test with japanese value." , test_ixhtml10_img_tag_005); - CU_add_test(ixhtml10_suite, "test with japanese-hankaku value." , test_ixhtml10_img_tag_006); - CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_007); - CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_008); - CU_add_test(ixhtml10_suite, "test with value(top)." , test_ixhtml10_img_tag_009); - CU_add_test(ixhtml10_suite, "test with value(middle)." , test_ixhtml10_img_tag_020); - CU_add_test(ixhtml10_suite, "test with value(bottom)." , test_ixhtml10_img_tag_011); - CU_add_test(ixhtml10_suite, "test with value(left)." , test_ixhtml10_img_tag_012); - CU_add_test(ixhtml10_suite, "test with value(right)." , test_ixhtml10_img_tag_013); - CU_add_test(ixhtml10_suite, "test with value(center)." , test_ixhtml10_img_tag_013_1); - CU_add_test(ixhtml10_suite, "test with value(unkown)." , test_ixhtml10_img_tag_014); - CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_015); - CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_016); - CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_017); - CU_add_test(ixhtml10_suite, "test with numeric value." , test_ixhtml10_img_tag_018); - CU_add_test(ixhtml10_suite, "test with percentage value." , test_ixhtml10_img_tag_019); - CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_020); - CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_021); - CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_022); - CU_add_test(ixhtml10_suite, "test with numeric value." , test_ixhtml10_img_tag_023); - CU_add_test(ixhtml10_suite, "test with percentage value." , test_ixhtml10_img_tag_024); - CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_025); - CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_026); - CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_027); - CU_add_test(ixhtml10_suite, "test with numeric value." , test_ixhtml10_img_tag_028); - CU_add_test(ixhtml10_suite, "test with no value." , test_ixhtml10_img_tag_029); - CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_030); - CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_031); - CU_add_test(ixhtml10_suite, "test with numeric value." , test_ixhtml10_img_tag_032); - CU_add_test(ixhtml10_suite, "test ." , test_ixhtml10_img_tag_033); - CU_add_test(ixhtml10_suite, "test with void value." , test_ixhtml10_img_tag_034); - CU_add_test(ixhtml10_suite, "test with alphabetic value." , test_ixhtml10_img_tag_035); - CU_add_test(ixhtml10_suite, "test with japanese value." , test_ixhtml10_img_tag_036); - CU_add_test(ixhtml10_suite, "test with japanese-hankaku value." , test_ixhtml10_img_tag_037); - /*=========================================================================*/ /* */ /*=========================================================================*/ CU_add_test(ixhtml10_suite, "test ." , test_ixhtml10_menu_tag_001); @@ -9510,7 +9513,7 @@ void test_ixhtml10_img_tag_008() void test_ixhtml10_img_tag_009() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; @@ -9540,7 +9543,7 @@ void test_ixhtml10_img_tag_009() void test_ixhtml10_img_tag_010() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; @@ -9570,7 +9573,7 @@ void test_ixhtml10_img_tag_010() void test_ixhtml10_img_tag_011() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; @@ -9600,7 +9603,7 @@ void test_ixhtml10_img_tag_011() void test_ixhtml10_img_tag_012() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; @@ -9630,7 +9633,7 @@ void test_ixhtml10_img_tag_012() void test_ixhtml10_img_tag_013() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; @@ -9660,7 +9663,7 @@ void test_ixhtml10_img_tag_013() void test_ixhtml10_img_tag_013_1() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; @@ -10080,7 +10083,7 @@ void test_ixhtml10_img_tag_026() void test_ixhtml10_img_tag_027() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; @@ -10110,7 +10113,7 @@ void test_ixhtml10_img_tag_027() void test_ixhtml10_img_tag_028() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; @@ -10200,7 +10203,7 @@ void test_ixhtml10_img_tag_030() void test_ixhtml10_img_tag_031() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; @@ -10230,7 +10233,7 @@ void test_ixhtml10_img_tag_031() void test_ixhtml10_img_tag_032() { #define TEST_STRING "" -#define RESULT_STRING "\"\"" +#define RESULT_STRING "\"\"" char *ret; char *tmp; device_table spec; -- 2.11.0