23 #include <boost/test/unit_test.hpp>
33 BOOST_AUTO_TEST_SUITE(physical)
39 /
"regression" /
"XdlExporterUnitTest.generated.xdl";
41 /
"torc" /
"physical" /
"ModuleTransformerUnitTest.Scenario.02.Flatten.xdl";
44 std::fstream fileStream(referencePath.string().c_str());
45 BOOST_REQUIRE(fileStream.good());
47 importer(fileStream, referencePath.string());
51 BOOST_REQUIRE(designPtr.get() != 0);
72 std::fstream xdlExport(generatedPath.string().c_str(), std::ios_base::out);
74 fileExporter(designPtr);
78 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 Boost.Test helper functions.
Header for the XdlImporter class.
Header for the XdlExport class.
boost::filesystem::path path
boost::shared_ptr< Design > DesignSharedPtr
Shared pointer encapsulation of a Design.
Importer from XDL format into a physical design.
bool fileContentsAreEqual(const boost::filesystem::path &inA, const boost::filesystem::path &inB)
Compare the raw contents of two files to determine whether they are identical.
static const boost::filesystem::path & getExecutablePath(void)
Returns the absolute path to the executable directory.
Physical design exporter for XDL.