EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GeometryHierarchyMapJsonConverterTests.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "Acts/Plugins/Json/GeometryHierarchyMapJsonConverter.hpp"
#include "Acts/Tests/CommonHelpers/DataDirectory.hpp"
#include <fstream>
#include <ostream>
#include <nlohmann/json.hpp>
+ Include dependency graph for GeometryHierarchyMapJsonConverterTests.cpp:

Go to the source code of this file.

Functions

 BOOST_AUTO_TEST_CASE (ToJson)
 
 BOOST_AUTO_TEST_CASE (FromJson)
 
 BOOST_AUTO_TEST_CASE (FromJsonMissingHeader)
 
 BOOST_AUTO_TEST_CASE (FromJsonInvalidFormatVersion)
 
 BOOST_AUTO_TEST_CASE (FromJsonInvalidValueIdentifier)
 
 BOOST_AUTO_TEST_CASE (FromJsonMissingEntries)
 
 BOOST_AUTO_TEST_CASE (Roundtrip)
 
 BOOST_AUTO_TEST_CASE (FromFile)
 

Function Documentation

BOOST_AUTO_TEST_CASE ( ToJson  )

Definition at line 68 of file GeometryHierarchyMapJsonConverterTests.cpp.

View newest version in sPHENIX GitHub at line 68 of file GeometryHierarchyMapJsonConverterTests.cpp

References c, nlohmann::basic_json::end(), nlohmann::basic_json::find(), nlohmann::basic_json::is_object(), Acts::Test::makeId(), and Acts::UnitConstants::u.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( FromJson  )

Definition at line 92 of file GeometryHierarchyMapJsonConverterTests.cpp.

View newest version in sPHENIX GitHub at line 92 of file GeometryHierarchyMapJsonConverterTests.cpp

References c, it, and Acts::Test::makeId().

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( FromJsonMissingHeader  )

Definition at line 136 of file GeometryHierarchyMapJsonConverterTests.cpp.

View newest version in sPHENIX GitHub at line 136 of file GeometryHierarchyMapJsonConverterTests.cpp

BOOST_AUTO_TEST_CASE ( FromJsonInvalidFormatVersion  )

Definition at line 144 of file GeometryHierarchyMapJsonConverterTests.cpp.

View newest version in sPHENIX GitHub at line 144 of file GeometryHierarchyMapJsonConverterTests.cpp

BOOST_AUTO_TEST_CASE ( FromJsonInvalidValueIdentifier  )

Definition at line 159 of file GeometryHierarchyMapJsonConverterTests.cpp.

View newest version in sPHENIX GitHub at line 159 of file GeometryHierarchyMapJsonConverterTests.cpp

BOOST_AUTO_TEST_CASE ( FromJsonMissingEntries  )

Definition at line 174 of file GeometryHierarchyMapJsonConverterTests.cpp.

View newest version in sPHENIX GitHub at line 174 of file GeometryHierarchyMapJsonConverterTests.cpp

BOOST_AUTO_TEST_CASE ( Roundtrip  )

Definition at line 188 of file GeometryHierarchyMapJsonConverterTests.cpp.

View newest version in sPHENIX GitHub at line 188 of file GeometryHierarchyMapJsonConverterTests.cpp

References c1, Acts::Test::makeId(), and min.

+ Here is the call graph for this function:

BOOST_AUTO_TEST_CASE ( FromFile  )

Definition at line 204 of file GeometryHierarchyMapJsonConverterTests.cpp.

View newest version in sPHENIX GitHub at line 204 of file GeometryHierarchyMapJsonConverterTests.cpp

References c, eicpy.qaplots::file, Acts::Test::getDataPath(), in, and Acts::Test::makeId().

+ Here is the call graph for this function: