Skip to content
Snippets Groups Projects
Commit e17276da authored by Jan Trávníček's avatar Jan Trávníček
Browse files

test nothrow_move_constructible of ObjectsSet

parent 0911791c
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,8 @@
 
#include "factory/XmlDataFactory.hpp"
 
#include <type_traits>
#define CPPUNIT_IMPLY( x, y ) CPPUNIT_ASSERT ( !( x ) || ( y ) )
#define CPPUNIT_EXCLUSIVE_OR( x, y ) CPPUNIT_ASSERT ( ( !( x ) && ( y ) ) || ( ( x ) && !( y ) ) )
 
......@@ -95,3 +97,7 @@ void ContainerTest::testTreeParsing ( ) {
CPPUNIT_ASSERT ( t == t2 );
}
}
void ContainerTest::testProperties ( ) {
CPPUNIT_ASSERT ( std::is_nothrow_move_constructible < container::ObjectsSet < alib::Object > >::value );
}
......@@ -8,6 +8,7 @@ class ContainerTest : public CppUnit::TestFixture {
CPPUNIT_TEST ( testXMLParser );
CPPUNIT_TEST ( testVariantParsing );
CPPUNIT_TEST ( testTreeParsing );
CPPUNIT_TEST ( testProperties );
CPPUNIT_TEST_SUITE_END ( );
 
public:
......@@ -17,6 +18,7 @@ public:
void testXMLParser ( );
void testVariantParsing ( );
void testTreeParsing ( );
void testProperties ( );
};
 
#endif // CONTAINER_TEST_H_
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