NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
close.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <iostream>
#include <string>
#include <websocketpp/close.hpp>
#include <websocketpp/utilities.hpp>
Include dependency graph for close.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   close
 

Functions

 BOOST_AUTO_TEST_CASE (reserved_values)
 
 BOOST_AUTO_TEST_CASE (invalid_values)
 
 BOOST_AUTO_TEST_CASE (value_extraction)
 
 BOOST_AUTO_TEST_CASE (extract_empty)
 
 BOOST_AUTO_TEST_CASE (extract_short)
 
 BOOST_AUTO_TEST_CASE (extract_reason)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   close

Definition at line 28 of file close.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/6]

BOOST_AUTO_TEST_CASE ( reserved_values  )

Definition at line 39 of file close.cpp.

References websocketpp::close::status::reserved().

◆ BOOST_AUTO_TEST_CASE() [2/6]

BOOST_AUTO_TEST_CASE ( invalid_values  )

Definition at line 47 of file close.cpp.

References websocketpp::close::status::invalid().

◆ BOOST_AUTO_TEST_CASE() [3/6]

◆ BOOST_AUTO_TEST_CASE() [4/6]

BOOST_AUTO_TEST_CASE ( extract_empty  )

◆ BOOST_AUTO_TEST_CASE() [5/6]

BOOST_AUTO_TEST_CASE ( extract_short  )

◆ BOOST_AUTO_TEST_CASE() [6/6]

BOOST_AUTO_TEST_CASE ( extract_reason  )