OSDN Git Service

unite testcase for http_defaultheaderparser_t.
authorornse01 <ornse01@users.sourceforge.jp>
Sun, 29 Jan 2012 07:35:08 +0000 (07:35 +0000)
committerornse01 <ornse01@users.sourceforge.jp>
Sun, 29 Jan 2012 07:35:08 +0000 (07:35 +0000)
git-svn-id: http://svn.sourceforge.jp/svnroot/bchan/bchanf/trunk@367 20a0b8eb-f62a-4a12-8fe1-b598822500fb

src/Makefile.test
src/http/test_http.h
src/test_main.c

index f5eb98b..4a2e285 100644 (file)
@@ -46,14 +46,16 @@ SRC_HTTP =  http_connector.c \
                http_headerlexer.c \
                http_statuslineparser.c \
                http_requestlinestream.c \
-               http_defaultheaderstream.c
+               http_defaultheaderstream.c \
+               http_defaultheaderparser.c
 
 SRC_HTTP_TEST =        test_http_transferdecoder.c \
                test_http_contentdecoder.c \
                test_http_headerlexer.c \
                test_http_statuslineparser.c \
                test_http_requestlinestream.c \
-               test_http_defaultheaderstream.c
+               test_http_defaultheaderstream.c \
+               test_http_defaultheaderparser.c
 
 SRC_PARSE =    tokenchecker.c \
                charreferparser.c 
index 0df855b..f6cb2d6 100644 (file)
@@ -36,5 +36,6 @@ IMPORT VOID test_http_headerlexer_main(unittest_driver_t *driver);
 IMPORT VOID test_http_statuslineparser_main(unittest_driver_t *driver);
 IMPORT VOID test_http_requestlinestream_main(unittest_driver_t *driver);
 IMPORT VOID test_http_defaultheaderstream_main(unittest_driver_t *driver);
+IMPORT VOID test_http_defaultheaderparser_main(unittest_driver_t *driver);
 
 #endif
index 10f0ab0..7228b66 100644 (file)
@@ -51,6 +51,7 @@ EXPORT        W       MAIN(MESSAGE *msg)
        test_http_statuslineparser_main(driver);
        test_http_requestlinestream_main(driver);
        test_http_defaultheaderstream_main(driver);
+       test_http_defaultheaderparser_main(driver);
 
        test_tokenchecker_main(driver);
        test_charreferparser_main(driver);