libjmmcg  release_579_6_g8cffd
A C++ library containing an eclectic mix of useful, advanced components.
stack_string_default_ctors.cpp File Reference
#include "stdafx.h"
#include <boost/test/included/unit_test.hpp>
#include "core/stack_string.hpp"
#include <sstream>
Include dependency graph for stack_string_default_ctors.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   libjmmcg_tests
 

Functions

 BOOST_AUTO_TEST_CASE (default_ctor)
 
 BOOST_AUTO_TEST_CASE (default_ctor_empty)
 
 BOOST_AUTO_TEST_CASE (default_ctor_cctor)
 
 BOOST_AUTO_TEST_CASE (default_ctor_move_ctor)
 
 BOOST_AUTO_TEST_CASE (default_ctor_swap)
 
 BOOST_AUTO_TEST_CASE (default_ctor_assignment)
 
 BOOST_AUTO_TEST_CASE (default_ctor_move_assignment)
 
 BOOST_AUTO_TEST_CASE (self_assignment)
 
 BOOST_AUTO_TEST_CASE (equality)
 
 BOOST_AUTO_TEST_CASE (inequality)
 
 BOOST_AUTO_TEST_CASE (clear)
 
 BOOST_AUTO_TEST_CASE (reserve)
 
 BOOST_AUTO_TEST_CASE (rereserve_bigger)
 
 BOOST_AUTO_TEST_CASE (rereserve_smaller)
 
 BOOST_AUTO_TEST_CASE (resize)
 
 BOOST_AUTO_TEST_CASE (reresize_bigger)
 
 BOOST_AUTO_TEST_CASE (reresize_smaller)
 
 BOOST_AUTO_TEST_CASE (resize_init)
 
 BOOST_AUTO_TEST_CASE (reresize_bigger_init)
 
 BOOST_AUTO_TEST_CASE (reresize_smaller_init)
 
 BOOST_AUTO_TEST_CASE (push_back)
 
 BOOST_AUTO_TEST_CASE (insert_nullptr)
 
 BOOST_AUTO_TEST_CASE (erase)
 
 BOOST_AUTO_TEST_CASE (replace_dest_empty)
 
 BOOST_AUTO_TEST_CASE (replace_src_empty)
 
 BOOST_AUTO_TEST_CASE (replace_both_empty)
 
 BOOST_AUTO_TEST_CASE (hash)
 
 BOOST_AUTO_TEST_CASE (insert)
 
 BOOST_AUTO_TEST_CASE (extract)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   libjmmcg_tests

Definition at line 21 of file stack_string_default_ctors.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/29]

BOOST_AUTO_TEST_CASE ( clear  )

Definition at line 136 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/29]

BOOST_AUTO_TEST_CASE ( default_ctor  )

Test that we can default construct & delete a stack_string object.

Definition at line 40 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/29]

BOOST_AUTO_TEST_CASE ( default_ctor_assignment  )

Definition at line 95 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/29]

BOOST_AUTO_TEST_CASE ( default_ctor_cctor  )

Definition at line 68 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/29]

BOOST_AUTO_TEST_CASE ( default_ctor_empty  )

Test that we can default construct & delete a stack_string object.

Definition at line 48 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/29]

BOOST_AUTO_TEST_CASE ( default_ctor_move_assignment  )

Definition at line 105 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/29]

BOOST_AUTO_TEST_CASE ( default_ctor_move_ctor  )

Definition at line 77 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/29]

BOOST_AUTO_TEST_CASE ( default_ctor_swap  )

Definition at line 86 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/29]

BOOST_AUTO_TEST_CASE ( equality  )

Definition at line 124 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/29]

BOOST_AUTO_TEST_CASE ( erase  )

Definition at line 263 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/29]

BOOST_AUTO_TEST_CASE ( extract  )

Definition at line 310 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/29]

BOOST_AUTO_TEST_CASE ( hash  )

Definition at line 296 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/29]

BOOST_AUTO_TEST_CASE ( inequality  )

Definition at line 130 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/29]

BOOST_AUTO_TEST_CASE ( insert  )

Definition at line 302 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/29]

BOOST_AUTO_TEST_CASE ( insert_nullptr  )

Definition at line 254 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/29]

BOOST_AUTO_TEST_CASE ( push_back  )

Definition at line 244 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/29]

BOOST_AUTO_TEST_CASE ( replace_both_empty  )

Definition at line 288 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/29]

BOOST_AUTO_TEST_CASE ( replace_dest_empty  )

Definition at line 272 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/29]

BOOST_AUTO_TEST_CASE ( replace_src_empty  )

Definition at line 280 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/29]

BOOST_AUTO_TEST_CASE ( rereserve_bigger  )

Definition at line 155 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/29]

BOOST_AUTO_TEST_CASE ( rereserve_smaller  )

Definition at line 165 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/29]

BOOST_AUTO_TEST_CASE ( reresize_bigger  )

Definition at line 184 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/29]

BOOST_AUTO_TEST_CASE ( reresize_bigger_init  )

Definition at line 217 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/29]

BOOST_AUTO_TEST_CASE ( reresize_smaller  )

Definition at line 195 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/29]

BOOST_AUTO_TEST_CASE ( reresize_smaller_init  )

Definition at line 231 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/29]

BOOST_AUTO_TEST_CASE ( reserve  )

Definition at line 145 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [27/29]

BOOST_AUTO_TEST_CASE ( resize  )

Definition at line 175 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [28/29]

BOOST_AUTO_TEST_CASE ( resize_init  )

Definition at line 206 of file stack_string_default_ctors.cpp.

◆ BOOST_AUTO_TEST_CASE() [29/29]

BOOST_AUTO_TEST_CASE ( self_assignment  )

Definition at line 115 of file stack_string_default_ctors.cpp.