preCICE v3.1.1
Loading...
Searching...
No Matches
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
12{
13 PRECICE_TEST(1_rank);
17 BOOST_TEST(!oss.str().empty());
18}
19
21{
22 PRECICE_TEST(1_rank);
25 precice::xml::toDTD(oss, config.getXMLTag());
26 BOOST_TEST(!oss.str().empty());
27}
28
30{
31 PRECICE_TEST(1_rank);
35 BOOST_TEST(!oss.str().empty());
36}
37
BOOST_AUTO_TEST_SUITE(PreProcess)
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(Documentation)
#define PRECICE_TEST(...)
Definition Testing.hpp:27
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:458
void toDTD(std::ostream &out, const XMLTag &tag)
Prints the DTD reference for the given tag.
Definition Printer.cpp:463
void toDocumentation(std::ostream &out, const XMLTag &tag)
Prints the XML reference for the given tag.
Definition Printer.cpp:468
T str(T... args)