μHAL (v2.7.9)
Part of the IPbus software repository
Classes | Namespaces | Functions
test_nodes.cpp File Reference
#include <iomanip>
#include <typeinfo>
#include "uhal/NodeTreeBuilder.hpp"
#include "uhal/utilities/xml.hpp"
#include "uhal/uhal.hpp"
#include "uhal/detail/utilities.hpp"
#include "uhal/tests/DummyDerivedNode.hpp"
#include "uhal/tests/fixtures.hpp"
#include <boost/filesystem.hpp>
#include <boost/test/unit_test.hpp>
Include dependency graph for test_nodes.cpp:

Go to the source code of this file.

Classes

struct  uhal::tests::NodeProperties
 
struct  uhal::tests::SimpleAddressTableFixture
 
struct  uhal::tests::AddressTableOverlapFixture
 
struct  uhal::tests::DummyAddressFileFixture
 Fixture for tests based on 'dummy' address files. More...
 

Namespaces

 uhal
 
 uhal::tests
 

Functions

std::ostream & uhal::operator<< (std::ostream &aStream, const std::pair< const Node *, const Node * > &aNodes)
 
void uhal::tests::checkProperties (const uhal::Node &aNode, const NodeProperties &aExpected)
 
void uhal::tests::checkExceptionsThrownByReadWrite (const uhal::Node &aNode, const NodeProperties &aProperties)
 
void uhal::tests::checkDescendants (const uhal::Node &aNode, const NodeProperties &aProperties)
 
bool uhal::tests::nodeAddrCompare (const Node *aNodeL, const Node *aNodeR)
 
void uhal::tests::checkIteration (const uhal::Node &aNode, const NodeProperties &aProperties)
 
void uhal::tests::checkLineage (const uhal::Node &aTopNode, const uhal::Node &aNode)
 
void uhal::tests::checkNodeTree (const uhal::Node &aNode, const std::vector< NodeProperties > &aExpectedProperties)
 
pugi::xml_node uhal::tests::getNthChild (const pugi::xml_node &aNode, const size_t aIndex)
 
void uhal::tests::setAttribute (pugi::xml_node aNode, const std::string &aName, const std::string &aValue)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (dummy_address_files, DummyAddressFileFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (address_description, DummyAddressFileFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (valid_default, SimpleAddressTableFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (missing_ID, SimpleAddressTableFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (invalid_ID, SimpleAddressTableFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (invalid_address, SimpleAddressTableFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (invalid_mask, SimpleAddressTableFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (invalid_size, SimpleAddressTableFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (invalid_permission, SimpleAddressTableFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (invalid_mode, SimpleAddressTableFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (size_without_node_attribute, SimpleAddressTableFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (no_overlap, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_unmasked_registers, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_masked_registers_1, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_masked_registers_2, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_ports, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_unmasked_reg_vs_masked_reg, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_unmasked_reg_vs_port, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_masked_reg_vs_port, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_ram, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_multiple_1, AddressTableOverlapFixture)
 
 uhal::tests::BOOST_FIXTURE_TEST_CASE (overlap_multiple_2, AddressTableOverlapFixture)