TwiceAsNice
2019-02-18
|
#include <boost/test/unit_test.hpp>
#include "Microgate/Driver/BcuDriverImpl.h"
#include "test/Device/Microgate/UdpConnectionMock.h"
#include "Microgate/Driver/Exception.h"
#include "Microgate/Mgp/BcuCommand.h"
#include "Microgate/Mgp/MgpHeader.h"
#include <boost/make_shared.hpp>
#include <exception>
Classes | |
struct | Fixture |
struct | Fixture::ZeroInitializedReplyBuilder_ |
struct | Fixture::MemoryBufferCheck |
struct | Fixture::BcuReadCommandCheck |
struct | Fixture::BcuReplyAdd |
Macros | |
#define | BOOST_TEST_DYN_LINK |
#define | BOOST_TEST_MODULE BcuDriverImpl |
Typedefs | |
typedef BcuDriverImpl::RequestPartition | RequestPartition |
typedef BcuDriverImpl::RequestPartitionList | RequestPartitionList |
Functions | |
BOOST_AUTO_TEST_CASE (RequestPartitionsShouldBeComparable) | |
BOOST_AUTO_TEST_CASE (test_partition) | |
BOOST_AUTO_TEST_CASE (test_read_aligned_address_and_small_payload) | |
BOOST_AUTO_TEST_CASE (test_read_from_aligned_address_and_payload) | |
BOOST_AUTO_TEST_CASE (test_read_from_aligned_address_and_big_payload) | |
BOOST_AUTO_TEST_CASE (test_read_from_aligned_address_and_maximum_MGP_packet) | |
BOOST_AUTO_TEST_CASE (test_read_from_aligned_address_and_two_maximum_MGP_packets) | |
BOOST_AUTO_TEST_CASE (test_read_from_unaligned_address_with_small_payload) | |
BOOST_AUTO_TEST_CASE (test_read_from_unaligned_address_and_a_friendly_payload) | |
BOOST_AUTO_TEST_CASE (test_read_from_unaligned_address_and_huge_payload) | |
BOOST_AUTO_TEST_CASE (test_write_from_unaligned_address_and_huge_payload) | |
BOOST_AUTO_TEST_CASE (optimisticDspRead) | |
BOOST_AUTO_TEST_CASE (shouldComplainIfReplyForReadOperationIsInvalid) | |
BOOST_AUTO_TEST_CASE (shouldComplainAboutBcuInternalCodeExecutionReadTimeoutReply) | |
BOOST_AUTO_TEST_CASE (shouldIgnoreALimitOfBcuInternalCodeExecutionReadTimeouts) | |
BOOST_AUTO_TEST_CASE (shouldComplainAboutBcuInternalCodeExecutionWriteTimeouts) | |
BOOST_AUTO_TEST_CASE (shouldIgnoreALimitOfBcuInternalCodeExecutionWriteTimeouts) | |
BOOST_AUTO_TEST_CASE (shouldComplainIfReplyPayloadSizeIsInvalid) | |
BOOST_AUTO_TEST_CASE (ShouldWrapMessageIdAt127) | |
BOOST_AUTO_TEST_CASE (optimisticDspWrite) | |
BOOST_AUTO_TEST_CASE (ShouldThrowExceptionIfReplyForWriteOperationIsInvalid) | |
BOOST_AUTO_TEST_CASE (construction_ReadRequest) | |
BOOST_AUTO_TEST_CASE (construction_WriteRequest) | |
#define BOOST_TEST_DYN_LINK |
#define BOOST_TEST_MODULE BcuDriverImpl |
BOOST_AUTO_TEST_CASE | ( | RequestPartitionsShouldBeComparable | ) |
BOOST_AUTO_TEST_CASE | ( | test_partition | ) |
BOOST_AUTO_TEST_CASE | ( | test_read_aligned_address_and_small_payload | ) |
BOOST_AUTO_TEST_CASE | ( | test_read_from_aligned_address_and_payload | ) |
BOOST_AUTO_TEST_CASE | ( | test_read_from_aligned_address_and_big_payload | ) |
BOOST_AUTO_TEST_CASE | ( | test_read_from_aligned_address_and_maximum_MGP_packet | ) |
BOOST_AUTO_TEST_CASE | ( | test_read_from_aligned_address_and_two_maximum_MGP_packets | ) |
BOOST_AUTO_TEST_CASE | ( | test_read_from_unaligned_address_with_small_payload | ) |
BOOST_AUTO_TEST_CASE | ( | test_read_from_unaligned_address_and_a_friendly_payload | ) |
BOOST_AUTO_TEST_CASE | ( | test_read_from_unaligned_address_and_huge_payload | ) |
BOOST_AUTO_TEST_CASE | ( | test_write_from_unaligned_address_and_huge_payload | ) |
BOOST_AUTO_TEST_CASE | ( | optimisticDspRead | ) |
BOOST_AUTO_TEST_CASE | ( | shouldComplainIfReplyForReadOperationIsInvalid | ) |
BOOST_AUTO_TEST_CASE | ( | shouldComplainAboutBcuInternalCodeExecutionReadTimeoutReply | ) |
BOOST_AUTO_TEST_CASE | ( | shouldIgnoreALimitOfBcuInternalCodeExecutionReadTimeouts | ) |
BOOST_AUTO_TEST_CASE | ( | shouldComplainAboutBcuInternalCodeExecutionWriteTimeouts | ) |
BOOST_AUTO_TEST_CASE | ( | shouldIgnoreALimitOfBcuInternalCodeExecutionWriteTimeouts | ) |
BOOST_AUTO_TEST_CASE | ( | shouldComplainIfReplyPayloadSizeIsInvalid | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldWrapMessageIdAt127 | ) |
BOOST_AUTO_TEST_CASE | ( | optimisticDspWrite | ) |
BOOST_AUTO_TEST_CASE | ( | ShouldThrowExceptionIfReplyForWriteOperationIsInvalid | ) |
BOOST_AUTO_TEST_CASE | ( | construction_ReadRequest | ) |
BOOST_AUTO_TEST_CASE | ( | construction_WriteRequest | ) |