55static const std::vector<WX_FILENAME_SPLIT_CASE>
split_cases = {
86 "/tmp/example/name.ext",
102 "/tmp/example/name.ext1.ext2",
114 std::stringstream ss;
115 ss << c.m_path <<
", " << c.m_name;
116 BOOST_TEST_CONTEXT( ss.str() )
121 BOOST_CHECK_EQUAL( c.m_exp_name, wx_fn.
GetName() );
122 BOOST_CHECK_EQUAL( c.m_exp_full_name, wx_fn.
GetFullName() );
123 BOOST_CHECK_EQUAL( c.m_exp_path, wx_fn.
GetPath() );
124 BOOST_CHECK_EQUAL( c.m_exp_full_path, wx_fn.
GetFullPath() );
A wrapper around a wxFileName which is much more performant with a subset of the API.
wxString GetFullPath() const
wxString GetFullName() const
std::string m_exp_full_name
std::string m_exp_full_path
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
BOOST_AUTO_TEST_SUITE_END()
static const std::vector< WX_FILENAME_SPLIT_CASE > split_cases
BOOST_AUTO_TEST_CASE(Split)
Check the various split cases work correctly.