|
Smart Home firewall
Profile-based Smart Home firewall
|
Unit tests for the HTTP parser. More...
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "packet_utils.h"#include "header.h"#include "http.h"#include <CUnit/CUnit.h>#include <CUnit/Basic.h>
Functions | |
| void | test_http_request () |
| Unit test for the HTTP parser. | |
| void | test_http_response () |
| int | main (int argc, char const *argv[]) |
Unit tests for the HTTP parser.
| int main | ( | int | argc, |
| char const * | argv[] | ||
| ) |
Driver function for the unit tests.