#include "Device.h"
#include <thread>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
◆ BOOST_NO_EXCEPTIONS
#define BOOST_NO_EXCEPTIONS |
◆ BOOST_TEST_DYN_LINK
#define BOOST_TEST_DYN_LINK |
◆ BOOST_TEST_MODULE
#define BOOST_TEST_MODULE SubdeviceBackendTest |
◆ CHECK_TIMEOUT
#define CHECK_TIMEOUT |
( |
|
execPreCheck, |
|
|
|
condition, |
|
|
|
maxMilliseconds |
|
) |
| |
Value: { \
execPreCheck while(!(condition)) { \
BOOST_CHECK(!timeout_reached); \
if(timeout_reached) break; \
usleep(1000); \
execPreCheck \
} \
}
Definition at line 17 of file testSubdeviceBackend.cpp.
◆ BOOST_AUTO_TEST_CASE() [1/18]
BOOST_AUTO_TEST_CASE |
( |
test2regsScalar |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [2/18]
BOOST_AUTO_TEST_CASE |
( |
test3regsArray |
| ) |
|
- Todo:
- Make a proper test with a custom backend, to make sure all elements of the array are properly written
Definition at line 512 of file testSubdeviceBackend.cpp.
◆ BOOST_AUTO_TEST_CASE() [3/18]
BOOST_AUTO_TEST_CASE |
( |
test3regsByteOffset1 |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [4/18]
BOOST_AUTO_TEST_CASE |
( |
test3regsScalar |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [5/18]
BOOST_AUTO_TEST_CASE |
( |
testAreaHandshake1 |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [6/18]
BOOST_AUTO_TEST_CASE |
( |
testIsFunctional |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [7/18]
BOOST_AUTO_TEST_CASE |
( |
testMayReplaceOther |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [8/18]
BOOST_AUTO_TEST_CASE |
( |
testOpenClose |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [9/18]
BOOST_AUTO_TEST_CASE |
( |
testReadArrayCooked |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [10/18]
BOOST_AUTO_TEST_CASE |
( |
testReadArrayRaw |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [11/18]
BOOST_AUTO_TEST_CASE |
( |
testReadScalarCooked |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [12/18]
BOOST_AUTO_TEST_CASE |
( |
testReadScalarInAreaRaw |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [13/18]
BOOST_AUTO_TEST_CASE |
( |
testReadScalarRaw |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [14/18]
BOOST_AUTO_TEST_CASE |
( |
testWriteArrayCooked |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [15/18]
BOOST_AUTO_TEST_CASE |
( |
testWriteArrayRaw |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [16/18]
BOOST_AUTO_TEST_CASE |
( |
testWriteScalarCooked |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [17/18]
BOOST_AUTO_TEST_CASE |
( |
testWriteScalarInAreaRaw |
| ) |
|
◆ BOOST_AUTO_TEST_CASE() [18/18]
BOOST_AUTO_TEST_CASE |
( |
testWriteScalarRaw |
| ) |
|