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

Go to the source code of this file.

Classes

struct  config
 
struct  ext_vars
 

Macros

#define BOOST_TEST_MODULE   permessage_deflate
 

Typedefs

typedef websocketpp::extensions::permessage_deflate::enabled< configenabled_type
 
typedef websocketpp::extensions::permessage_deflate::disabled< configdisabled_type
 

Functions

 BOOST_AUTO_TEST_CASE (disabled_is_disabled)
 
 BOOST_AUTO_TEST_CASE (disabled_is_off)
 
 BOOST_AUTO_TEST_CASE (enabled_is_enabled)
 
 BOOST_AUTO_TEST_CASE (enabled_starts_disabled)
 
 BOOST_AUTO_TEST_CASE (negotiation_empty_attr)
 
 BOOST_AUTO_TEST_CASE (negotiation_invalid_attr)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_no_context_takeover_invalid)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_no_context_takeover)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_no_context_takeover_server_initiated)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_no_context_takeover_invalid)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_no_context_takeover)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_no_context_takeover_server_initiated)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_invalid)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_valid)
 
 BOOST_AUTO_TEST_CASE (invalid_set_server_max_window_bits)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_decline)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_accept)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_largest)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_smallest)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_invalid)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_valid)
 
 BOOST_AUTO_TEST_CASE (invalid_set_client_max_window_bits)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_decline)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_accept)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_largest)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_smallest)
 
 BOOST_AUTO_TEST_CASE (negotiate_two_client_initiated1)
 
 BOOST_AUTO_TEST_CASE (negotiate_two_client_initiated2)
 
 BOOST_AUTO_TEST_CASE (negotiate_two_client_initiated3)
 
 BOOST_AUTO_TEST_CASE (negotiate_two_client_initiated4)
 
 BOOST_AUTO_TEST_CASE (negotiate_two_client_initiated5)
 
 BOOST_AUTO_TEST_CASE (negotiate_two_client_initiated6)
 
 BOOST_AUTO_TEST_CASE (negotiate_three_client_initiated1)
 
 BOOST_AUTO_TEST_CASE (negotiate_three_client_initiated2)
 
 BOOST_AUTO_TEST_CASE (negotiate_three_client_initiated3)
 
 BOOST_AUTO_TEST_CASE (negotiate_three_client_initiated4)
 
 BOOST_AUTO_TEST_CASE (negotiate_four_client_initiated)
 
 BOOST_AUTO_TEST_CASE (compress_data)
 
 BOOST_AUTO_TEST_CASE (compress_data_multiple)
 
 BOOST_AUTO_TEST_CASE (compress_data_large)
 
 BOOST_AUTO_TEST_CASE (compress_data_no_context_takeover)
 
 BOOST_AUTO_TEST_CASE (compress_empty)
 
 BOOST_AUTO_TEST_CASE (decompress_data)
 

Macro Definition Documentation

#define BOOST_TEST_MODULE   permessage_deflate

Definition at line 28 of file permessage_deflate.cpp.

Typedef Documentation

Function Documentation

BOOST_AUTO_TEST_CASE ( disabled_is_disabled  )
BOOST_AUTO_TEST_CASE ( disabled_is_off  )
BOOST_AUTO_TEST_CASE ( enabled_is_enabled  )
BOOST_AUTO_TEST_CASE ( enabled_starts_disabled  )
BOOST_AUTO_TEST_CASE ( decompress_data  )