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

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   libjmmcg_tests
 

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 (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_small.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/53]

BOOST_AUTO_TEST_CASE ( cctor_swap  )

Definition at line 110 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/53]

BOOST_AUTO_TEST_CASE ( clear  )

Definition at line 230 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/53]

BOOST_AUTO_TEST_CASE ( ctor  )

Definition at line 35 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/53]

BOOST_AUTO_TEST_CASE ( ctor_assignment  )

Definition at line 125 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/53]

BOOST_AUTO_TEST_CASE ( ctor_cctor  )

Definition at line 46 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/53]

BOOST_AUTO_TEST_CASE ( ctor_move_assignment  )

Definition at line 149 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/53]

BOOST_AUTO_TEST_CASE ( ctor_move_ctor  )

Definition at line 57 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/53]

BOOST_AUTO_TEST_CASE ( ctor_swap  )

Definition at line 94 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/53]

BOOST_AUTO_TEST_CASE ( default_ctor_swap  )

Definition at line 79 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/53]

BOOST_AUTO_TEST_CASE ( equality  )

Definition at line 199 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/53]

BOOST_AUTO_TEST_CASE ( erase_all  )

Definition at line 475 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/53]

BOOST_AUTO_TEST_CASE ( erase_begin_one  )

Definition at line 495 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/53]

BOOST_AUTO_TEST_CASE ( erase_end_one  )

Definition at line 507 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/53]

BOOST_AUTO_TEST_CASE ( erase_middle_one  )

Definition at line 519 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/53]

BOOST_AUTO_TEST_CASE ( erase_middle_two  )

Definition at line 532 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/53]

BOOST_AUTO_TEST_CASE ( erase_none  )

Definition at line 484 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/53]

BOOST_AUTO_TEST_CASE ( extract  )

Definition at line 661 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/53]

BOOST_AUTO_TEST_CASE ( hash  )

Definition at line 645 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/53]

BOOST_AUTO_TEST_CASE ( index  )

Definition at line 71 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/53]

BOOST_AUTO_TEST_CASE ( inequality  )

Definition at line 206 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/53]

BOOST_AUTO_TEST_CASE ( inequality_sizes1  )

Definition at line 214 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/53]

BOOST_AUTO_TEST_CASE ( inequality_sizes2  )

Definition at line 222 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/53]

BOOST_AUTO_TEST_CASE ( insert  )

Definition at line 652 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/53]

BOOST_AUTO_TEST_CASE ( insert_str  )

Definition at line 422 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/53]

BOOST_AUTO_TEST_CASE ( insert_str_begin  )

Definition at line 447 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/53]

BOOST_AUTO_TEST_CASE ( insert_str_end  )

Definition at line 433 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [27/53]

BOOST_AUTO_TEST_CASE ( insert_str_internal  )

Definition at line 461 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [28/53]

BOOST_AUTO_TEST_CASE ( push_back  )

Definition at line 409 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [29/53]

BOOST_AUTO_TEST_CASE ( replace_begin_grow  )

Definition at line 610 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [30/53]

BOOST_AUTO_TEST_CASE ( replace_begin_shrink  )

Definition at line 574 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [31/53]

BOOST_AUTO_TEST_CASE ( replace_both_empty  )

Definition at line 564 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [32/53]

BOOST_AUTO_TEST_CASE ( replace_dest_empty  )

Definition at line 545 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [33/53]

BOOST_AUTO_TEST_CASE ( replace_end_grow  )

Definition at line 621 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [34/53]

BOOST_AUTO_TEST_CASE ( replace_end_shrink  )

Definition at line 586 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [35/53]

BOOST_AUTO_TEST_CASE ( replace_middle_grow  )

Definition at line 633 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [36/53]

BOOST_AUTO_TEST_CASE ( replace_middle_shrink  )

Definition at line 598 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [37/53]

BOOST_AUTO_TEST_CASE ( replace_src_empty  )

Definition at line 555 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [38/53]

BOOST_AUTO_TEST_CASE ( rereserve_bigger  )

Definition at line 264 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [39/53]

BOOST_AUTO_TEST_CASE ( rereserve_smaller  )

Definition at line 278 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [40/53]

BOOST_AUTO_TEST_CASE ( reresize_bigger  )

Definition at line 315 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [41/53]

BOOST_AUTO_TEST_CASE ( reresize_bigger_init  )

Definition at line 373 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [42/53]

BOOST_AUTO_TEST_CASE ( reresize_smaller  )

Definition at line 330 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [43/53]

BOOST_AUTO_TEST_CASE ( reresize_smaller_init  )

Definition at line 391 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [44/53]

BOOST_AUTO_TEST_CASE ( reserve_bigger  )

Definition at line 252 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [45/53]

BOOST_AUTO_TEST_CASE ( reserve_smaller  )

Definition at line 240 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [46/53]

BOOST_AUTO_TEST_CASE ( resize_bigger  )

Definition at line 303 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [47/53]

BOOST_AUTO_TEST_CASE ( resize_bigger_init  )

Definition at line 358 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [48/53]

BOOST_AUTO_TEST_CASE ( resize_smaller  )

Definition at line 292 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [49/53]

BOOST_AUTO_TEST_CASE ( resize_smaller_init  )

Definition at line 345 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [50/53]

BOOST_AUTO_TEST_CASE ( self_assignment  )

Definition at line 177 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [51/53]

BOOST_AUTO_TEST_CASE ( self_move_assignment  )

Definition at line 188 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [52/53]

BOOST_AUTO_TEST_CASE ( two_ctor_assignment  )

Definition at line 136 of file stack_string_small.cpp.

◆ BOOST_AUTO_TEST_CASE() [53/53]

BOOST_AUTO_TEST_CASE ( two_ctor_move_assignment  )

Definition at line 164 of file stack_string_small.cpp.