Refactor big test into smaller tests

This commit is contained in:
Ion Gaztañaga
2018-09-25 09:07:09 +02:00
parent f3e2c9cc73
commit 59f70078f0
12 changed files with 619 additions and 209 deletions
+20 -2
View File
@@ -17,10 +17,28 @@ struct empty
};
template class ::boost::container::slist<empty>;
volatile ::boost::container::slist<empty> dummy;
#include <boost/container/allocator.hpp>
#include <boost/container/node_allocator.hpp>
#include "movable_int.hpp"
#include "dummy_test_allocator.hpp"
namespace boost {
namespace container {
//Explicit instantiation to detect compilation errors
template class boost::container::slist
< test::movable_and_copyable_int
, test::simple_allocator<test::movable_and_copyable_int> >;
template class boost::container::slist
< test::movable_and_copyable_int
, node_allocator<test::movable_and_copyable_int> >;
}}
int main()
{
::boost::container::slist<empty> dummy;
(void)dummy;
return 0;
}