LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
boost_unit_test_base.h File Reference

Base class for tests using Boost unit test library. More...

#include "larcorealg/TestUtils/unit_test_base.h"
#include <boost/test/unit_test.hpp>
#include <string>

Go to the source code of this file.

Classes

struct  testing::BoostCommandLineConfiguration< CONFIGURATIONCLASS >
 Class holding a configuration for a Boost test fixture. More...
 

Namespaces

 testing
 LArSoft test utilities.
 

Detailed Description

Base class for tests using Boost unit test library.

Date
May 22th, 2015
Author
petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov
See also
unit_test_base.h

Provides an environment for easy set up of a Boost test. This is based and wraps the objects in unit_test_base.h. Since the wrapping is implemented by templates, derived classes than share interface with the unit_test_base.h objects should also work with the wrappers.

For an example of usage, see larcore/test/Geometry/geometry_iterator_test.cxx

This is a pure template header. It will require the same libraries as unit_test_base.h .

Definition in file boost_unit_test_base.h.