ProteoWizard
|
Go to the source code of this file.
Classes | |
struct | TestOutputObserver |
Functions | |
void | test () |
void | testNormalization () |
int | main (int argc, const char *argv[]) |
Variables | |
ostream * | os_ = 0 |
const char * | targetXML = "</root>\n" |
void test | ( | ) |
Definition at line 73 of file XMLWriterTest.cpp.
References TestOutputObserver::cache, pwiz::minimxml::XMLWriter::characters(), pwiz::minimxml::encode_xml_id(), pwiz::minimxml::encode_xml_id_copy(), pwiz::minimxml::XMLWriter::endElement(), pwiz::minimxml::XMLWriter::Config::indentationStep, os_, pwiz::minimxml::XMLWriter::Config::outputObserver, pwiz::minimxml::XMLWriter::popStyle(), pwiz::minimxml::XMLWriter::position(), pwiz::minimxml::XMLWriter::positionNext(), pwiz::minimxml::XMLWriter::processingInstruction(), pwiz::minimxml::XMLWriter::pushStyle(), pwiz::minimxml::XMLWriter::startElement(), StyleFlag_Inline, StyleFlag_InlineInner, targetXML, and unit_assert.
void testNormalization | ( | ) |
Definition at line 189 of file XMLWriterTest.cpp.
References pwiz::minimxml::XMLWriter::Attributes::add(), e(), and unit_assert_operator_equal.
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 202 of file XMLWriterTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, and testNormalization().
ostream* os_ = 0 |
Definition at line 33 of file XMLWriterTest.cpp.
const char* targetXML = "</root>\n" |
Definition at line 36 of file XMLWriterTest.cpp.
Referenced by test().