ChimeraTK-DeviceAccess 03.31.00
Loading...
Searching...
No Matches
testDeviceToJmap.cc File Reference
#include "AccessMode.h"
#include "BackendFactory.h"
#include "DataDescriptor.h"
#include "Device.h"
#include "RegisterCatalogue.h"
#include "RegisterInfo.h"
#include <nlohmann/json.hpp>
#include <sys/wait.h>
#include <boost/test/unit_test.hpp>
#include <cstdlib>
#include <format>
#include <fstream>
#include <set>
#include <sstream>
#include <string>
#include <vector>
+ Include dependency graph for testDeviceToJmap.cc:

Go to the source code of this file.

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   testDeviceToJmap
 
#define CHIMERATK_DEVICE_TO_JMAP   "chimeratk-device-to-jmap"
 

Functions

 BOOST_AUTO_TEST_CASE (TestRoundTripViaNumericAddressedDevice)
 
 BOOST_AUTO_TEST_CASE (TestRoundTripViaNonNumericDevice)
 
 BOOST_AUTO_TEST_CASE (TestNumericIntegralTypes)
 
 BOOST_AUTO_TEST_CASE (TestFloatingPointTypes)
 
 BOOST_AUTO_TEST_CASE (TestStringRegisters)
 
 BOOST_AUTO_TEST_CASE (TestStringLengthOption)
 
 BOOST_AUTO_TEST_CASE (TestVoidInterruptRegisters)
 
 BOOST_AUTO_TEST_CASE (TestBooleanRegisters)
 
 BOOST_AUTO_TEST_CASE (TestConstants)
 
 BOOST_AUTO_TEST_CASE (TestArrayRegisters)
 
 BOOST_AUTO_TEST_CASE (TestModuleHierarchy)
 
 BOOST_AUTO_TEST_CASE (TestAccessRights)
 
 BOOST_AUTO_TEST_CASE (TestWritableInterruptsBecomeReadOnly)
 
 BOOST_AUTO_TEST_CASE (TestEmptyCatalogue)
 
 BOOST_AUTO_TEST_CASE (TestTwoDimensionalSkippedWithWarning)
 
 BOOST_AUTO_TEST_CASE (TestAllTwoDimensionalSkipped)
 
 BOOST_AUTO_TEST_CASE (TestWritableInterruptWarning)
 
 BOOST_AUTO_TEST_CASE (TestMissingOutputOption)
 
 BOOST_AUTO_TEST_CASE (TestHelpOption)
 
 BOOST_AUTO_TEST_CASE (TestDeterminism)
 
 BOOST_AUTO_TEST_CASE (TestIdentificationModes)
 
 BOOST_AUTO_TEST_CASE (TestDeviceOpenFailure)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 4 of file testDeviceToJmap.cc.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   testDeviceToJmap

Definition at line 6 of file testDeviceToJmap.cc.

◆ CHIMERATK_DEVICE_TO_JMAP

#define CHIMERATK_DEVICE_TO_JMAP   "chimeratk-device-to-jmap"

Definition at line 33 of file testDeviceToJmap.cc.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/22]

BOOST_AUTO_TEST_CASE ( TestAccessRights  )

Definition at line 440 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [2/22]

BOOST_AUTO_TEST_CASE ( TestAllTwoDimensionalSkipped  )

Definition at line 530 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [3/22]

BOOST_AUTO_TEST_CASE ( TestArrayRegisters  )

Definition at line 415 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [4/22]

BOOST_AUTO_TEST_CASE ( TestBooleanRegisters  )

Definition at line 376 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [5/22]

BOOST_AUTO_TEST_CASE ( TestConstants  )

Definition at line 394 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [6/22]

BOOST_AUTO_TEST_CASE ( TestDeterminism  )

Definition at line 605 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [7/22]

BOOST_AUTO_TEST_CASE ( TestDeviceOpenFailure  )

Definition at line 648 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [8/22]

BOOST_AUTO_TEST_CASE ( TestEmptyCatalogue  )

Definition at line 481 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [9/22]

BOOST_AUTO_TEST_CASE ( TestFloatingPointTypes  )

Definition at line 301 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [10/22]

BOOST_AUTO_TEST_CASE ( TestHelpOption  )

Definition at line 592 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [11/22]

BOOST_AUTO_TEST_CASE ( TestIdentificationModes  )

Definition at line 621 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [12/22]

BOOST_AUTO_TEST_CASE ( TestMissingOutputOption  )

Definition at line 579 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [13/22]

BOOST_AUTO_TEST_CASE ( TestModuleHierarchy  )

Definition at line 428 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [14/22]

BOOST_AUTO_TEST_CASE ( TestNumericIntegralTypes  )

Definition at line 270 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [15/22]

BOOST_AUTO_TEST_CASE ( TestRoundTripViaNonNumericDevice  )

Definition at line 257 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [16/22]

BOOST_AUTO_TEST_CASE ( TestRoundTripViaNumericAddressedDevice  )

Definition at line 245 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [17/22]

BOOST_AUTO_TEST_CASE ( TestStringLengthOption  )

Definition at line 339 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [18/22]

BOOST_AUTO_TEST_CASE ( TestStringRegisters  )

Definition at line 318 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [19/22]

BOOST_AUTO_TEST_CASE ( TestTwoDimensionalSkippedWithWarning  )

Definition at line 507 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [20/22]

BOOST_AUTO_TEST_CASE ( TestVoidInterruptRegisters  )

Definition at line 361 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [21/22]

BOOST_AUTO_TEST_CASE ( TestWritableInterruptsBecomeReadOnly  )

Definition at line 460 of file testDeviceToJmap.cc.

◆ BOOST_AUTO_TEST_CASE() [22/22]

BOOST_AUTO_TEST_CASE ( TestWritableInterruptWarning  )

Definition at line 563 of file testDeviceToJmap.cc.