Classes | Macros | Functions
tests/pool.cpp File Reference
#include <dynamic-graph/entity.h>
#include <dynamic-graph/exception-factory.h>
#include <dynamic-graph/factory.h>
#include <dynamic-graph/pool.h>
#include <dynamic-graph/signal-ptr.h>
#include <dynamic-graph/signal-time-dependent.h>
#include <iostream>
#include <sstream>
#include <boost/test/output_test_stream.hpp>
#include <boost/test/unit_test.hpp>
Include dependency graph for tests/pool.cpp:

Go to the source code of this file.

Classes

struct  MyEntity
 

Macros

#define BOOST_TEST_MODULE   pool
 

Functions

 BOOST_AUTO_TEST_CASE (pool_display)
 
 DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN (MyEntity, "MyEntity")
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   pool

Definition at line 14 of file tests/pool.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( pool_display  )

Create Entity

Test exception catching when registering Entity

Test exception catching when deregistering Entity

Search for an entity inside the map

Search for an entity inside the map

Testing entityMap

Testing the existence of an entity

Testing the completion list of pool storage

Checking the graph generated by the pool

Use a predefined output

Check the two substring (remove the date) -

Test name of a valid signal.

Test name of an unvalid signal.

Deregister the entity.

Testing the existance of an entity

Create Entity

Definition at line 56 of file tests/pool.cpp.

◆ DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN()

DYNAMICGRAPH_FACTORY_ENTITY_PLUGIN ( MyEntity  ,
"MyEntity"   
)


dynamic-graph
Author(s): Nicolas Mansard, Olivier Stasse
autogenerated on Sun Jun 25 2023 02:06:03