ParCompMarkTest::TestOutputNode Class Reference
#include <TestOutputNode.h>
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 | ( | ) |
void ParCompMarkTest::TestOutputNode::tearDown | ( | ) |
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] |
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] |
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] |
void ParCompMarkTest::TestOutputNode::test_getFirstChildNode | ( | ) | [protected] |
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] |
void ParCompMarkTest::TestOutputNode::test_serialize2XML | ( | ) | [protected] |
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: