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

Go to the source code of this file.

Classes

struct  stub_config
 

Macros

#define BOOST_TEST_MODULE   client
 

Typedefs

typedef websocketpp::client< stub_configclient
 
typedef client::connection_ptr connection_ptr
 

Functions

 BOOST_AUTO_TEST_CASE (invalid_uri)
 
 BOOST_AUTO_TEST_CASE (unsecure_endpoint)
 
 BOOST_AUTO_TEST_CASE (get_connection)
 
 BOOST_AUTO_TEST_CASE (connect_con)
 
 BOOST_AUTO_TEST_CASE (select_subprotocol)
 
 BOOST_AUTO_TEST_CASE (add_subprotocols_invalid)
 
 BOOST_AUTO_TEST_CASE (add_subprotocols)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   client

Definition at line 28 of file client.cpp.

Typedef Documentation

◆ client

Definition at line 64 of file client.cpp.

◆ connection_ptr

Definition at line 65 of file client.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/7]

BOOST_AUTO_TEST_CASE ( invalid_uri  )

◆ BOOST_AUTO_TEST_CASE() [2/7]

BOOST_AUTO_TEST_CASE ( unsecure_endpoint  )

◆ BOOST_AUTO_TEST_CASE() [3/7]

BOOST_AUTO_TEST_CASE ( get_connection  )

Definition at line 85 of file client.cpp.

References websocketpp::client< config >::get_connection().

◆ BOOST_AUTO_TEST_CASE() [4/7]

◆ BOOST_AUTO_TEST_CASE() [5/7]

BOOST_AUTO_TEST_CASE ( select_subprotocol  )

◆ BOOST_AUTO_TEST_CASE() [6/7]

BOOST_AUTO_TEST_CASE ( add_subprotocols_invalid  )

◆ BOOST_AUTO_TEST_CASE() [7/7]