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
test-decls.cc File Reference
#include <stdlib.h>
#include "v8.h"
#include "heap.h"
#include "cctest.h"
Include dependency graph for test-decls.cc:

Go to the source code of this file.

Data Structures

class  DeclarationContext
 
class  PresentPropertyContext
 
class  AbsentPropertyContext
 
class  AppearingPropertyContext
 
class  ReappearingPropertyContext
 
class  ExistsInPrototypeContext
 
class  AbsentInPrototypeContext
 

Enumerations

enum  Expectations { EXPECT_RESULT, EXPECT_EXCEPTION }
 

Functions

 TEST (Unknown)
 
 TEST (Present)
 
 TEST (Absent)
 
 TEST (Appearing)
 
 TEST (Reappearing)
 
 TEST (ExistsInPrototype)
 
 TEST (AbsentInPrototype)
 

Enumeration Type Documentation

Enumerator
EXPECT_RESULT 
EXPECT_EXCEPTION 

Definition at line 38 of file test-decls.cc.

Function Documentation

TEST ( Unknown  )

Definition at line 204 of file test-decls.cc.

References DeclarationContext::Check(), EXPECT_RESULT, and v8::Undefined().

TEST ( Present  )
TEST ( Absent  )

Definition at line 313 of file test-decls.cc.

References DeclarationContext::Check(), EXPECT_RESULT, and v8::Undefined().

TEST ( Appearing  )

Definition at line 403 of file test-decls.cc.

References DeclarationContext::Check(), EXPECT_RESULT, and v8::Undefined().

TEST ( Reappearing  )

Definition at line 495 of file test-decls.cc.

References DeclarationContext::Check(), EXPECT_RESULT, and v8::Undefined().

TEST ( ExistsInPrototype  )

Definition at line 523 of file test-decls.cc.

References DeclarationContext::Check(), EXPECT_RESULT, and v8::Undefined().

TEST ( AbsentInPrototype  )

Definition at line 586 of file test-decls.cc.

References DeclarationContext::Check(), EXPECT_RESULT, and v8::Undefined().