NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: 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_8)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_accept)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_largest_8)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_largest)
 
 BOOST_AUTO_TEST_CASE (negotiate_server_max_window_bits_smallest_8)
 
 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_8)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_decline)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_accept_8)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_accept)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_largest_8)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_largest)
 
 BOOST_AUTO_TEST_CASE (negotiate_client_max_window_bits_smallest_8)
 
 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

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   permessage_deflate

Definition at line 28 of file permessage_deflate.cpp.

Typedef Documentation

◆ enabled_type

◆ disabled_type

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/50]

BOOST_AUTO_TEST_CASE ( disabled_is_disabled  )

◆ BOOST_AUTO_TEST_CASE() [2/50]

BOOST_AUTO_TEST_CASE ( disabled_is_off  )

◆ BOOST_AUTO_TEST_CASE() [3/50]

BOOST_AUTO_TEST_CASE ( enabled_is_enabled  )

◆ BOOST_AUTO_TEST_CASE() [4/50]

BOOST_AUTO_TEST_CASE ( enabled_starts_disabled  )

◆ BOOST_AUTO_TEST_CASE() [5/50]

◆ BOOST_AUTO_TEST_CASE() [6/50]

◆ BOOST_AUTO_TEST_CASE() [7/50]

◆ BOOST_AUTO_TEST_CASE() [8/50]

◆ BOOST_AUTO_TEST_CASE() [9/50]

◆ BOOST_AUTO_TEST_CASE() [10/50]

◆ BOOST_AUTO_TEST_CASE() [11/50]

◆ BOOST_AUTO_TEST_CASE() [12/50]

◆ BOOST_AUTO_TEST_CASE() [13/50]

◆ BOOST_AUTO_TEST_CASE() [14/50]

◆ BOOST_AUTO_TEST_CASE() [15/50]

◆ BOOST_AUTO_TEST_CASE() [16/50]

◆ BOOST_AUTO_TEST_CASE() [17/50]

◆ BOOST_AUTO_TEST_CASE() [18/50]

◆ BOOST_AUTO_TEST_CASE() [19/50]

◆ BOOST_AUTO_TEST_CASE() [20/50]

◆ BOOST_AUTO_TEST_CASE() [21/50]

◆ BOOST_AUTO_TEST_CASE() [22/50]

◆ BOOST_AUTO_TEST_CASE() [23/50]

◆ BOOST_AUTO_TEST_CASE() [24/50]

◆ BOOST_AUTO_TEST_CASE() [25/50]

◆ BOOST_AUTO_TEST_CASE() [26/50]

◆ BOOST_AUTO_TEST_CASE() [27/50]

◆ BOOST_AUTO_TEST_CASE() [28/50]

◆ BOOST_AUTO_TEST_CASE() [29/50]

◆ BOOST_AUTO_TEST_CASE() [30/50]

◆ BOOST_AUTO_TEST_CASE() [31/50]

◆ BOOST_AUTO_TEST_CASE() [32/50]

◆ BOOST_AUTO_TEST_CASE() [33/50]

◆ BOOST_AUTO_TEST_CASE() [34/50]

◆ BOOST_AUTO_TEST_CASE() [35/50]

◆ BOOST_AUTO_TEST_CASE() [36/50]

◆ BOOST_AUTO_TEST_CASE() [37/50]

◆ BOOST_AUTO_TEST_CASE() [38/50]

◆ BOOST_AUTO_TEST_CASE() [39/50]

◆ BOOST_AUTO_TEST_CASE() [40/50]

◆ BOOST_AUTO_TEST_CASE() [41/50]

◆ BOOST_AUTO_TEST_CASE() [42/50]

◆ BOOST_AUTO_TEST_CASE() [43/50]

◆ BOOST_AUTO_TEST_CASE() [44/50]

◆ BOOST_AUTO_TEST_CASE() [45/50]

◆ BOOST_AUTO_TEST_CASE() [46/50]

◆ BOOST_AUTO_TEST_CASE() [47/50]

◆ BOOST_AUTO_TEST_CASE() [48/50]

◆ BOOST_AUTO_TEST_CASE() [49/50]

◆ BOOST_AUTO_TEST_CASE() [50/50]

BOOST_AUTO_TEST_CASE ( decompress_data  )