lsst.afw g8f2ba02de7+0e50281dbb
Classes | Functions
lsst::afw::typehandling::test Namespace Reference

Classes

class  GenericFactory
 Abstract factory that creates GenericMap and MutableGenericMap instances as needed. More...
 

Functions

 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestConstAt, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestAt, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestEquals, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestConstVisitor, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestModifyingVoidVisitor, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestModifyingReturningVisitor, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestMutableEquals, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestSize, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestMutableSize, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestWeakContains, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestContains, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestKeys, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestKeyOrder, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestClearIdempotent, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestClear, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestInsertInt, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestWeakInsertInt, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestInsertString, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestWeakInsertString, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestInsertStorable, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestInterleavedInserts, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestErase, GenericMapFactory)
 
 BOOST_TEST_CASE_TEMPLATE_FUNCTION (TestInsertEraseInsert, GenericMapFactory)
 
template<class GenericMapFactory >
void addGenericMapTestCases (boost::unit_test::test_suite *const suite)
 Create generic test cases for a specific GenericMap implementation. More...
 
template<class GenericMapFactory >
void addMutableGenericMapTestCases (boost::unit_test::test_suite *const suite)
 Create generic test cases for a specific MutableGenericMap implementation. More...
 
template<class GenericMapFactory >
void addGenericMapTestCases ()
 Create generic test cases for a specific GenericMap implementation. More...
 
template<class GenericMapFactory >
void addMutableGenericMapTestCases ()
 Create generic test cases for a specific MutableGenericMap implementation. More...
 

Function Documentation

◆ addGenericMapTestCases() [1/2]

template<class GenericMapFactory >
void lsst::afw::typehandling::test::addGenericMapTestCases ( )
inline

Create generic test cases for a specific GenericMap implementation.

The tests will be added to the master test suite.

Template Parameters
GenericMapFactorya subclass of GenericFactory that creates the desired implementation. Must be default-constructible.

Definition at line 798 of file test.h.

◆ addGenericMapTestCases() [2/2]

template<class GenericMapFactory >
void lsst::afw::typehandling::test::addGenericMapTestCases ( boost::unit_test::test_suite *const  suite)

Create generic test cases for a specific GenericMap implementation.

Template Parameters
GenericMapFactorya subclass of GenericFactory that creates the desired implementation. Must be default-constructible.
Parameters
suitethe test suite to add the tests to.

Definition at line 746 of file test.h.

◆ addMutableGenericMapTestCases() [1/2]

template<class GenericMapFactory >
void lsst::afw::typehandling::test::addMutableGenericMapTestCases ( )
inline

Create generic test cases for a specific MutableGenericMap implementation.

The tests will be added to the master test suite. They will include all tests added by addGenericMapTestCases.

Template Parameters
GenericMapFactorya subclass of GenericFactory that creates the desired implementation. Must be default-constructible.

Definition at line 812 of file test.h.

◆ addMutableGenericMapTestCases() [2/2]

template<class GenericMapFactory >
void lsst::afw::typehandling::test::addMutableGenericMapTestCases ( boost::unit_test::test_suite *const  suite)

Create generic test cases for a specific MutableGenericMap implementation.

The tests will include all those added by addGenericMapTestCases.

Template Parameters
GenericMapFactorya subclass of GenericFactory that creates the desired implementation. Must be default-constructible.
Parameters
suitethe test suite to add the tests to.

Definition at line 772 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [1/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestAt  ,
GenericMapFactory   
)

Definition at line 168 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [2/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestClear  ,
GenericMapFactory   
)

Definition at line 525 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [3/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestClearIdempotent  ,
GenericMapFactory   
)

Definition at line 516 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [4/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestConstAt  ,
GenericMapFactory   
)

Definition at line 155 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [5/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestConstVisitor  ,
GenericMapFactory   
)

Definition at line 220 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [6/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestContains  ,
GenericMapFactory   
)

Definition at line 466 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [7/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestEquals  ,
GenericMapFactory   
)

Definition at line 210 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [8/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestErase  ,
GenericMapFactory   
)

Definition at line 702 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [9/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestInsertEraseInsert  ,
GenericMapFactory   
)

Definition at line 717 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [10/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestInsertInt  ,
GenericMapFactory   
)

Definition at line 539 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [11/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestInsertStorable  ,
GenericMapFactory   
)

Definition at line 641 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [12/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestInsertString  ,
GenericMapFactory   
)

Definition at line 590 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [13/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestInterleavedInserts  ,
GenericMapFactory   
)

Definition at line 674 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [14/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestKeyOrder  ,
GenericMapFactory   
)

Definition at line 506 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [15/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestKeys  ,
GenericMapFactory   
)

Definition at line 495 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [16/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestModifyingReturningVisitor  ,
GenericMapFactory   
)

Definition at line 325 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [17/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestModifyingVoidVisitor  ,
GenericMapFactory   
)

Definition at line 287 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [18/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestMutableEquals  ,
GenericMapFactory   
)

Definition at line 386 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [19/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestMutableSize  ,
GenericMapFactory   
)

Definition at line 433 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [20/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestSize  ,
GenericMapFactory   
)

Definition at line 425 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [21/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestWeakContains  ,
GenericMapFactory   
)

Definition at line 451 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [22/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestWeakInsertInt  ,
GenericMapFactory   
)

Definition at line 565 of file test.h.

◆ BOOST_TEST_CASE_TEMPLATE_FUNCTION() [23/23]

lsst::afw::typehandling::test::BOOST_TEST_CASE_TEMPLATE_FUNCTION ( TestWeakInsertString  ,
GenericMapFactory   
)

Definition at line 616 of file test.h.