G::Test Class Reference

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

#include <gtest.h>

List of all members.

Static Public Member Functions

static bool enabled (const std::string &name)
 Returns true if the specified test feature should be enabled.


Detailed Description

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

Typically does nothing in a release build.

Definition at line 37 of file gtest.h.


Member Function Documentation

bool G::Test::enabled ( const std::string &  name  )  [static]

Returns true if the specified test feature should be enabled.

Definition at line 28 of file gtest.cpp.

References G_WARNING, and result.

Referenced by GPop::StoreLock::lock(), and GNet::SimpleClient::synchronousDnsDefault().


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

Generated on Fri Apr 18 15:56:13 2008 for E-MailRelay by  doxygen 1.5.5