4 * Copyright (c) 2012 project bchan
6 * This software is provided 'as-is', without any express or implied
7 * warranty. In no event will the authors be held liable for any damages
8 * arising from the use of this software.
10 * Permission is granted to anyone to use this software for any purpose,
11 * including commercial applications, and to alter it and redistribute it
12 * freely, subject to the following restrictions:
14 * 1. The origin of this software must not be misrepresented; you must not
15 * claim that you wrote the original software. If you use this software
16 * in a product, an acknowledgment in the product documentation would be
17 * appreciated but is not required.
19 * 2. Altered source versions must be plainly marked as such, and must not be
20 * misrepresented as being the original software.
22 * 3. This notice may not be removed or altered from any source
31 #include <btron/btron.h>
33 #include <unittest_driver.h>
35 #include <test_http.h>
36 #include <test_parse.h>
39 EXPORT W MAIN(MESSAGE *msg)
41 unittest_driver_t *driver;
43 driver = unittest_driver_new();
48 test_http_transferdecoder_main(driver);
49 test_http_contentdecoder_main(driver);
50 test_http_headerlexer_main(driver);
51 test_http_statuslineparser_main(driver);
52 test_http_requestlinestream_main(driver);
53 test_http_defaultheaderstream_main(driver);
55 test_tokenchecker_main(driver);
56 test_charreferparser_main(driver);
58 unittest_driver_runnning(driver);
59 unittest_driver_delete(driver);