19 #include <boost/test/unit_test.hpp>
26 BOOST_AUTO_TEST_SUITE(physical)
29 class A : public Progenitor<class A> {};
39 progenitor_t::SharedPtrType progenitorPtr(
new A());
40 BOOST_REQUIRE(progenitorPtr.get() != 0);
41 progenitorPtr->setSelfWeakPtr(progenitorPtr);
42 BOOST_CHECK(progenitorPtr->getSelfWeakPtr().lock() == progenitorPtr);
45 BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(XdlUnpackUnitTest)
Unit test for the XdlUnpack class.
Header for the Progenitor class.
Concept for any object that may have children.
Header for the Factory class.