v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-accessors.cc File Reference
#include <stdlib.h>
#include "v8.h"
#include "api.h"
#include "cctest.h"
#include "frames-inl.h"
#include "string-stream.h"
Include dependency graph for test-accessors.cc:

Go to the source code of this file.

Functions

 THREADED_TEST (PropertyHandler)
 
 THREADED_TEST (GlobalVariableAccess)
 
 THREADED_TEST (AccessorIC)
 
 THREADED_TEST (AccessorProhibitsOverwriting)
 
 THREADED_TEST (HandleScopePop)
 
 THREADED_TEST (DirectCall)
 
 THREADED_TEST (EmptyResult)
 
 THREADED_TEST (NoReuseRegress)
 
 THREADED_TEST (Regress1054726)
 
 THREADED_TEST (Gc)
 
 THREADED_TEST (StackIteration)
 
 THREADED_TEST (HandleScopeSegment)
 
void JSONStringifyEnumerator (const v8::PropertyCallbackInfo< v8::Array > &info)
 
void JSONStringifyGetter (Local< String > name, const v8::PropertyCallbackInfo< v8::Value > &info)
 
 THREADED_TEST (JSONStringifyNamedInterceptorObject)
 
 THREADED_TEST (AccessorPropertyCrossContext)
 
 THREADED_TEST (GlobalObjectAccessor)
 

Variables

int foo
 
int bar
 
int baz
 

Function Documentation

void JSONStringifyEnumerator ( const v8::PropertyCallbackInfo< v8::Array > &  info)
void JSONStringifyGetter ( Local< String >  name,
const v8::PropertyCallbackInfo< v8::Value > &  info 
)

Definition at line 564 of file test-accessors.cc.

References PropertyCallbackInfo< T >::GetReturnValue().

Referenced by THREADED_TEST().

THREADED_TEST ( PropertyHandler  )
THREADED_TEST ( GlobalVariableAccess  )
THREADED_TEST ( AccessorProhibitsOverwriting  )
THREADED_TEST ( Regress1054726  )
THREADED_TEST ( HandleScopeSegment  )
THREADED_TEST ( AccessorPropertyCrossContext  )
THREADED_TEST ( GlobalObjectAccessor  )

Definition at line 612 of file test-accessors.cc.

References CHECK, Context::GetIsolate(), and Utils::OpenHandle().

Variable Documentation

int bar

Definition at line 118 of file test-accessors.cc.

Referenced by TEST(), and THREADED_TEST().

int baz

Definition at line 118 of file test-accessors.cc.

Referenced by TEST().