19 BOOST_TEST(ref.size() > 0);
20 for (
const auto &keyword : {
"# precice-configuration",
"<precice-configuration",
"</precice-configuration>",
"Example",
"Valid Subtags:",
"Attribute"}) {
21 BOOST_TEST(ref.find(keyword) != std::string::npos,
"The output should include \"" << keyword <<
'"');
35 BOOST_TEST(ref.size() > 0);
36 for (
const auto &keyword : {
"<!-- TAG precice-configuration",
"<!-- TAG mesh",
"ATTR name:"}) {
37 BOOST_TEST(ref.find(keyword) != std::string::npos,
"The output should include \"" << keyword <<
'"');
51 BOOST_TEST(ref.size() > 0);
52 for (
const auto &keyword : {
"<!ELEMENT precice-configuration",
"<!ATTLIST mesh name"}) {
53 BOOST_TEST(ref.find(keyword) != std::string::npos,
"The output should include \"" << keyword <<
'"');
63 BOOST_REQUIRE_NO_THROW(
74 BOOST_REQUIRE_NO_THROW(
BOOST_AUTO_TEST_SUITE(PreProcess)
BOOST_AUTO_TEST_SUITE_END()
#define PRECICE_TEST_SETUP(...)
Creates and attaches a TestSetup to a Boost test case.
std::string getPathToSources()
Returns the base path to the sources.