Smart Home firewall
Profile-based Smart Home firewall
Functions
http.c File Reference

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>
Include dependency graph for http.c:

Functions

void test_http_request ()
 Unit test for the HTTP parser.
 
void test_http_response ()
 
int main (int argc, char const *argv[])
 

Detailed Description

Unit tests for the HTTP parser.

Date
2022-20-09

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)

Driver function for the unit tests.