preCICE v3.2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PrinterTest.cpp
Go to the documentation of this file.
1#include <sstream>
2#include <string>
5#include "testing/Testing.hpp"
6#include "xml/Printer.hpp"
7
10
13{
18 BOOST_TEST(!oss.str().empty());
19}
20
23{
27 precice::xml::toDTD(oss, config.getXMLTag());
28 BOOST_TEST(!oss.str().empty());
29}
30
33{
38 BOOST_TEST(!oss.str().empty());
39}
40
BOOST_AUTO_TEST_SUITE(PreProcess)
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(Documentation)
#define PRECICE_TEST()
Definition Testing.hpp:39
#define PRECICE_TEST_SETUP(...)
Creates and attaches a TestSetup to a Boost test case.
Definition Testing.hpp:29
Main class for preCICE XML configuration tree.
xml::XMLTag & getXMLTag()
Returns root xml tag to start the automatic configuration process.
void toMarkdown(std::ostream &out, const XMLTag &tag)
Prints the Markdown reference for the given tag.
Definition Printer.cpp:360
void toDTD(std::ostream &out, const XMLTag &tag)
Prints the DTD reference for the given tag.
Definition Printer.cpp:365
void toDocumentation(std::ostream &out, const XMLTag &tag)
Prints the XML reference for the given tag.
Definition Printer.cpp:370
T str(T... args)