ParCompMarkTest::TestOutputNode Class Reference

#include <TestOutputNode.h>

List of all members.


Detailed Description

Test suite for ParCompMark::OutputNode.

This is a CppUnit test suite for class ParCompMark::OutputNode of project ParCompMark.

Definition at line 56 of file TestOutputNode.h.


Public Member Functions

void setUp ()
 Sets up context before running a test.
void tearDown ()
 Cleans up after the test run.

Protected Member Functions

void test_constructor_cstd__string_cNodeType ()
 Tests constructor OutputNode::OutputNode(const std::string &name, const NodeType &type).
void test_constructor_cstd__string ()
 Tests constructor OutputNode::OutputNode(const std::string &text).
void test_destructor ()
 Tests destructor OutputNode::~OutputNode().
void test_parseFromXML_std__string ()
 Tests method OutputNode::parseFromXML(std::string &xmlDocument).
void test__testXMLName_cstd__string ()
 Tests method OutputNode::_testXMLName(const std::string &name).
void test__convertSpecialChars_cstd__string ()
 Tests method OutputNode::_convertSpecialChars(const std::string &string).
void test_createChildNode_cstd__string_cNodeType ()
 Tests method OutputNode::createChildNode(const std::string &name, const NodeType &type).
void test_createChildNode_cstd__string ()
 Tests method OutputNode::createChildNode(const std::string &text).
void test_addChildNode_OutputNode__Pointer ()
 Tests method OutputNode::addChildNode(OutputNode::Pointer child).
void test_getChildCount ()
 Tests method OutputNode::getChildCount().
void test_getFirstChildNode ()
 Tests method OutputNode::getFirstChildNode().
void test_hasAttribute_cstd__string ()
 Tests method OutputNode::hasAttribute(const std::string &attribute).
void test_getAttribute_cstd__string ()
 Tests method OutputNode::getAttribute(const std::string &attribute).
void test_setAttribute_cstd__string_cstd__string ()
 Tests method OutputNode::setAttribute(const std::string &attribute, const std::string &value).
void test_serialize2XML_std__ostringstream ()
 Tests method OutputNode::serialize2XML(std::ostringstream &osstr).
void test_serialize2XML ()
 Tests method OutputNode::serialize2XML().
void test_refreshData ()
 Tests method OutputNode::refreshData().
void test_clean ()
 Tests method OutputNode::clean().

Member Function Documentation

void ParCompMarkTest::TestOutputNode::setUp (  ) 

Sets up context before running a test.

Definition at line 34 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::tearDown (  ) 

Cleans up after the test run.

Definition at line 58 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test__convertSpecialChars_cstd__string (  )  [protected]

Tests method OutputNode::_convertSpecialChars(const std::string &string).

Definition at line 165 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test__testXMLName_cstd__string (  )  [protected]

Tests method OutputNode::_testXMLName(const std::string &name).

Definition at line 151 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_addChildNode_OutputNode__Pointer (  )  [protected]

Tests method OutputNode::addChildNode(OutputNode::Pointer child).

Definition at line 236 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_clean (  )  [protected]

Tests method OutputNode::clean().

Definition at line 431 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_constructor_cstd__string (  )  [protected]

Tests constructor OutputNode::OutputNode(const std::string &text).

Definition at line 97 of file TestOutputNode.cpp.

References ParCompMark::Name::mName, ParCompMark::OutputNode::mText, and ParCompMark::OutputNode::mType.

void ParCompMarkTest::TestOutputNode::test_constructor_cstd__string_cNodeType (  )  [protected]

Tests constructor OutputNode::OutputNode(const std::string &name, const NodeType &type).

Definition at line 68 of file TestOutputNode.cpp.

References ParCompMark::Name::mName, ParCompMark::OutputNode::mText, and ParCompMark::OutputNode::mType.

void ParCompMarkTest::TestOutputNode::test_createChildNode_cstd__string (  )  [protected]

Tests method OutputNode::createChildNode(const std::string &text).

Definition at line 211 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_createChildNode_cstd__string_cNodeType (  )  [protected]

Tests method OutputNode::createChildNode(const std::string &name, const NodeType &type).

Definition at line 183 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_destructor (  )  [protected]

Tests destructor OutputNode::~OutputNode().

Definition at line 126 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_getAttribute_cstd__string (  )  [protected]

Tests method OutputNode::getAttribute(const std::string &attribute).

Definition at line 323 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_getChildCount (  )  [protected]

Tests method OutputNode::getChildCount().

Definition at line 271 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_getFirstChildNode (  )  [protected]

Tests method OutputNode::getFirstChildNode().

Definition at line 285 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_hasAttribute_cstd__string (  )  [protected]

Tests method OutputNode::hasAttribute(const std::string &attribute).

Definition at line 299 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_parseFromXML_std__string (  )  [protected]

Tests method OutputNode::parseFromXML(std::string &xmlDocument).

Definition at line 137 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_refreshData (  )  [protected]

Tests method OutputNode::refreshData().

Definition at line 417 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_serialize2XML (  )  [protected]

Tests method OutputNode::serialize2XML().

Definition at line 403 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_serialize2XML_std__ostringstream (  )  [protected]

Tests method OutputNode::serialize2XML(std::ostringstream &osstr).

Definition at line 371 of file TestOutputNode.cpp.

void ParCompMarkTest::TestOutputNode::test_setAttribute_cstd__string_cstd__string (  )  [protected]

Tests method OutputNode::setAttribute(const std::string &attribute, const std::string &value).

Definition at line 347 of file TestOutputNode.cpp.


The documentation for this class was generated from the following files: