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

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   uri
 

Functions

 BOOST_AUTO_TEST_CASE (uri_valid)
 
 BOOST_AUTO_TEST_CASE (uri_valid_no_port_unsecure)
 
 BOOST_AUTO_TEST_CASE (uri_valid_no_port_secure)
 
 BOOST_AUTO_TEST_CASE (uri_valid_no_resource)
 
 BOOST_AUTO_TEST_CASE (uri_valid_ipv6_literal)
 
 BOOST_AUTO_TEST_CASE (uri_valid_2)
 
 BOOST_AUTO_TEST_CASE (uri_invalid_long_port)
 
 BOOST_AUTO_TEST_CASE (uri_invalid_scheme)
 
 BOOST_AUTO_TEST_CASE (uri_http_scheme)
 
 BOOST_AUTO_TEST_CASE (uri_valid_ipv4_literal)
 
 BOOST_AUTO_TEST_CASE (uri_valid_3)
 
 BOOST_AUTO_TEST_CASE (uri_invalid_method_separator)
 
 BOOST_AUTO_TEST_CASE (uri_invalid_gt_16_bit_port)
 
 BOOST_AUTO_TEST_CASE (uri_invalid_fragment)
 
 BOOST_AUTO_TEST_CASE (uri_invalid_bad_v6_literal_1)
 
 BOOST_AUTO_TEST_CASE (uri_invalid_bad_v6_literal_2)
 
 BOOST_AUTO_TEST_CASE (uri_valid_4)
 
 BOOST_AUTO_TEST_CASE (uri_valid_v4_mapped)
 
 BOOST_AUTO_TEST_CASE (uri_valid_v6_mixed_case)
 
 BOOST_AUTO_TEST_CASE (uri_invalid_no_scheme)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   uri

Definition at line 28 of file uri.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/20]

◆ BOOST_AUTO_TEST_CASE() [2/20]

◆ BOOST_AUTO_TEST_CASE() [3/20]

◆ BOOST_AUTO_TEST_CASE() [4/20]

◆ BOOST_AUTO_TEST_CASE() [5/20]

◆ BOOST_AUTO_TEST_CASE() [6/20]

◆ BOOST_AUTO_TEST_CASE() [7/20]

BOOST_AUTO_TEST_CASE ( uri_invalid_long_port  )

Definition at line 111 of file uri.cpp.

References websocketpp::uri::get_valid().

◆ BOOST_AUTO_TEST_CASE() [8/20]

BOOST_AUTO_TEST_CASE ( uri_invalid_scheme  )

Definition at line 118 of file uri.cpp.

References websocketpp::uri::get_valid().

◆ BOOST_AUTO_TEST_CASE() [9/20]

◆ BOOST_AUTO_TEST_CASE() [10/20]

◆ BOOST_AUTO_TEST_CASE() [11/20]

◆ BOOST_AUTO_TEST_CASE() [12/20]

BOOST_AUTO_TEST_CASE ( uri_invalid_method_separator  )

Definition at line 161 of file uri.cpp.

References websocketpp::uri::get_valid().

◆ BOOST_AUTO_TEST_CASE() [13/20]

BOOST_AUTO_TEST_CASE ( uri_invalid_gt_16_bit_port  )

Definition at line 168 of file uri.cpp.

References websocketpp::uri::get_valid().

◆ BOOST_AUTO_TEST_CASE() [14/20]

BOOST_AUTO_TEST_CASE ( uri_invalid_fragment  )

Definition at line 175 of file uri.cpp.

References websocketpp::uri::get_valid().

◆ BOOST_AUTO_TEST_CASE() [15/20]

BOOST_AUTO_TEST_CASE ( uri_invalid_bad_v6_literal_1  )

Definition at line 182 of file uri.cpp.

References websocketpp::uri::get_valid().

◆ BOOST_AUTO_TEST_CASE() [16/20]

BOOST_AUTO_TEST_CASE ( uri_invalid_bad_v6_literal_2  )

Definition at line 189 of file uri.cpp.

References websocketpp::uri::get_valid().

◆ BOOST_AUTO_TEST_CASE() [17/20]

◆ BOOST_AUTO_TEST_CASE() [18/20]

◆ BOOST_AUTO_TEST_CASE() [19/20]

◆ BOOST_AUTO_TEST_CASE() [20/20]

BOOST_AUTO_TEST_CASE ( uri_invalid_no_scheme  )

Definition at line 233 of file uri.cpp.

References websocketpp::uri::get_valid().