19 #include <boost/test/unit_test.hpp>
27 namespace architecture {
29 BOOST_AUTO_TEST_SUITE(regression)
30 BOOST_AUTO_TEST_SUITE(architecture)
37 /
"torc" /
"physical" /
"DesignUnitTest.reference.xdl";
39 /
"regression" /
"DesignUnitTest.generated.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);
51 BOOST_TEST_MESSAGE(
"Need to fix XdlImporter::bind(torc::physical::Pip& inPip, EPipType inPipType) and XDL design regression test files for directionality of pips.");
54 DDB* ddbPtr = importer.releaseDDBPtr();
58 BOOST_AUTO_TEST_SUITE_END()
59 BOOST_AUTO_TEST_SUITE_END()
Device database, including complete wiring and logic support.
BOOST_AUTO_TEST_CASE(ArcUnitTest)
Unit test for the Arc class.
DesignSharedPtr getDesignPtr(void)
Returns a shared pointer for the design.
Header for the DirectoryTree class.
Architecture aware importer from XDL format into a physical design.
Header for the Design class.
boost::filesystem::path path
boost::shared_ptr< Design > DesignSharedPtr
Shared pointer encapsulation of a Design.
Header for the XdlImporter class.
static const boost::filesystem::path & getExecutablePath(void)
Returns the absolute path to the executable directory.