V8 Project
v8::internal::TestWithIsolate Class Reference

#include <test-utils.h>

+ Inheritance diagram for v8::internal::TestWithIsolate:
+ Collaboration diagram for v8::internal::TestWithIsolate:

Public Member Functions

 TestWithIsolate ()
 
virtual ~TestWithIsolate ()
 
Factory * factory () const
 
Isolateisolate () const
 
- Public Member Functions inherited from v8::TestWithIsolate
 TestWithIsolate ()
 
Isolateisolate () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (TestWithIsolate)
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::TestWithIsolate
static void SetUpTestCase ()
 
static void TearDownTestCase ()
 

Detailed Description

Definition at line 55 of file test-utils.h.

Constructor & Destructor Documentation

◆ TestWithIsolate()

v8::internal::TestWithIsolate::TestWithIsolate ( )
inline

Definition at line 57 of file test-utils.h.

57 {}

◆ ~TestWithIsolate()

v8::internal::TestWithIsolate::~TestWithIsolate ( )
virtual

Reimplemented from v8::TestWithIsolate.

Definition at line 49 of file test-utils.cc.

49 {}

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

v8::internal::TestWithIsolate::DISALLOW_COPY_AND_ASSIGN ( TestWithIsolate  )
private

◆ factory()

Factory * v8::internal::TestWithIsolate::factory ( ) const

Definition at line 52 of file test-utils.cc.

52 { return isolate()->factory(); }
Factory * factory()
Definition: isolate.h:982
Isolate * isolate() const
Definition: test-utils.h:61

References v8::internal::Isolate::factory(), and isolate().

Referenced by v8::internal::compiler::GraphTest::FalseConstant(), v8::internal::compiler::GraphTest::IsFalseConstant(), v8::internal::compiler::GraphTest::IsTrueConstant(), v8::internal::compiler::GraphTest::TrueConstant(), and v8::internal::compiler::JSBuiltinReducerTest::UndefinedConstant().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isolate()

Isolate* v8::internal::TestWithIsolate::isolate ( ) const
inline

Definition at line 61 of file test-utils.h.

61  {
62  return reinterpret_cast<Isolate*>(::v8::TestWithIsolate::isolate());
63  }
Isolate * isolate() const
Definition: test-utils.h:20

References v8::TestWithIsolate::isolate().

Referenced by factory().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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