ChimeraTK-DeviceAccess 03.29.00
Loading...
Searching...
No Matches
testMapFileSearch.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "BackendFactory.h"
#include "DummyBackend.h"
#include "Exception.h"
#include "ProcessManagement.h"
#include "Utilities.h"
#include <boost/filesystem.hpp>
#include <filesystem>
#include <fstream>
+ Include dependency graph for testMapFileSearch.cpp:

Go to the source code of this file.

Classes

struct  MapFileSearchBackend
 Test-only backend exposing the resolved map file name computed by the NumericAddressedBackend base class. More...
 
struct  MapFileSearchFixture
 

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MODULE   MapFileSearch
 

Functions

 BOOST_FIXTURE_TEST_CASE (RelativeMapResolvedRelativeToDmapDirectory, MapFileSearchFixture)
 
 BOOST_FIXTURE_TEST_CASE (RelativeMapResolvedRelativeToCwd, MapFileSearchFixture)
 
 BOOST_FIXTURE_TEST_CASE (MapFileInBothDmapDirAndCwdDmapDirWins, MapFileSearchFixture)
 
 BOOST_FIXTURE_TEST_CASE (AbsoluteMapPathUsedAsIs, MapFileSearchFixture)
 
 BOOST_FIXTURE_TEST_CASE (NoDmapPathSetRelativeMapResolvedRelativeToCwd, MapFileSearchFixture)
 
 BOOST_FIXTURE_TEST_CASE (RelativeDmapPathDmapDirRelativeToCwd, MapFileSearchFixture)
 
 BOOST_FIXTURE_TEST_CASE (MissingMapFileThrowsClearError, MapFileSearchFixture)
 
 BOOST_FIXTURE_TEST_CASE (SharedDummyShmNameDerivedFromResolvedPath, MapFileSearchFixture)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 4 of file testMapFileSearch.cpp.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   MapFileSearch

Definition at line 5 of file testMapFileSearch.cpp.

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/8]

BOOST_FIXTURE_TEST_CASE ( AbsoluteMapPathUsedAsIs  ,
MapFileSearchFixture   
)

Definition at line 131 of file testMapFileSearch.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [2/8]

BOOST_FIXTURE_TEST_CASE ( MapFileInBothDmapDirAndCwdDmapDirWins  ,
MapFileSearchFixture   
)

Definition at line 115 of file testMapFileSearch.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [3/8]

BOOST_FIXTURE_TEST_CASE ( MissingMapFileThrowsClearError  ,
MapFileSearchFixture   
)

Definition at line 172 of file testMapFileSearch.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [4/8]

BOOST_FIXTURE_TEST_CASE ( NoDmapPathSetRelativeMapResolvedRelativeToCwd  ,
MapFileSearchFixture   
)

Definition at line 146 of file testMapFileSearch.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [5/8]

BOOST_FIXTURE_TEST_CASE ( RelativeDmapPathDmapDirRelativeToCwd  ,
MapFileSearchFixture   
)

Definition at line 158 of file testMapFileSearch.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [6/8]

BOOST_FIXTURE_TEST_CASE ( RelativeMapResolvedRelativeToCwd  ,
MapFileSearchFixture   
)

Definition at line 101 of file testMapFileSearch.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [7/8]

BOOST_FIXTURE_TEST_CASE ( RelativeMapResolvedRelativeToDmapDirectory  ,
MapFileSearchFixture   
)

Definition at line 87 of file testMapFileSearch.cpp.

◆ BOOST_FIXTURE_TEST_CASE() [8/8]

BOOST_FIXTURE_TEST_CASE ( SharedDummyShmNameDerivedFromResolvedPath  ,
MapFileSearchFixture   
)

Definition at line 182 of file testMapFileSearch.cpp.