22 if (callingTag.
getName() ==
"test-eigen-vectorxd-attributes") {
29 std::ignore = callingTag;
37 std::string filename(getPathToSources() +
"/xml/tests/config_xmltest_concatenation.xml");
44 auto attr =
makeXMLAttribute(
"attribute",
"").setOptions({
"value-one",
"value-two",
"value-three"});
57 std::string filename(getPathToSources() +
"/xml/tests/config_xmltest_vectorattributes.xml");
BOOST_AUTO_TEST_SUITE(PreProcess)
BOOST_AUTO_TEST_SUITE_END()
#define PRECICE_TEST_SETUP(...)
Creates and attaches a TestSetup to a Boost test case.
BOOST_AUTO_TEST_CASE(AttributeConcatenation)
Represents an XML tag to be configured automatically.
Eigen::VectorXd getEigenVectorXdAttributeValue(const std::string &name) const
const std::string & getName() const
Returns name (without namespace).
XMLTag & addAttribute(const XMLAttribute< double > &attribute)
Adds a XML attribute by making a copy of the given attribute.
XMLTag & addSubtag(const XMLTag &tag)
Adds an XML tag as subtag by making a copy of the given tag.
std::string getPathToSources()
Returns the base path to the sources.
contains the XML configuration parser.
XMLAttribute< std::string > makeXMLAttribute(std::string name, const char *defaultValue)
std::string configure(XMLTag &tag, const precice::xml::ConfigurationContext &context, std::string_view configurationFilename)
Configures the given configuration from file configurationFilename.
Main namespace of the precice library.
Eigen::VectorXd eigenVectorXd
void xmlEndTagCallback(const ConfigurationContext &context, XMLTag &callingTag) override
Callback at end of XML tag and at end of subtag.
void xmlTagCallback(const ConfigurationContext &context, XMLTag &callingTag) override
Callback at begin of XML tag.
Tightly coupled to the parameters of Participant()