19 #include <boost/test/unit_test.hpp>
30 BOOST_AUTO_TEST_SUITE(physical)
37 /
"torc" /
"physical" /
"DesignUnitTest.reference.xdl";
39 /
"regression" /
"DesignUnitTest.reference.xdl";
42 std::fstream fileStream(referencePath.string().c_str());
43 BOOST_REQUIRE(fileStream.good());
45 importer(fileStream, referencePath.string());
49 BOOST_REQUIRE(designPtr.get() != 0);
52 std::fstream xdlExport(generatedPath.string().c_str(), std::ios_base::out);
54 fileExporter(designPtr);
58 BOOST_AUTO_TEST_SUITE_END()
DesignSharedPtr getDesignPtr(void)
Returns a shared pointer for the design.
Header for the DirectoryTree class.
BOOST_AUTO_TEST_CASE(XdlUnpackUnitTest)
Unit test for the XdlUnpack class.
Header for the XdlImporter class.
Header for the XdlExport class.
Header for the Design class.
boost::filesystem::path path
boost::shared_ptr< Design > DesignSharedPtr
Shared pointer encapsulation of a Design.
Importer from XDL format into a physical design.
Header for the Factory class.
static const boost::filesystem::path & getExecutablePath(void)
Returns the absolute path to the executable directory.
Physical design exporter for XDL.