NAWA 0.9
Web Application Framework for C++
http.cpp File Reference

Unit tests for the request environment using the HTTP request handler. More...

#include <boost/network/protocol/http/client.hpp>
#include <catch2/catch.hpp>
#include <nawa/Exception.h>
#include <nawa/RequestHandler/RequestHandler.h>
#include <nawa/connection/Connection.h>
#include <nawa/util/utils.h>

Go to the source code of this file.

Functions

Config loadConfig ()
 
 TEST_CASE ("Basic request handling (HTTP)", "[basic][http]")
 
 TEST_CASE ("Environment and headers (HTTP)", "[headers][http]")
 
 TEST_CASE ("Sessions (HTTP)", "[sessions][http]")
 

Detailed Description

Unit tests for the request environment using the HTTP request handler.

Definition in file http.cpp.

Function Documentation

◆ loadConfig()

Config loadConfig ( )

Definition at line 34 of file main.cpp.

◆ TEST_CASE() [1/3]

TEST_CASE ( "Basic request handling (HTTP)"  ,
""  [basic][http] 
)

Definition at line 74 of file http.cpp.

◆ TEST_CASE() [2/3]

TEST_CASE ( "Environment and headers (HTTP)"  ,
""  [headers][http] 
)

Definition at line 94 of file http.cpp.

◆ TEST_CASE() [3/3]

TEST_CASE ( "Sessions (HTTP)"  ,
""  [sessions][http] 
)

Definition at line 161 of file http.cpp.