Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
V8TestEnvironment Class Reference

#include <v8_test_environment.h>

+ Inheritance diagram for V8TestEnvironment:
+ Collaboration diagram for V8TestEnvironment:

Public Member Functions

 V8TestEnvironment (const char *exe_path)
 
 ~V8TestEnvironment () override
 
void SetUp () override
 
void TearDown () override
 
v8::Platform * platform () const
 
v8::Isolate * isolate () const
 

Static Public Member Functions

static V8TestEnvironmentGetInstance ()
 
static void PumpPlatformMessageLoop (v8::Isolate *pIsolate)
 

Detailed Description

Definition at line 26 of file v8_test_environment.h.

Constructor & Destructor Documentation

◆ V8TestEnvironment()

V8TestEnvironment::V8TestEnvironment ( const char * exe_path)
explicit

Definition at line 24 of file v8_test_environment.cpp.

References V8TestEnvironment().

Referenced by V8TestEnvironment().

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

◆ ~V8TestEnvironment()

V8TestEnvironment::~V8TestEnvironment ( )
override

Definition at line 31 of file v8_test_environment.cpp.

Member Function Documentation

◆ GetInstance()

V8TestEnvironment * V8TestEnvironment::GetInstance ( )
static

Definition at line 43 of file v8_test_environment.cpp.

Referenced by JSEmbedderTest::isolate(), FXGCUnitTest::Pump(), PumpPlatformMessageLoop(), and FXGCUnitTest::SetUp().

+ Here is the caller graph for this function:

◆ isolate()

v8::Isolate * V8TestEnvironment::isolate ( ) const
inline

Definition at line 41 of file v8_test_environment.h.

Referenced by JSEmbedderTest::isolate(), FXGCUnitTest::Pump(), and FXGCUnitTest::SetUp().

+ Here is the caller graph for this function:

◆ platform()

v8::Platform * V8TestEnvironment::platform ( ) const
inline

Definition at line 40 of file v8_test_environment.h.

Referenced by PumpPlatformMessageLoop(), and FXGCUnitTest::SetUp().

+ Here is the caller graph for this function:

◆ PumpPlatformMessageLoop()

void V8TestEnvironment::PumpPlatformMessageLoop ( v8::Isolate * pIsolate)
static

Definition at line 48 of file v8_test_environment.cpp.

References GetInstance(), and platform().

Referenced by FXGCUnitTest::Pump().

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

◆ SetUp()

void V8TestEnvironment::SetUp ( )
override

Definition at line 54 of file v8_test_environment.cpp.

◆ TearDown()

void V8TestEnvironment::TearDown ( )
override

Definition at line 73 of file v8_test_environment.cpp.

References ShutdownV8ForPDFium().

+ Here is the call graph for this function:

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