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

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   libjmmcg_tests
 

Typedefs

using stack_string_12 = basic_stack_string< 12, char >
 

Functions

 BOOST_AUTO_TEST_CASE (ctor)
 
 BOOST_AUTO_TEST_CASE (ctor_cctor)
 
 BOOST_AUTO_TEST_CASE (ctor_move_ctor)
 
 BOOST_AUTO_TEST_CASE (index)
 
 BOOST_AUTO_TEST_CASE (default_ctor_swap)
 
 BOOST_AUTO_TEST_CASE (ctor_swap)
 
 BOOST_AUTO_TEST_CASE (cctor_swap)
 
 BOOST_AUTO_TEST_CASE (ctor_assignment)
 
 BOOST_AUTO_TEST_CASE (two_ctor_assignment)
 
 BOOST_AUTO_TEST_CASE (ctor_move_assignment)
 
 BOOST_AUTO_TEST_CASE (two_ctor_move_assignment)
 
 BOOST_AUTO_TEST_CASE (self_assignment)
 
 BOOST_AUTO_TEST_CASE (self_move_assignment)
 
 BOOST_AUTO_TEST_CASE (equality)
 
 BOOST_AUTO_TEST_CASE (inequality)
 
 BOOST_AUTO_TEST_CASE (inequality_sizes1)
 
 BOOST_AUTO_TEST_CASE (inequality_sizes2)
 
 BOOST_AUTO_TEST_CASE (clear)
 
 BOOST_AUTO_TEST_CASE (reserve_smaller)
 
 BOOST_AUTO_TEST_CASE (reserve_bigger)
 
 BOOST_AUTO_TEST_CASE (rereserve_bigger)
 
 BOOST_AUTO_TEST_CASE (rereserve_smaller)
 
 BOOST_AUTO_TEST_CASE (resize_smaller)
 
 BOOST_AUTO_TEST_CASE (resize_bigger)
 
 BOOST_AUTO_TEST_CASE (reresize_bigger)
 
 BOOST_AUTO_TEST_CASE (reresize_smaller)
 
 BOOST_AUTO_TEST_CASE (resize_smaller_init)
 
 BOOST_AUTO_TEST_CASE (resize_bigger_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_str)
 
 BOOST_AUTO_TEST_CASE (insert_str_end)
 
 BOOST_AUTO_TEST_CASE (insert_str_begin)
 
 BOOST_AUTO_TEST_CASE (insert_str_internal)
 
 BOOST_AUTO_TEST_CASE (erase_all)
 
 BOOST_AUTO_TEST_CASE (erase_none)
 
 BOOST_AUTO_TEST_CASE (erase_begin_one)
 
 BOOST_AUTO_TEST_CASE (erase_end_one)
 
 BOOST_AUTO_TEST_CASE (erase_middle_one)
 
 BOOST_AUTO_TEST_CASE (erase_middle_two)
 
 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 (replace_begin_shrink)
 
 BOOST_AUTO_TEST_CASE (replace_end_shrink)
 
 BOOST_AUTO_TEST_CASE (replace_middle_shrink)
 
 BOOST_AUTO_TEST_CASE (replace_begin_grow)
 
 BOOST_AUTO_TEST_CASE (replace_end_grow)
 
 BOOST_AUTO_TEST_CASE (replace_middle_grow)
 
 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_big.cpp.

Typedef Documentation

◆ stack_string_12

typedef basic_stack_string< 12, char > stack_string_12

Definition at line 31 of file stack_string_big.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/52]

BOOST_AUTO_TEST_CASE ( cctor_swap  )

Definition at line 133 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/52]

BOOST_AUTO_TEST_CASE ( clear  )

Definition at line 253 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/52]

BOOST_AUTO_TEST_CASE ( ctor  )

Definition at line 37 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/52]

BOOST_AUTO_TEST_CASE ( ctor_assignment  )

Definition at line 148 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/52]

BOOST_AUTO_TEST_CASE ( ctor_cctor  )

Definition at line 48 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/52]

BOOST_AUTO_TEST_CASE ( ctor_move_assignment  )

Definition at line 172 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/52]

BOOST_AUTO_TEST_CASE ( ctor_move_ctor  )

Definition at line 59 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/52]

BOOST_AUTO_TEST_CASE ( ctor_swap  )

Definition at line 116 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/52]

BOOST_AUTO_TEST_CASE ( default_ctor_swap  )

Definition at line 101 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/52]

BOOST_AUTO_TEST_CASE ( equality  )

Definition at line 222 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/52]

BOOST_AUTO_TEST_CASE ( erase_all  )

Definition at line 492 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/52]

BOOST_AUTO_TEST_CASE ( erase_begin_one  )

Definition at line 512 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/52]

BOOST_AUTO_TEST_CASE ( erase_end_one  )

Definition at line 524 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/52]

BOOST_AUTO_TEST_CASE ( erase_middle_one  )

Definition at line 536 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/52]

BOOST_AUTO_TEST_CASE ( erase_middle_two  )

Definition at line 548 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/52]

BOOST_AUTO_TEST_CASE ( erase_none  )

Definition at line 501 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/52]

BOOST_AUTO_TEST_CASE ( extract  )

Definition at line 664 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/52]

BOOST_AUTO_TEST_CASE ( index  )

Definition at line 73 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/52]

BOOST_AUTO_TEST_CASE ( inequality  )

Definition at line 229 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/52]

BOOST_AUTO_TEST_CASE ( inequality_sizes1  )

Definition at line 237 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/52]

BOOST_AUTO_TEST_CASE ( inequality_sizes2  )

Definition at line 245 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/52]

BOOST_AUTO_TEST_CASE ( insert  )

Definition at line 655 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/52]

BOOST_AUTO_TEST_CASE ( insert_str  )

Definition at line 438 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/52]

BOOST_AUTO_TEST_CASE ( insert_str_begin  )

Definition at line 464 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/52]

BOOST_AUTO_TEST_CASE ( insert_str_end  )

Definition at line 450 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/52]

BOOST_AUTO_TEST_CASE ( insert_str_internal  )

Definition at line 478 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [27/52]

BOOST_AUTO_TEST_CASE ( push_back  )

Definition at line 426 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [28/52]

BOOST_AUTO_TEST_CASE ( replace_begin_grow  )

Definition at line 622 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [29/52]

BOOST_AUTO_TEST_CASE ( replace_begin_shrink  )

Definition at line 589 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [30/52]

BOOST_AUTO_TEST_CASE ( replace_both_empty  )

Definition at line 579 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [31/52]

BOOST_AUTO_TEST_CASE ( replace_dest_empty  )

Definition at line 560 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [32/52]

BOOST_AUTO_TEST_CASE ( replace_end_grow  )

Definition at line 633 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [33/52]

BOOST_AUTO_TEST_CASE ( replace_end_shrink  )

Definition at line 600 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [34/52]

BOOST_AUTO_TEST_CASE ( replace_middle_grow  )

Definition at line 644 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [35/52]

BOOST_AUTO_TEST_CASE ( replace_middle_shrink  )

Definition at line 611 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [36/52]

BOOST_AUTO_TEST_CASE ( replace_src_empty  )

Definition at line 570 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [37/52]

BOOST_AUTO_TEST_CASE ( rereserve_bigger  )

Definition at line 287 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [38/52]

BOOST_AUTO_TEST_CASE ( rereserve_smaller  )

Definition at line 301 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [39/52]

BOOST_AUTO_TEST_CASE ( reresize_bigger  )

Definition at line 337 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [40/52]

BOOST_AUTO_TEST_CASE ( reresize_bigger_init  )

Definition at line 392 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [41/52]

BOOST_AUTO_TEST_CASE ( reresize_smaller  )

Definition at line 350 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [42/52]

BOOST_AUTO_TEST_CASE ( reresize_smaller_init  )

Definition at line 409 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [43/52]

BOOST_AUTO_TEST_CASE ( reserve_bigger  )

Definition at line 275 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [44/52]

BOOST_AUTO_TEST_CASE ( reserve_smaller  )

Definition at line 263 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [45/52]

BOOST_AUTO_TEST_CASE ( resize_bigger  )

Definition at line 326 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [46/52]

BOOST_AUTO_TEST_CASE ( resize_bigger_init  )

Definition at line 378 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [47/52]

BOOST_AUTO_TEST_CASE ( resize_smaller  )

Definition at line 314 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [48/52]

BOOST_AUTO_TEST_CASE ( resize_smaller_init  )

Definition at line 365 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [49/52]

BOOST_AUTO_TEST_CASE ( self_assignment  )

Definition at line 200 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [50/52]

BOOST_AUTO_TEST_CASE ( self_move_assignment  )

Definition at line 211 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [51/52]

BOOST_AUTO_TEST_CASE ( two_ctor_assignment  )

Definition at line 159 of file stack_string_big.cpp.

◆ BOOST_AUTO_TEST_CASE() [52/52]

BOOST_AUTO_TEST_CASE ( two_ctor_move_assignment  )

Definition at line 187 of file stack_string_big.cpp.