ChimeraTK-DeviceAccess 03.31.00
Loading...
Searching...
No Matches
testJsonMapFileParser.cpp File Reference
#include "Exception.h"
#include "MapFileParser.h"
#include <nlohmann/json.hpp>
#include <boost/pointer_cast.hpp>
#include <boost/test/unit_test.hpp>
#include <unistd.h>
#include <fstream>
#include <string>
#include <vector>
+ Include dependency graph for testJsonMapFileParser.cpp:

Go to the source code of this file.

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   JsonMapFileParser
 

Functions

 BOOST_AUTO_TEST_CASE (TestFileDoesNotExist)
 
 BOOST_AUTO_TEST_CASE (TestGoodMapFileParse)
 
 BOOST_AUTO_TEST_CASE (TestBackendSpecificInterruptHandler)
 
 BOOST_AUTO_TEST_CASE (TestNamedChannelBitRangeChildren)
 
 BOOST_AUTO_TEST_CASE (TestNamedChannelDirectBitRange)
 
 BOOST_AUTO_TEST_CASE (TestNamedChannelBitRangeIgnoredChildren)
 
 BOOST_AUTO_TEST_CASE (TestNamedChannelBitRangeBuf0CollisionThrows)
 
 BOOST_AUTO_TEST_CASE (TestNamedChannelBitRangeChildBuf0CollisionThrows)
 
 BOOST_AUTO_TEST_CASE (TestNamedChannelBitRangeMuxedChildSelectedBy)
 
 BOOST_AUTO_TEST_CASE (TestDoubleBufferDiffBarThrows)
 
 BOOST_AUTO_TEST_CASE (TestChannelInfoEqualitySelectedBy)
 
 BOOST_AUTO_TEST_CASE (TestSelectedByMissingValue)
 
 BOOST_AUTO_TEST_CASE (TestSelectedByMissingRegister)
 
 BOOST_AUTO_TEST_CASE (TestSelectedBySelectorNotFound)
 
 BOOST_AUTO_TEST_CASE (TestSelectedBySelectorItselfGated)
 
 BOOST_AUTO_TEST_CASE (TestSelectedByReadWriteRejected)
 
 BOOST_AUTO_TEST_CASE (TestSelectedByWriteOnlyRejected)
 
 BOOST_AUTO_TEST_CASE (TestSelectedByReadOnlyAccepted)
 
 BOOST_AUTO_TEST_CASE (TestSelectedByInterruptAccepted)
 
 BOOST_AUTO_TEST_CASE (TestSelectedByInheritedWritableDescendantRejected)
 
 BOOST_AUTO_TEST_CASE (TestSelectedByOnScalar)
 
 BOOST_AUTO_TEST_CASE (TestSelectedByInheritance)
 
 BOOST_AUTO_TEST_CASE (TestMapFormatVersionWithPatch)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 4 of file testJsonMapFileParser.cpp.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   JsonMapFileParser

Definition at line 6 of file testJsonMapFileParser.cpp.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/23]

BOOST_AUTO_TEST_CASE ( TestBackendSpecificInterruptHandler  )

Definition at line 712 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/23]

BOOST_AUTO_TEST_CASE ( TestChannelInfoEqualitySelectedBy  )

Definition at line 1028 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/23]

BOOST_AUTO_TEST_CASE ( TestDoubleBufferDiffBarThrows  )

Definition at line 1019 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/23]

BOOST_AUTO_TEST_CASE ( TestFileDoesNotExist  )

Definition at line 71 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/23]

BOOST_AUTO_TEST_CASE ( TestGoodMapFileParse  )

Definition at line 78 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/23]

BOOST_AUTO_TEST_CASE ( TestMapFormatVersionWithPatch  )

Definition at line 1298 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/23]

BOOST_AUTO_TEST_CASE ( TestNamedChannelBitRangeBuf0CollisionThrows  )

Definition at line 933 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/23]

BOOST_AUTO_TEST_CASE ( TestNamedChannelBitRangeChildBuf0CollisionThrows  )

Definition at line 956 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/23]

BOOST_AUTO_TEST_CASE ( TestNamedChannelBitRangeChildren  )

Definition at line 759 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/23]

BOOST_AUTO_TEST_CASE ( TestNamedChannelBitRangeIgnoredChildren  )

Definition at line 907 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/23]

BOOST_AUTO_TEST_CASE ( TestNamedChannelBitRangeMuxedChildSelectedBy  )

Definition at line 979 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/23]

BOOST_AUTO_TEST_CASE ( TestNamedChannelDirectBitRange  )

Definition at line 865 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/23]

BOOST_AUTO_TEST_CASE ( TestSelectedByInheritance  )

Definition at line 1232 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/23]

BOOST_AUTO_TEST_CASE ( TestSelectedByInheritedWritableDescendantRejected  )

Definition at line 1208 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/23]

BOOST_AUTO_TEST_CASE ( TestSelectedByInterruptAccepted  )

Definition at line 1175 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/23]

BOOST_AUTO_TEST_CASE ( TestSelectedByMissingRegister  )

Definition at line 1082 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/23]

BOOST_AUTO_TEST_CASE ( TestSelectedByMissingValue  )

Definition at line 1073 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [18/23]

BOOST_AUTO_TEST_CASE ( TestSelectedByOnScalar  )

Definition at line 1224 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [19/23]

BOOST_AUTO_TEST_CASE ( TestSelectedByReadOnlyAccepted  )

Definition at line 1165 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [20/23]

BOOST_AUTO_TEST_CASE ( TestSelectedByReadWriteRejected  )

Definition at line 1155 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [21/23]

BOOST_AUTO_TEST_CASE ( TestSelectedBySelectorItselfGated  )

Definition at line 1106 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [22/23]

BOOST_AUTO_TEST_CASE ( TestSelectedBySelectorNotFound  )

Definition at line 1090 of file testJsonMapFileParser.cpp.

◆ BOOST_AUTO_TEST_CASE() [23/23]

BOOST_AUTO_TEST_CASE ( TestSelectedByWriteOnlyRejected  )

Definition at line 1160 of file testJsonMapFileParser.cpp.