v8  3.14.5(node0.10.28)
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
 
class  ExistsInHiddenPrototypeContext
 
class  SimpleContext
 

Enumerations

enum  Expectations { EXPECT_RESULT, EXPECT_EXCEPTION, EXPECT_ERROR }
 

Functions

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

Enumeration Type Documentation

Enumerator
EXPECT_RESULT 
EXPECT_EXCEPTION 
EXPECT_ERROR 

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

Function Documentation

TEST ( Unknown  )

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

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

TEST ( Present  )
TEST ( Absent  )

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

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

TEST ( Appearing  )

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

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

TEST ( Reappearing  )

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

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

TEST ( ExistsInPrototype  )

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

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

TEST ( AbsentInPrototype  )

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

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

TEST ( ExistsInHiddenPrototype  )
TEST ( MultiScriptConflicts  )

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

References SimpleContext::Check(), EXPECT_ERROR, EXPECT_EXCEPTION, and EXPECT_RESULT.