ChimeraTK-DeviceAccess  03.18.00
testExceptionDummyDevice.cc File Reference
#include "BackendFactory.h"
#include "Device.h"
#include "ExceptionDummyBackend.h"
#include <boost/test/unit_test.hpp>
+ Include dependency graph for testExceptionDummyDevice.cc:

Go to the source code of this file.

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   testExceptionsDummy
 

Functions

 BOOST_AUTO_TEST_CASE (testExceptionsDummyDevice)
 

Variables

auto exceptionDummy
 
ctk::Device device
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 4 of file testExceptionDummyDevice.cc.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   testExceptionsDummy

Definition at line 5 of file testExceptionDummyDevice.cc.

Function Documentation

◆ BOOST_AUTO_TEST_CASE()

BOOST_AUTO_TEST_CASE ( testExceptionsDummyDevice  )

Definition at line 20 of file testExceptionDummyDevice.cc.

+ Here is the call graph for this function:

Variable Documentation

◆ device

ctk::Device device

Definition at line 18 of file testExceptionDummyDevice.cc.

◆ exceptionDummy

auto exceptionDummy
Initial value:
= boost::dynamic_pointer_cast<ctk::ExceptionDummy>(
ctk::BackendFactory::getInstance().createBackend("(ExceptionDummy:1?map=test3.map)"))

Definition at line 16 of file testExceptionDummyDevice.cc.

ChimeraTK::BackendFactory::getInstance
static BackendFactory & getInstance()
Static function to get an instance of factory.
Definition: BackendFactory.cc:191