Namespaces |
namespace | Detail |
namespace | Generators |
namespace | Internal |
namespace | Matchers |
Classes |
struct | AssertionInfo |
class | AssertionResult |
struct | AssertionResultData |
struct | AutoReg |
class | BetweenGenerator |
class | CompositeGenerator |
struct | CopyableStream |
struct | Counts |
class | ExceptionTranslatorRegistrar |
class | ExpressionLhs |
struct | IContext |
struct | IExceptionTranslator |
struct | IExceptionTranslatorRegistry |
struct | IGenerator |
struct | IGeneratorInfo |
struct | IGeneratorsForTest |
struct | IMutableContext |
struct | IMutableRegistryHub |
struct | IRegistryHub |
struct | IResultCapture |
struct | IRunner |
struct | IShared |
struct | ITagAliasRegistry |
struct | ITestCase |
struct | ITestCaseRegistry |
struct | MessageBuilder |
struct | MessageInfo |
class | MethodTestCase |
struct | NameAndDesc |
class | NonCopyable |
class | NotImplementedException |
class | Option |
struct | pluralise |
class | Ptr |
struct | RegistrarForTagAliases |
class | ResultBuilder |
struct | ResultDisposition |
struct | ResultWas |
class | SafeBool |
class | ScopedMessage |
class | Section |
struct | SectionInfo |
struct | SharedImpl |
struct | SourceLineInfo |
struct | StreamEndStop |
struct | StringMaker |
struct | StringMaker< R C::* > |
struct | StringMaker< T * > |
struct | TagAlias |
class | TestCase |
struct | TestCaseInfo |
struct | TestFailureException |
class | Timer |
struct | Totals |
class | ValuesGenerator |
Typedefs |
typedef std::string(* | exceptionTranslateFunction )() |
typedef void(* | TestFunction )() |
Functions |
bool | alwaysFalse () |
bool | alwaysTrue () |
void | cleanUp () |
void | cleanUpContext () |
bool | contains (std::string const &s, std::string const &infix) |
IGeneratorsForTest * | createGeneratorsForTest () |
Stream | createStream (std::string const &streamName) |
template<typename ContainerT > |
void | deleteAll (ContainerT &container) |
template<typename AssociativeContainerT > |
void | deleteAllValues (AssociativeContainerT &container) |
bool | endsWith (std::string const &s, std::string const &suffix) |
IContext & | getCurrentContext () |
IMutableContext & | getCurrentMutableContext () |
IMutableRegistryHub & | getMutableRegistryHub () |
IRegistryHub & | getRegistryHub () |
IResultCapture & | getResultCapture () |
bool | isDebuggerActive () |
bool | isFalseTest (int flags) |
bool | isJustInfo (int flags) |
bool | isOk (ResultWas::OfType resultType) |
bool | isTrue (bool value) |
TestCase | makeTestCase (ITestCase *testCase, std::string const &className, std::string const &name, std::string const &description, SourceLineInfo const &lineInfo) |
template<typename T > |
T const & | operator+ (T const &value, StreamEndStop) |
std::ostream & | operator<< (std::ostream &os, SourceLineInfo const &info) |
ResultDisposition::Flags | operator| (ResultDisposition::Flags lhs, ResultDisposition::Flags rhs) |
bool | replaceInPlace (std::string &str, std::string const &replaceThis, std::string const &withThis) |
bool | shouldContinueOnFailure (int flags) |
bool | shouldSuppressFailure (int flags) |
bool | startsWith (std::string const &s, std::string const &prefix) |
void | throwLogicError (std::string const &message, SourceLineInfo const &locationInfo) |
std::string | toLower (std::string const &s) |
void | toLowerInPlace (std::string &s) |
template<typename T > |
std::string | toString (T const &value) |
| converts any type to a string
|
std::string | toString (std::string const &value) |
std::string | toString (std::wstring const &value) |
std::string | toString (const char *const value) |
std::string | toString (char *const value) |
std::string | toString (const wchar_t *const value) |
std::string | toString (wchar_t *const value) |
std::string | toString (int value) |
std::string | toString (unsigned long value) |
std::string | toString (unsigned int value) |
std::string | toString (const double value) |
std::string | toString (const float value) |
std::string | toString (bool value) |
std::string | toString (char value) |
std::string | toString (signed char value) |
std::string | toString (unsigned char value) |
template<typename T , typename Allocator > |
std::string | toString (std::vector< T, Allocator > const &v) |
template<> |
std::string | toString< Detail::Approx > (Detail::Approx const &value) |
std::string | translateActiveException () |
std::string | trim (std::string const &str) |
void | writeToDebugConsole (std::string const &text) |