ChimeraTK-DeviceAccess-DoocsBackend 01.12.00
Loading...
Searching...
No Matches
testDoocsBackend.cpp File Reference
#include "eq_dummy.h"
#include <ChimeraTK/CopyRegisterDecorator.h>
#include <ChimeraTK/Device.h>
#include <ChimeraTK/MappedImage.h>
#include <ChimeraTK/TransferGroup.h>
#include <doocs-server-test-helper/doocsServerTestHelper.h>
#include <doocs-server-test-helper/ThreadedDoocsServer.h>
#include <doocs/EqCall.h>
#include <boost/filesystem.hpp>
#include <boost/test/included/unit_test.hpp>
#include <unistd.h>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <random>
#include <thread>
+ Include dependency graph for testDoocsBackend.cpp:

Go to the source code of this file.

Classes

class  DoocsLauncher
 

Macros

#define BOOST_TEST_MODULE   testDoocsBackend
 

Functions

 BOOST_GLOBAL_FIXTURE (DoocsLauncher)
 
 BOOST_AUTO_TEST_CASE (testScalarInt)
 
 BOOST_AUTO_TEST_CASE (testScalarFloat)
 
 BOOST_AUTO_TEST_CASE (testScalarDouble)
 
 BOOST_AUTO_TEST_CASE (testString)
 
 BOOST_AUTO_TEST_CASE (testArrayInt)
 
 BOOST_AUTO_TEST_CASE (testArrayShort)
 
 BOOST_AUTO_TEST_CASE (testArrayLong)
 
 BOOST_AUTO_TEST_CASE (testArrayFloat)
 
 BOOST_AUTO_TEST_CASE (testArrayDouble)
 
 BOOST_AUTO_TEST_CASE (testSpectrum)
 
 BOOST_AUTO_TEST_CASE (testIIII)
 
 BOOST_AUTO_TEST_CASE (testIFFF)
 
 BOOST_AUTO_TEST_CASE (testImage)
 
 BOOST_AUTO_TEST_CASE (testBit)
 
 BOOST_AUTO_TEST_CASE (testPartialAccess)
 
 BOOST_AUTO_TEST_CASE (testExceptions)
 
void deleteFileIfExisting (const std::string &filename)
 
 BOOST_AUTO_TEST_CASE (testCatalogue)
 
 BOOST_AUTO_TEST_CASE (testOther)
 
 BOOST_AUTO_TEST_CASE (testDestruction)
 
 BOOST_AUTO_TEST_CASE (testCacheFileCreation)
 
std::time_t createDummyXml (const std::string &filename)
 
 BOOST_AUTO_TEST_CASE (testCacheXmlReplacement)
 
 BOOST_AUTO_TEST_CASE (testCacheXmlReplacementBehaviorOnFailure)
 
 BOOST_AUTO_TEST_CASE (testAccessorForCachedMode)
 
 BOOST_AUTO_TEST_CASE (testBlankXMLThrow)
 
 BOOST_AUTO_TEST_CASE (testEventId)
 
 BOOST_AUTO_TEST_CASE (testTimeStamp)
 
 BOOST_AUTO_TEST_CASE (testEventIdMapping)
 

Macro Definition Documentation

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   testDoocsBackend

Definition at line 7 of file testDoocsBackend.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/27]

BOOST_AUTO_TEST_CASE ( testAccessorForCachedMode  )

Definition at line 1331 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/27]

BOOST_AUTO_TEST_CASE ( testArrayDouble  )

Definition at line 556 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/27]

BOOST_AUTO_TEST_CASE ( testArrayFloat  )

Definition at line 522 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/27]

BOOST_AUTO_TEST_CASE ( testArrayInt  )

Definition at line 396 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/27]

BOOST_AUTO_TEST_CASE ( testArrayLong  )

Definition at line 486 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/27]

BOOST_AUTO_TEST_CASE ( testArrayShort  )

Definition at line 450 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/27]

BOOST_AUTO_TEST_CASE ( testBit  )

Definition at line 813 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/27]

BOOST_AUTO_TEST_CASE ( testBlankXMLThrow  )

Definition at line 1353 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/27]

BOOST_AUTO_TEST_CASE ( testCacheFileCreation  )

Definition at line 1235 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/27]

BOOST_AUTO_TEST_CASE ( testCacheXmlReplacement  )

Definition at line 1282 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/27]

BOOST_AUTO_TEST_CASE ( testCacheXmlReplacementBehaviorOnFailure  )

Definition at line 1315 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/27]

BOOST_AUTO_TEST_CASE ( testCatalogue  )

Definition at line 1003 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/27]

BOOST_AUTO_TEST_CASE ( testDestruction  )

Definition at line 1216 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/27]

BOOST_AUTO_TEST_CASE ( testEventId  )

Definition at line 1365 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/27]

BOOST_AUTO_TEST_CASE ( testEventIdMapping  )

Definition at line 1513 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/27]

BOOST_AUTO_TEST_CASE ( testExceptions  )

Definition at line 960 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/27]

BOOST_AUTO_TEST_CASE ( testIFFF  )

Definition at line 680 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/27]

BOOST_AUTO_TEST_CASE ( testIIII  )

Definition at line 626 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/27]

BOOST_AUTO_TEST_CASE ( testImage  )

Definition at line 774 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/27]

BOOST_AUTO_TEST_CASE ( testOther  )

Definition at line 1173 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/27]

BOOST_AUTO_TEST_CASE ( testPartialAccess  )

Definition at line 851 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/27]

BOOST_AUTO_TEST_CASE ( testScalarDouble  )

Definition at line 277 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/27]

BOOST_AUTO_TEST_CASE ( testScalarFloat  )

Definition at line 188 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/27]

BOOST_AUTO_TEST_CASE ( testScalarInt  )

Definition at line 93 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/27]

BOOST_AUTO_TEST_CASE ( testSpectrum  )

Definition at line 609 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/27]

BOOST_AUTO_TEST_CASE ( testString  )

Definition at line 366 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [27/27]

BOOST_AUTO_TEST_CASE ( testTimeStamp  )

Definition at line 1439 of file testDoocsBackend.cpp.

◆ BOOST_GLOBAL_FIXTURE()

BOOST_GLOBAL_FIXTURE ( DoocsLauncher  )

◆ createDummyXml()

std::time_t createDummyXml ( const std::string &  filename)

Definition at line 1257 of file testDoocsBackend.cpp.

◆ deleteFileIfExisting()

void deleteFileIfExisting ( const std::string &  filename)

Definition at line 997 of file testDoocsBackend.cpp.