| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- /* Generated file, do not edit */
- #ifndef CXXTEST_RUNNING
- #define CXXTEST_RUNNING
- #endif
- #define _CXXTEST_HAVE_STD
- #define _CXXTEST_HAVE_EH
- #include <cxxtest/TestListener.h>
- #include <cxxtest/TestTracker.h>
- #include <cxxtest/TestRunner.h>
- #include <cxxtest/RealDescriptions.h>
- #include <cxxtest/TestMain.h>
- #include <cxxtest/ErrorPrinter.h>
- int main( int argc, char *argv[] ) {
- int status;
- CxxTest::ErrorPrinter tmp;
- CxxTest::RealWorldDescription::_worldName = "cxxtest";
- status = CxxTest::Main< CxxTest::ErrorPrinter >( tmp, argc, argv );
- return status;
- }
- bool suite_bucket_hash_map_TestSuite_init = false;
- #include "bucket_hash_map.t.h"
- static bucket_hash_map_TestSuite suite_bucket_hash_map_TestSuite;
- static CxxTest::List Tests_bucket_hash_map_TestSuite = { 0, 0 };
- CxxTest::StaticSuiteDescription suiteDescription_bucket_hash_map_TestSuite( "bucket_hash_map.t.h", 13, "bucket_hash_map_TestSuite", suite_bucket_hash_map_TestSuite, Tests_bucket_hash_map_TestSuite );
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_default_is_empty : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_default_is_empty() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 18, "test_default_is_empty" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_default_is_empty(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_default_is_empty;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_construct_from_initializer_list : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_construct_from_initializer_list() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 22, "test_construct_from_initializer_list" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_construct_from_initializer_list(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_construct_from_initializer_list;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_swap_hashmaps : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_swap_hashmaps() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 27, "test_swap_hashmaps" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_swap_hashmaps(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_swap_hashmaps;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_insert_elements_effects_size : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_insert_elements_effects_size() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 36, "test_insert_elements_effects_size" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_insert_elements_effects_size(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_insert_elements_effects_size;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_insert_element_contains_expected : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_insert_element_contains_expected() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 42, "test_insert_element_contains_expected" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_insert_element_contains_expected(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_insert_element_contains_expected;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_insert_element_return_true : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_insert_element_return_true() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 48, "test_insert_element_return_true" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_insert_element_return_true(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_insert_element_return_true;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_insert_element_return_iterator_to_elements : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_insert_element_return_iterator_to_elements() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 53, "test_insert_element_return_iterator_to_elements" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_insert_element_return_iterator_to_elements(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_insert_element_return_iterator_to_elements;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_insert_same_element_does_not_create_duplicate : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_insert_same_element_does_not_create_duplicate() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 60, "test_insert_same_element_does_not_create_duplicate" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_insert_same_element_does_not_create_duplicate(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_insert_same_element_does_not_create_duplicate;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_insert_same_element_returns_false : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_insert_same_element_returns_false() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 67, "test_insert_same_element_returns_false" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_insert_same_element_returns_false(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_insert_same_element_returns_false;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_insert_same_element_return_same_iterator : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_insert_same_element_return_same_iterator() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 73, "test_insert_same_element_return_same_iterator" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_insert_same_element_return_same_iterator(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_insert_same_element_return_same_iterator;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_can_insert_range : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_can_insert_range() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 79, "test_can_insert_range" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_can_insert_range(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_can_insert_range;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_inserted_range_contains_all_correct_elements : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_inserted_range_contains_all_correct_elements() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 84, "test_inserted_range_contains_all_correct_elements" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_inserted_range_contains_all_correct_elements(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_inserted_range_contains_all_correct_elements;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_can_find_element_in_map : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_can_find_element_in_map() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 93, "test_can_find_element_in_map" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_can_find_element_in_map(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_can_find_element_in_map;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_count_element_in_map : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_count_element_in_map() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 99, "test_count_element_in_map" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_count_element_in_map(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_count_element_in_map;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_count_element_not_in_map : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_count_element_not_in_map() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 105, "test_count_element_not_in_map" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_count_element_not_in_map(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_count_element_not_in_map;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_equal_range_contains_element_if_present : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_equal_range_contains_element_if_present() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 111, "test_equal_range_contains_element_if_present" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_equal_range_contains_element_if_present(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_equal_range_contains_element_if_present;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_equal_range_contains_end_if_absent : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_equal_range_contains_end_if_absent() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 119, "test_equal_range_contains_end_if_absent" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_equal_range_contains_end_if_absent(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_equal_range_contains_end_if_absent;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_found_element_is_as_expected : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_found_element_is_as_expected() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 127, "test_found_element_is_as_expected" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_found_element_is_as_expected(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_found_element_is_as_expected;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_cannot_find_fake_element : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_cannot_find_fake_element() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 134, "test_cannot_find_fake_element" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_cannot_find_fake_element(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_cannot_find_fake_element;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_operator_bracket_constructs_element : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_operator_bracket_constructs_element() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 140, "test_operator_bracket_constructs_element" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_operator_bracket_constructs_element(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_operator_bracket_constructs_element;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_at_throws_on_no_key_present : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_at_throws_on_no_key_present() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 146, "test_at_throws_on_no_key_present" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_at_throws_on_no_key_present(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_at_throws_on_no_key_present;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_at_nothrow_is_element_present : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_at_nothrow_is_element_present() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 152, "test_at_nothrow_is_element_present" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_at_nothrow_is_element_present(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_at_nothrow_is_element_present;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_at_is_same_as_bracket_if_element_exists : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_at_is_same_as_bracket_if_element_exists() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 158, "test_at_is_same_as_bracket_if_element_exists" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_at_is_same_as_bracket_if_element_exists(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_at_is_same_as_bracket_if_element_exists;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_at_can_mutate_element : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_at_can_mutate_element() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 165, "test_at_can_mutate_element" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_at_can_mutate_element(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_at_can_mutate_element;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_iterator_advance_different : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_iterator_advance_different() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 173, "test_iterator_advance_different" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_iterator_advance_different(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_iterator_advance_different;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_iterator_begin_is_end_if_empty : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_iterator_begin_is_end_if_empty() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 182, "test_iterator_begin_is_end_if_empty" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_iterator_begin_is_end_if_empty(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_iterator_begin_is_end_if_empty;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_iterator_reaches_end : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_iterator_reaches_end() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 187, "test_iterator_reaches_end" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_iterator_reaches_end(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_iterator_reaches_end;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_erasing_element_reduces_size : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_erasing_element_reduces_size() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 194, "test_erasing_element_reduces_size" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_erasing_element_reduces_size(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_erasing_element_reduces_size;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_erase_end_is_fine : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_erase_end_is_fine() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 201, "test_erase_end_is_fine" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_erase_end_is_fine(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_erase_end_is_fine;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_erase_end_does_not_effect_size : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_erase_end_does_not_effect_size() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 208, "test_erase_end_does_not_effect_size" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_erase_end_does_not_effect_size(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_erase_end_does_not_effect_size;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_erase_end_returns_end : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_erase_end_returns_end() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 215, "test_erase_end_returns_end" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_erase_end_returns_end(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_erase_end_returns_end;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_erase_key_missing_key_no_result : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_erase_key_missing_key_no_result() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 220, "test_erase_key_missing_key_no_result" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_erase_key_missing_key_no_result(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_erase_key_missing_key_no_result;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_erase_key_incorrect_key_no_result : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_erase_key_incorrect_key_no_result() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 225, "test_erase_key_incorrect_key_no_result" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_erase_key_incorrect_key_no_result(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_erase_key_incorrect_key_no_result;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_erase_key_correct_key_one : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_erase_key_correct_key_one() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 231, "test_erase_key_correct_key_one" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_erase_key_correct_key_one(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_erase_key_correct_key_one;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_erase_range : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_erase_range() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 237, "test_erase_range" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_erase_range(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_erase_range;
- static class TestDescription_suite_bucket_hash_map_TestSuite_test_clear : public CxxTest::RealTestDescription {
- public:
- TestDescription_suite_bucket_hash_map_TestSuite_test_clear() : CxxTest::RealTestDescription( Tests_bucket_hash_map_TestSuite, suiteDescription_bucket_hash_map_TestSuite, 246, "test_clear" ) {}
- void runTest() { suite_bucket_hash_map_TestSuite.test_clear(); }
- } testDescription_suite_bucket_hash_map_TestSuite_test_clear;
- #include <cxxtest/Root.cpp>
- const char* CxxTest::RealWorldDescription::_worldName = "cxxtest";
|