20 #include "test/Geometry/GeometryTestAlg.h" 21 #include "test/Geometry/geometry_unit_test_base.h" 74 config.SetMainTesterParameterSetName(
"geotest");
82 if (++iParam < argc) config.SetConfigurationPath(argv[iParam]);
86 if (++iParam < argc) config.SetMainTesterParameterSetPath(argv[iParam]);
90 if (++iParam < argc) config.SetGeometryParameterSetPath(argv[iParam]);
108 unsigned int nErrors = Tester.Run();
112 mf::LogError(
"geometry_test") << nErrors <<
" errors detected!";
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
Performs tests on the geometry as seen by Geometry service.
Environment for a geometry test.
virtual void Setup(geo::GeometryCore const &new_geo)
Runs the test.
Description of geometry of one entire detector.
int main(int argc, char const **argv)
Runs the test.
Class holding a configuration for a test environment.
testing::TesterEnvironment< testing::BasicEnvironmentConfiguration > TestEnvironment
testing::GeometryTesterEnvironment< StandardGeometryConfiguration > StandardGeometryTestEnvironment
Access the description of detector geometry.