TwiceAsNice  2019-02-18
Classes | Functions
DiagnosticRecordArchiveReadWriteTest.cpp File Reference
#include "config.h"
#include <boost/test/unit_test.hpp>
#include "Microgate/Diagnostics/DiagnosticRecordArchiveImpl.h"
#include "Microgate/Diagnostics/DiagnosticRecordArchiveReader.h"
#include "Microgate/Diagnostics/MasterBcuDiagnosticRecord.h"
#include "Microgate/Mgp/ByteOrder.h"
#include <boost/format.hpp>
#include <boost/make_shared.hpp>
#include <cstring>
#include <fstream>
#include <sstream>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
Include dependency graph for DiagnosticRecordArchiveReadWriteTest.cpp:

Classes

struct  Fixture
 

Functions

 BOOST_AUTO_TEST_CASE (ShouldReadArchiveFromStdin)
 
 BOOST_AUTO_TEST_CASE (ShouldWriteTwoRecordsIntoFile)
 
 BOOST_AUTO_TEST_CASE (ShouldComplainIfFileContainsGarbage)
 
 BOOST_AUTO_TEST_CASE (ShouldComplainIfFileIsMissing)
 
 BOOST_AUTO_TEST_CASE (ShouldSupportLargeFiles)
 

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/5]

BOOST_AUTO_TEST_CASE ( ShouldReadArchiveFromStdin  )

◆ BOOST_AUTO_TEST_CASE() [2/5]

BOOST_AUTO_TEST_CASE ( ShouldWriteTwoRecordsIntoFile  )

◆ BOOST_AUTO_TEST_CASE() [3/5]

BOOST_AUTO_TEST_CASE ( ShouldComplainIfFileContainsGarbage  )

◆ BOOST_AUTO_TEST_CASE() [4/5]

BOOST_AUTO_TEST_CASE ( ShouldComplainIfFileIsMissing  )

◆ BOOST_AUTO_TEST_CASE() [5/5]

BOOST_AUTO_TEST_CASE ( ShouldSupportLargeFiles  )