Skip to content
Snippets Groups Projects
Commit 3fd50983 authored by Cinder's avatar Cinder
Browse files

Useless test with C++11

parent 0f1389da
No related branches found
No related tags found
No related merge requests found
...@@ -189,30 +189,6 @@ namespace tut ...@@ -189,30 +189,6 @@ namespace tut
ensure_equals("unreported instance", instances.size(), 0); ensure_equals("unreported instance", instances.size(), 0);
} }
template<> template<>
void object::test<5>()
{
#if defined(LL_CPP11)
skip("Skip on c++11 for now. Exceptions in destructors are unsafe by default.");
#endif
set_test_name("delete Keyed with outstanding instance_iter");
std::string what;
Keyed* keyed = new Keyed("delete Keyed with outstanding instance_iter");
{
WrapLLErrs wrapper;
Keyed::instance_iter i(Keyed::beginInstances());
try
{
delete keyed;
}
catch (const WrapLLErrs::FatalException& e)
{
what = e.what();
}
}
ensure(! what.empty());
}
template<> template<> template<> template<>
void object::test<6>() void object::test<6>()
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment