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
ApiTestFuzzer Class Reference

#include <cctest.h>

Inheritance diagram for ApiTestFuzzer:
Collaboration diagram for ApiTestFuzzer:

Public Types

enum  PartOfTest {
  FIRST_PART, SECOND_PART, THIRD_PART, FOURTH_PART,
  LAST_PART = FOURTH_PART
}
 
- Public Types inherited from Thread
enum  LocalStorageKey { LOCAL_STORAGE_KEY_MIN_VALUE = kMinInt, LOCAL_STORAGE_KEY_MAX_VALUE = kMaxInt }
 

Public Member Functions

void CallTest ()
 
 ApiTestFuzzer (int num)
 
 ~ApiTestFuzzer ()
 
virtual void Run ()
 
- Public Member Functions inherited from Thread
 Thread (const Options &options)
 
virtual ~Thread ()
 
void Start ()
 
void Join ()
 
const char * name () const
 
PlatformDatadata ()
 

Static Public Member Functions

static void SetUp (PartOfTest part)
 
static void RunAllTests ()
 
static void TearDown ()
 
static void Fuzz ()
 
- Static Public Member Functions inherited from Thread
static LocalStorageKey CreateThreadLocalKey ()
 
static void DeleteThreadLocalKey (LocalStorageKey key)
 
static void * GetThreadLocal (LocalStorageKey key)
 
static int GetThreadLocalInt (LocalStorageKey key)
 
static void SetThreadLocal (LocalStorageKey key, void *value)
 
static void SetThreadLocalInt (LocalStorageKey key, int value)
 
static bool HasThreadLocal (LocalStorageKey key)
 
static void * GetExistingThreadLocal (LocalStorageKey key)
 
static void YieldCPU ()
 

Additional Inherited Members

- Static Public Attributes inherited from Thread
static const int kMaxThreadNameLength = 16
 

Detailed Description

Definition at line 87 of file cctest.h.

Member Enumeration Documentation

enum PartOfTest
Enumerator
FIRST_PART 
SECOND_PART 
THIRD_PART 
FOURTH_PART 
LAST_PART 

Definition at line 101 of file cctest.h.

Constructor & Destructor Documentation

ApiTestFuzzer ( int  num)
inlineexplicit

Definition at line 90 of file cctest.h.

Referenced by SetUp().

~ApiTestFuzzer ( )
inline

Definition at line 96 of file cctest.h.

Member Function Documentation

void CallTest ( )

Definition at line 10551 of file test-api.cc.

Referenced by Run().

void Run ( )
virtual

Implements Thread.

Definition at line 10440 of file test-api.cc.

References CallTest(), Semaphore::Signal(), and Semaphore::Wait().

void RunAllTests ( )
static

Definition at line 10485 of file test-api.cc.

References Semaphore::Wait().

Referenced by TEST().

void TearDown ( )
static

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