19 #include <boost/test/unit_test.hpp>
26 BOOST_AUTO_TEST_SUITE(physical)
46 BOOST_CHECK(*(instancePin1Ptr->getInstancePtr().lock()) == *instance1Ptr);
47 BOOST_CHECK(instancePin1Ptr->getPinName().empty());
48 instancePin1Ptr->setInstancePtr(instance2Ptr);
49 instancePin1Ptr->setPinName(pinName);
50 BOOST_CHECK(*(instancePin1Ptr->getInstancePtr().lock()) == *instance2Ptr);
51 BOOST_CHECK(instancePin1Ptr->getPinName() == pinName);
55 BOOST_CHECK(*instancePin1Ptr == *instancePin2Ptr);
58 BOOST_AUTO_TEST_SUITE_END()
boost::shared_ptr< class InstancePin > InstancePinSharedPtr
Shared pointer encapsulation of an InstancePin.
BOOST_AUTO_TEST_CASE(XdlUnpackUnitTest)
Unit test for the XdlUnpack class.
static InstanceSharedPtr newInstancePtr(const string &inName, const string &inType, const string &inTile, const string &inSite, EInstanceBonding inBonding=eInstanceBondingUnknown, InstanceReferenceSharedPtr inInstanceReferencePtr=InstanceReferenceSharedPtr())
Construct and return a new Instance shared pointer.
boost::shared_ptr< Instance > InstanceSharedPtr
Shared pointer encapsulation of an Instance.
static InstancePinSharedPtr newInstancePinPtr(InstanceSharedPtr inInstancePtr, const string &inPinName)
Construct and return a new InstancePin shared pointer.
Header for the Factory class.
Header for the InstancePin class.