ChimeraTK-DeviceAccess 03.26.00
Loading...
Searching...
No Matches
testSubArrayAccessorDecorator.cc File Reference
#include <boost/test/unit_test.hpp>
#include "Device.h"
#include "DummyBackend.h"
#include "SubArrayAccessorDecorator.h"
#include "TransferGroup.h"
#include <iostream>
+ Include dependency graph for testSubArrayAccessorDecorator.cc:

Go to the source code of this file.

Classes

class  DoNothingDecorator< UserType >
 
class  SubArrayDecoratorTestBackend
 Test backend to put the SubArrayAccessorDecorator around the created accessors. More...
 
struct  TheFixture
 

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   SubArrayAccessorDecoratorTest
 

Functions

 BOOST_FIXTURE_TEST_CASE (TestSize, TheFixture)
 
 BOOST_FIXTURE_TEST_CASE (TestRead, TheFixture)
 
 BOOST_FIXTURE_TEST_CASE (TestReadOnceRememberModifyWrite, TheFixture)
 
 BOOST_FIXTURE_TEST_CASE (TestRememberModifyWrite, TheFixture)
 
 BOOST_FIXTURE_TEST_CASE (TestTransferGroupRead, TheFixture)
 Read is working in a transfer group.
 
 BOOST_FIXTURE_TEST_CASE (TestReadMerging, TheFixture)
 Read is merging the transfer: Only one read.
 
 BOOST_FIXTURE_TEST_CASE (TestTransferGroupReadModifyWrite, TheFixture)
 Read-Modify-Write is working in a transfer group.
 
 BOOST_FIXTURE_TEST_CASE (TestReadModifyWriteMerging, TheFixture)
 Transfer merging: One read and one write on the backend.
 
 BOOST_FIXTURE_TEST_CASE (TestTransferGroupWriteOnly, TheFixture)
 
 BOOST_FIXTURE_TEST_CASE (TestTransferGroupWriteOnlyMerging, TheFixture)
 
 BOOST_FIXTURE_TEST_CASE (TestOverlapping, TheFixture)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 4 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   SubArrayAccessorDecoratorTest

Definition at line 6 of file testSubArrayAccessorDecorator.cc.

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/11]

BOOST_FIXTURE_TEST_CASE ( TestOverlapping  ,
TheFixture   
)

Definition at line 383 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [2/11]

BOOST_FIXTURE_TEST_CASE ( TestRead  ,
TheFixture   
)

Definition at line 113 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [3/11]

BOOST_FIXTURE_TEST_CASE ( TestReadMerging  ,
TheFixture   
)

Read is merging the transfer: Only one read.

Definition at line 254 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [4/11]

BOOST_FIXTURE_TEST_CASE ( TestReadModifyWriteMerging  ,
TheFixture   
)

Transfer merging: One read and one write on the backend.

Definition at line 308 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [5/11]

BOOST_FIXTURE_TEST_CASE ( TestReadOnceRememberModifyWrite  ,
TheFixture   
)

Definition at line 121 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [6/11]

BOOST_FIXTURE_TEST_CASE ( TestRememberModifyWrite  ,
TheFixture   
)

Definition at line 193 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [7/11]

BOOST_FIXTURE_TEST_CASE ( TestSize  ,
TheFixture   
)

Definition at line 108 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [8/11]

BOOST_FIXTURE_TEST_CASE ( TestTransferGroupRead  ,
TheFixture   
)

Read is working in a transfer group.

Definition at line 229 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [9/11]

BOOST_FIXTURE_TEST_CASE ( TestTransferGroupReadModifyWrite  ,
TheFixture   
)

Read-Modify-Write is working in a transfer group.

Definition at line 278 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [10/11]

BOOST_FIXTURE_TEST_CASE ( TestTransferGroupWriteOnly  ,
TheFixture   
)

Definition at line 330 of file testSubArrayAccessorDecorator.cc.

◆ BOOST_FIXTURE_TEST_CASE() [11/11]

BOOST_FIXTURE_TEST_CASE ( TestTransferGroupWriteOnlyMerging  ,
TheFixture   
)

Definition at line 360 of file testSubArrayAccessorDecorator.cc.