CppUnit project page CppUnit home page

assertenum.h File Reference

#include <cpput/assertcommon.h>
#include <cpptl/enumerator.h>
#include <functional>
#include <deque>

Include dependency graph for assertenum.h:

Go to the source code of this file.

Namespaces

namespace  CppUT

Classes

struct  CppUT::DefaultComparator< AType, BType >
struct  CppUT::DeRefComparator< AType, BType >
struct  CppUT::RefComparator< AType, BType >

Defines

#define CPPUT_ASSERT_SEQUENCE_EQUAL
 Asserts that two ordered sequence (list) are identical.
#define CPPUT_ASSERT_SET_EQUAL
 Asserts that two unordered sequence (set,bag) are identical.
#define CPPUT_ASSERT_STL_SEQUENCE_EQUAL
 Asserts that two STL ordered sequence are identical.
#define CPPUT_ASSERT_STL_SET_EQUAL
 Asserts that two STL unordered sequence are identical.
#define CPPUT_CHECK_SEQUENCE_EQUAL
 Checks that two ordered sequence (list) are identical.
#define CPPUT_CHECK_SET_EQUAL
 Checks that two unordered sequence (set,bag) are identical.
#define CPPUT_CHECK_STL_SEQUENCE_EQUAL
 Asserts that two STL ordered sequence are identical.
#define CPPUT_CHECK_STL_SET_EQUAL
 Checks that two STL unordered sequence are identical.

Functions

template<typename ItemType>
std::string CppUT::stringizeEnumItem (const ItemType &item)
template<class ExpectedEnumerator, class ActualEnumerator, class ExpectedStringizer, class ActualStringizer, class EqualityPredicate>
CheckerResult CppUT::checkCustomHeterogeneousSequenceEqual (const ExpectedEnumerator &expected, const ActualEnumerator &actual, ExpectedStringizer expectedStringizer, ActualStringizer actualStringizer, EqualityPredicate comparator, const Message &message)
template<class EnumeratorType, class StringizerType, class EqualityPredicate>
CheckerResult CppUT::checkCustomSequenceEqual (const EnumeratorType &expected, const EnumeratorType &actual, StringizerType stringizer, EqualityPredicate comparator, const Message &message)
template<class EnumeratorType, class StringizerType, class EqualityPredicate>
CheckerResult CppUT::checkCustomStringSequenceEqual (const EnumeratorType &expected, const EnumeratorType &actual, StringizerType stringizer, const Message &message=Message())
template<class ExpectedEnumerator, class ActualEnumerator, class EqualityPredicate>
CheckerResult CppUT::checkCustomEqualitySequenceEqual (const ExpectedEnumerator &expected, const ActualEnumerator &actual, EqualityPredicate comparator, const Message &message=Message())
template<class ExpectedEnumeratorType, class ActualEnumeratorType>
CheckerResult CppUT::checkSequenceEqual (const ExpectedEnumeratorType &expected, const ActualEnumeratorType &actual, const Message &message=Message())
template<class ExpectedEnumeratorType, class ActualEnumeratorType, class EqualityPredicate>
CheckerResult CppUT::checkCustomEqualityStlSequenceEqual (const ExpectedEnumeratorType &expected, const ActualEnumeratorType &actual, EqualityPredicate comparator, const Message &message=Message())
template<class ExpectedEnumeratorType, class ActualEnumeratorType>
CheckerResult CppUT::checkStlSequenceEqual (const ExpectedEnumeratorType &expected, const ActualEnumeratorType &actual, const Message &message=Message())
template<class ExpectedEnumerator, class ActualEnumerator, class ExpectedStringizer, class ActualStringizer, class EqualityPredicate>
CheckerResult CppUT::checkCustomHeterogeneousSetEqual (const ExpectedEnumerator &expected, const ActualEnumerator &actual, ExpectedStringizer expectedStringizer, ActualStringizer actualStringizer, EqualityPredicate predicate, const Message &message)
template<class ExpectedEnumerator, class ActualEnumerator, class ItemStringizer, class EqualityPredicate>
CheckerResult CppUT::checkCustomSetEqual (const ExpectedEnumerator &expected, const ActualEnumerator &actual, ItemStringizer itemStringizer, EqualityPredicate comparator, const Message &message=Message())
template<class ExpectedEnumerator, class ActualEnumerator, class ItemStringizer>
CheckerResult CppUT::checkCustomStringSetEqual (const ExpectedEnumerator &expected, const ActualEnumerator &actual, ItemStringizer itemStringizer, const Message &message=Message())
template<class ExpectedEnumerator, class ActualEnumerator, class EqualityPredicate>
CheckerResult CppUT::checkCustomEqualitySetEqual (const ExpectedEnumerator &expected, const ActualEnumerator &actual, EqualityPredicate comparator, const Message &message=Message())
template<class ExpectedEnumerator, class ActualEnumerator>
CheckerResult CppUT::checkSetEqual (const ExpectedEnumerator &expected, const ActualEnumerator &actual, const Message &message=Message())
template<class ExpectedStlSet, class ActualStlSet>
CheckerResult CppUT::checkStlSetEqual (const ExpectedStlSet &expected, const ActualStlSet &actual, const Message &message=Message())
template<class ExpectedSetType, class ActualSetType, class EqualityPredicate>
CheckerResult CppUT::checkCustomEqualityStlSetEqual (const ExpectedSetType &expected, const ActualSetType &actual, EqualityPredicate predicate, const Message &message=Message())
template<class EnumeratorType, class ItemStringizerType>
std::string CppUT::enumToStringCustom (EnumeratorType enumerator, ItemStringizerType itemStringizer, const std::string &separator="; ", const std::string &begin="{ ", const std::string &end=" }")
template<class EnumType>
std::string CppUT::enumToString (const EnumType &enumerator, const std::string &separator="; ", const std::string &begin="{ ", const std::string &end=" }")


SourceForge Logo hosts this site. Send comments to:
CppUnit Developers