|
Nektar++
|
Functions | |
| static SessionNode | BuildForcingSection () |
| Builds the tree that the XML in ParseXml() below describes, but by hand, so that the two construction routes can be compared. | |
| static SessionNode | ParseXml (const std::string &xml, const std::string &name="") |
Parses xml and converts the root element into a SessionNode. | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeIdentity) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeAttributes) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeDescribe) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeChildren) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeValues) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodePaths) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeConversions) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeBooleans) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeTimeLevel) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeFromXml) | |
| BOOST_AUTO_TEST_CASE (TestSessionNodeFromXmlEdgeCases) | |
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeAttributes | ) |
Definition at line 96 of file TestSessionNode.cpp.
References Nektar::LibUtilities::SessionNode::DefinesAttribute(), Nektar::LibUtilities::SessionNode::GetAttribute(), Nektar::LibUtilities::SessionNode::GetAttributeAs(), Nektar::LibUtilities::SessionNode::GetAttributes(), and Nektar::LibUtilities::SessionNode::SetAttribute().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeBooleans | ) |
Definition at line 217 of file TestSessionNode.cpp.
References Nektar::LibUtilities::SessionNode::AddChild(), and Nektar::LibUtilities::SessionNode::GetValueAs().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeChildren | ) |
Definition at line 131 of file TestSessionNode.cpp.
References BuildForcingSection(), Nektar::LibUtilities::SessionNode::DefinesChild(), Nektar::LibUtilities::SessionNode::GetAttribute(), Nektar::LibUtilities::SessionNode::GetChild(), Nektar::LibUtilities::SessionNode::GetChildPtr(), and Nektar::LibUtilities::SessionNode::GetChildren().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeConversions | ) |
Definition at line 187 of file TestSessionNode.cpp.
References Nektar::LibUtilities::SessionNode::AddChild(), and Nektar::LibUtilities::SessionNode::GetValueAs().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeDescribe | ) |
Definition at line 119 of file TestSessionNode.cpp.
References BuildForcingSection(), Nektar::LibUtilities::SessionNode::Describe(), and Nektar::LibUtilities::SessionNode::GetChild().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeFromXml | ) |
Definition at line 269 of file TestSessionNode.cpp.
References BuildForcingSection(), Nektar::LibUtilities::SessionNode::GetChildren(), Nektar::LibUtilities::SessionNode::GetName(), and ParseXml().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeFromXmlEdgeCases | ) |
Definition at line 312 of file TestSessionNode.cpp.
References Nektar::LibUtilities::SessionNode::DefinesChild(), Nektar::LibUtilities::SessionNode::DefinesText(), Nektar::LibUtilities::SessionNode::GetChild(), Nektar::LibUtilities::SessionNode::GetChildren(), Nektar::LibUtilities::SessionNode::GetName(), Nektar::LibUtilities::SessionNode::GetPath(), Nektar::LibUtilities::SessionNode::GetValue(), ParseXml(), and Nektar::LibUtilities::SessionNodeFromXml().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeIdentity | ) |
Definition at line 82 of file TestSessionNode.cpp.
References Nektar::LibUtilities::SessionNode::DefinesText(), Nektar::LibUtilities::SessionNode::GetName(), Nektar::LibUtilities::SessionNode::GetPath(), and Nektar::LibUtilities::SessionNode::GetText().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodePaths | ) |
Definition at line 169 of file TestSessionNode.cpp.
References Nektar::LibUtilities::SessionNode::AddChild(), BuildForcingSection(), Nektar::LibUtilities::SessionNode::GetChild(), and Nektar::LibUtilities::SessionNode::GetPath().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeTimeLevel | ) |
Definition at line 242 of file TestSessionNode.cpp.
References Nektar::LibUtilities::SessionNode::AddChild(), BuildForcingSection(), Nektar::LibUtilities::SessionNode::GetTimeLevel(), Nektar::LibUtilities::SessionNode::GetValue(), and Nektar::LibUtilities::SessionNode::SetAttribute().
| Nektar::SessionNodeUnitTests::BOOST_AUTO_TEST_CASE | ( | TestSessionNodeValues | ) |
Definition at line 153 of file TestSessionNode.cpp.
References BuildForcingSection(), Nektar::LibUtilities::SessionNode::GetChildren(), Nektar::LibUtilities::SessionNode::GetValue(), and Nektar::LibUtilities::SessionNode::GetValueAs().
|
static |
Builds the tree that the XML in ParseXml() below describes, but by hand, so that the two construction routes can be compared.
Definition at line 50 of file TestSessionNode.cpp.
References Nektar::LibUtilities::SessionNode::AddChild(), and Nektar::LibUtilities::SessionNode::SetAttribute().
Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().
|
static |
Parses xml and converts the root element into a SessionNode.
Definition at line 73 of file TestSessionNode.cpp.
References Nektar::LibUtilities::SessionNodeFromXml().
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_CASE().