ChimeraTK-DeviceAccess-DoocsBackend  01.09.02
testDoocsBackend.cpp File Reference
#include "eq_dummy.h"
#include <doocs-server-test-helper/doocsServerTestHelper.h>
#include <doocs-server-test-helper/ThreadedDoocsServer.h>
#include <doocs/EqCall.h>
#include <ChimeraTK/Device.h>
#include <ChimeraTK/MappedImage.h>
#include <ChimeraTK/TransferGroup.h>
#include <boost/filesystem.hpp>
#include <boost/test/included/unit_test.hpp>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <random>
#include <thread>
#include <unistd.h>
+ 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 (testBitAndStatus)
 
 BOOST_AUTO_TEST_CASE (testPartialAccess)
 
 BOOST_AUTO_TEST_CASE (testExceptions)
 
 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 553 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/27]

BOOST_AUTO_TEST_CASE ( testArrayFloat  )

Definition at line 519 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/27]

BOOST_AUTO_TEST_CASE ( testArrayInt  )

Definition at line 393 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/27]

BOOST_AUTO_TEST_CASE ( testArrayLong  )

Definition at line 483 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/27]

BOOST_AUTO_TEST_CASE ( testArrayShort  )

Definition at line 447 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/27]

BOOST_AUTO_TEST_CASE ( testBitAndStatus  )

Definition at line 810 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 1239 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/27]

BOOST_AUTO_TEST_CASE ( testCacheXmlReplacement  )

Definition at line 1284 of file testDoocsBackend.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [11/27]

BOOST_AUTO_TEST_CASE ( testCacheXmlReplacementBehaviorOnFailure  )

Definition at line 1317 of file testDoocsBackend.cpp.

+ Here is the call graph for this function:

◆ BOOST_AUTO_TEST_CASE() [12/27]

BOOST_AUTO_TEST_CASE ( testCatalogue  )

Definition at line 1019 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/27]

BOOST_AUTO_TEST_CASE ( testDestruction  )

Definition at line 1220 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 980 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/27]

BOOST_AUTO_TEST_CASE ( testIFFF  )

Definition at line 677 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/27]

BOOST_AUTO_TEST_CASE ( testIIII  )

Definition at line 623 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/27]

BOOST_AUTO_TEST_CASE ( testImage  )

Definition at line 771 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/27]

BOOST_AUTO_TEST_CASE ( testOther  )

Definition at line 1190 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/27]

BOOST_AUTO_TEST_CASE ( testPartialAccess  )

Definition at line 871 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/27]

BOOST_AUTO_TEST_CASE ( testScalarDouble  )

Definition at line 274 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/27]

BOOST_AUTO_TEST_CASE ( testScalarFloat  )

Definition at line 185 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [24/27]

BOOST_AUTO_TEST_CASE ( testScalarInt  )

Definition at line 90 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [25/27]

BOOST_AUTO_TEST_CASE ( testSpectrum  )

Definition at line 606 of file testDoocsBackend.cpp.

◆ BOOST_AUTO_TEST_CASE() [26/27]

BOOST_AUTO_TEST_CASE ( testString  )

Definition at line 363 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 1259 of file testDoocsBackend.cpp.

+ Here is the caller graph for this function: