VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
G::Test Class Reference

A static interface for enabling test features at run-time. More...

#include <gtest.h>

Static Public Member Functions

static bool enabled ()
 Returns true if test features are enabled.
 
static bool enabled (const char *name)
 Returns true if the specified test feature is enabled.
 

Detailed Description

A static interface for enabling test features at run-time.

Typically does nothing in a release build.

Eg:

for(..)
{
if( G::Test::enabled("run-loop-extra-slowly") )
sleep(1) ;
...
}

Definition at line 46 of file gtest.h.


The documentation for this class was generated from the following files: