From 4675b5f71d945aa54464cfc2e4d6b6656ecba36b Mon Sep 17 00:00:00 2001 From: konn Date: Mon, 14 Apr 2008 12:25:28 +0000 Subject: [PATCH] * Added test code of the

tag 6 for au XHTML converter. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/branches/RELEASE_0_11_0@2230 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- test/chxj_xhtml_mobile_1_0/test_chxj_xhtml_mobile_1_0.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/chxj_xhtml_mobile_1_0/test_chxj_xhtml_mobile_1_0.c b/test/chxj_xhtml_mobile_1_0/test_chxj_xhtml_mobile_1_0.c index b3a94557..2c54e67c 100644 --- a/test/chxj_xhtml_mobile_1_0/test_chxj_xhtml_mobile_1_0.c +++ b/test/chxj_xhtml_mobile_1_0/test_chxj_xhtml_mobile_1_0.c @@ -560,8 +560,8 @@ main() CU_add_test(xhtml_suite, "test

with value(japanese).", test_xhtml_h2_tag_003); CU_add_test(xhtml_suite, "test

with value(japanese-hankaku).", test_xhtml_h2_tag_004); CU_add_test(xhtml_suite, "test

with align attribute(non).", test_xhtml_h2_tag_005); -#if 0 CU_add_test(xhtml_suite, "test

with align attribute(void).", test_xhtml_h2_tag_006); +#if 0 CU_add_test(xhtml_suite, "test

with align attribute(left).", test_xhtml_h2_tag_007); CU_add_test(xhtml_suite, "test

with align attribute(right).", test_xhtml_h2_tag_008); CU_add_test(xhtml_suite, "test

with align attribute(center).", test_xhtml_h2_tag_009); @@ -3535,11 +3535,10 @@ void test_xhtml_h2_tag_005() #undef TEST_STRING #undef RESULT_STRING } -/* KONNO */ void test_xhtml_h2_tag_006() { -#define TEST_STRING "

" -#define RESULT_STRING "

" +#define TEST_STRING "

" +#define RESULT_STRING "

" char *ret; char *tmp; device_table spec; @@ -3556,6 +3555,7 @@ void test_xhtml_h2_tag_006() tmp = chxj_encoding(&r, TEST_STRING, &destlen); ret = chxj_exchange_xhtml_mobile_1_0(&r, &spec, tmp, destlen, &destlen, &entry, &cookie); ret = chxj_rencoding(&r, ret, &destlen); + fprintf(stderr, "ret=[%s]",ret); CU_ASSERT(ret != NULL); CU_ASSERT(strcmp(RESULT_STRING, ret) == 0); CU_ASSERT(destlen == sizeof(RESULT_STRING)-1); @@ -3564,6 +3564,7 @@ void test_xhtml_h2_tag_006() #undef TEST_STRING #undef RESULT_STRING } +/* KONNO */ void test_xhtml_h2_tag_007() { #define TEST_STRING "

" -- 2.11.0