Files structure rearranged to better reflect namespace strcture. Some classes moved to different namespaces.

[SVN r82536]
This commit is contained in:
Adam Wulkiewicz
2013-01-18 20:40:24 +00:00
parent 0a29cced58
commit b830ec1cdb
73 changed files with 2162 additions and 2514 deletions

View File

@@ -104,61 +104,61 @@ void test_rtree_elements_exceptions(Parameters const& parameters = Parameters())
for ( size_t i = 0 ; i < 100 ; i += 2 )
{
throwing_pushable_array_settings::reset_calls_counter();
throwing_pushable_array_settings::set_max_calls(10000);
throwing_static_vector_settings::reset_calls_counter();
throwing_static_vector_settings::set_max_calls(10000);
Tree tree(parameters);
throwing_pushable_array_settings::reset_calls_counter();
throwing_pushable_array_settings::set_max_calls(i);
throwing_static_vector_settings::reset_calls_counter();
throwing_static_vector_settings::set_max_calls(i);
BOOST_CHECK_THROW( tree.insert(input.begin(), input.end()), throwing_pushable_array_exception );
BOOST_CHECK_THROW( tree.insert(input.begin(), input.end()), throwing_static_vector_exception );
}
for ( size_t i = 0 ; i < 50 ; i += 2 )
{
throwing_pushable_array_settings::reset_calls_counter();
throwing_pushable_array_settings::set_max_calls(10000);
throwing_static_vector_settings::reset_calls_counter();
throwing_static_vector_settings::set_max_calls(10000);
Tree tree(parameters);
tree.insert(input.begin(), input.end());
throwing_pushable_array_settings::reset_calls_counter();
throwing_pushable_array_settings::set_max_calls(i);
throwing_static_vector_settings::reset_calls_counter();
throwing_static_vector_settings::set_max_calls(i);
BOOST_CHECK_THROW( tree.remove(input.begin(), input.end()), throwing_pushable_array_exception );
BOOST_CHECK_THROW( tree.remove(input.begin(), input.end()), throwing_static_vector_exception );
}
for ( size_t i = 0 ; i < 50 ; i += 2 )
{
throwing_pushable_array_settings::reset_calls_counter();
throwing_pushable_array_settings::set_max_calls(10000);
throwing_static_vector_settings::reset_calls_counter();
throwing_static_vector_settings::set_max_calls(10000);
Tree tree(parameters);
tree.insert(input.begin(), input.end());
throwing_pushable_array_settings::reset_calls_counter();
throwing_pushable_array_settings::set_max_calls(i);
throwing_static_vector_settings::reset_calls_counter();
throwing_static_vector_settings::set_max_calls(i);
BOOST_CHECK_THROW( Tree tree2(tree), throwing_pushable_array_exception );
BOOST_CHECK_THROW( Tree tree2(tree), throwing_static_vector_exception );
}
for ( size_t i = 0 ; i < 50 ; i += 2 )
{
throwing_pushable_array_settings::reset_calls_counter();
throwing_pushable_array_settings::set_max_calls(10000);
throwing_static_vector_settings::reset_calls_counter();
throwing_static_vector_settings::set_max_calls(10000);
Tree tree(parameters);
Tree tree2(parameters);
tree.insert(input.begin(), input.end());
throwing_pushable_array_settings::reset_calls_counter();
throwing_pushable_array_settings::set_max_calls(i);
throwing_static_vector_settings::reset_calls_counter();
throwing_static_vector_settings::set_max_calls(i);
BOOST_CHECK_THROW(tree2 = tree, throwing_pushable_array_exception );
BOOST_CHECK_THROW(tree2 = tree, throwing_static_vector_exception );
}
}