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

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   frame
 

Functions

 BOOST_AUTO_TEST_CASE (basic_bits)
 
 BOOST_AUTO_TEST_CASE (basic_constructors)
 
 BOOST_AUTO_TEST_CASE (basic_size)
 
 BOOST_AUTO_TEST_CASE (basic_header_length)
 
 BOOST_AUTO_TEST_CASE (basic_opcode)
 
 BOOST_AUTO_TEST_CASE (extended_header_basics)
 
 BOOST_AUTO_TEST_CASE (extended_header_extractors)
 
 BOOST_AUTO_TEST_CASE (header_preparation)
 
 BOOST_AUTO_TEST_CASE (prepare_masking_key)
 
 BOOST_AUTO_TEST_CASE (prepare_masking_key2)
 
 BOOST_AUTO_TEST_CASE (circshift)
 
 BOOST_AUTO_TEST_CASE (block_byte_mask)
 
 BOOST_AUTO_TEST_CASE (block_byte_mask_inplace)
 
 BOOST_AUTO_TEST_CASE (block_word_mask)
 
 BOOST_AUTO_TEST_CASE (block_word_mask_inplace)
 
 BOOST_AUTO_TEST_CASE (continuous_word_mask)
 
 BOOST_AUTO_TEST_CASE (continuous_byte_mask)
 
 BOOST_AUTO_TEST_CASE (continuous_word_mask_inplace)
 
 BOOST_AUTO_TEST_CASE (continuous_byte_mask_inplace)
 
 BOOST_AUTO_TEST_CASE (continuous_word_mask2)
 

Macro Definition Documentation

#define BOOST_TEST_MODULE   frame

Definition at line 28 of file frame.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( basic_size  )

Definition at line 94 of file frame.cpp.

References websocketpp::frame::get_basic_size().

BOOST_AUTO_TEST_CASE ( basic_header_length  )

Definition at line 125 of file frame.cpp.

References websocketpp::frame::get_header_len().

BOOST_AUTO_TEST_CASE ( extended_header_basics  )

Definition at line 154 of file frame.cpp.

References websocketpp::frame::extended_header::bytes.

BOOST_AUTO_TEST_CASE ( header_preparation  )

Definition at line 216 of file frame.cpp.

References websocketpp::frame::prepare_header().

BOOST_AUTO_TEST_CASE ( prepare_masking_key  )
BOOST_AUTO_TEST_CASE ( prepare_masking_key2  )
BOOST_AUTO_TEST_CASE ( circshift  )

Definition at line 266 of file frame.cpp.

BOOST_AUTO_TEST_CASE ( block_byte_mask  )
BOOST_AUTO_TEST_CASE ( block_byte_mask_inplace  )
BOOST_AUTO_TEST_CASE ( block_word_mask  )
BOOST_AUTO_TEST_CASE ( block_word_mask_inplace  )
BOOST_AUTO_TEST_CASE ( continuous_word_mask2  )