17 BOOST_TEST(ref.size() > 0);
18 for (
const auto &keyword : {
"# precice-configuration",
"<precice-configuration",
"</precice-configuration>",
"Example",
"Valid Subtags:",
"Attribute"}) {
19 BOOST_TEST(ref.find(keyword) != std::string::npos,
"The output should include \"" << keyword <<
'"');
31 BOOST_TEST(ref.size() > 0);
32 for (
const auto &keyword : {
"<!-- TAG precice-configuration",
"<!-- TAG mesh",
"ATTR name:"}) {
33 BOOST_TEST(ref.find(keyword) != std::string::npos,
"The output should include \"" << keyword <<
'"');
45 BOOST_TEST(ref.size() > 0);
46 for (
const auto &keyword : {
"<!ELEMENT precice-configuration",
"<!ATTLIST mesh name"}) {
47 BOOST_TEST(ref.find(keyword) != std::string::npos,
"The output should include \"" << keyword <<
'"');
55 BOOST_REQUIRE_NO_THROW(
64 BOOST_REQUIRE_NO_THROW(
BOOST_AUTO_TEST_SUITE(PreProcess)
BOOST_AUTO_TEST_SUITE_END()
std::string getPathToSources()
Returns the base path to the sources.