v8  3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CcTest Class Reference

#include <cctest.h>

Public Types

typedef void( TestFunction )()
 

Public Member Functions

 CcTest (TestFunction *callback, const char *file, const char *name, const char *dependency, bool enabled)
 
void Run ()
 
CcTestprev ()
 
const char * file ()
 
const char * name ()
 
const char * dependency ()
 
bool enabled ()
 

Static Public Member Functions

static int test_count ()
 
static CcTestlast ()
 

Detailed Description

Definition at line 54 of file cctest.h.

Member Typedef Documentation

typedef void( TestFunction)()

Definition at line 56 of file cctest.h.

Constructor & Destructor Documentation

CcTest ( TestFunction callback,
const char *  file,
const char *  name,
const char *  dependency,
bool  enabled 
)

Definition at line 36 of file cctest.cc.

References enabled(), and v8::internal::StrDup().

Member Function Documentation

const char* dependency ( )
inline

Definition at line 65 of file cctest.h.

bool enabled ( )
inline

Definition at line 66 of file cctest.h.

Referenced by CcTest(), and main().

const char* file ( )
inline

Definition at line 63 of file cctest.h.

Referenced by main().

static CcTest* last ( )
inlinestatic

Definition at line 61 of file cctest.h.

Referenced by main().

const char* name ( )
inline

Definition at line 64 of file cctest.h.

Referenced by main().

CcTest* prev ( )
inline

Definition at line 62 of file cctest.h.

Referenced by main().

void Run ( )
inline

Definition at line 59 of file cctest.h.

Referenced by main().

static int test_count ( )
static

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