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
FXGCUnitTest Class Reference

#include <fxgc_unittest.h>

+ Inheritance diagram for FXGCUnitTest:
+ Collaboration diagram for FXGCUnitTest:

Public Member Functions

 FXGCUnitTest ()
 
 ~FXGCUnitTest () override
 
void SetUp () override
 
void TearDown () override
 
cppgc::Heap * heap () const
 
void ForceGCAndPump ()
 
void Pump ()
 

Detailed Description

Definition at line 11 of file fxgc_unittest.h.

Constructor & Destructor Documentation

◆ FXGCUnitTest()

FXGCUnitTest::FXGCUnitTest ( )
default

◆ ~FXGCUnitTest()

FXGCUnitTest::~FXGCUnitTest ( )
overridedefault

Member Function Documentation

◆ ForceGCAndPump()

void FXGCUnitTest::ForceGCAndPump ( )

Definition at line 31 of file fxgc_unittest.cpp.

References Pump().

Referenced by TearDown().

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

◆ heap()

cppgc::Heap * FXGCUnitTest::heap ( ) const
inline

Definition at line 20 of file fxgc_unittest.h.

◆ Pump()

void FXGCUnitTest::Pump ( )

Definition at line 36 of file fxgc_unittest.cpp.

References V8TestEnvironment::GetInstance(), V8TestEnvironment::isolate(), and V8TestEnvironment::PumpPlatformMessageLoop().

Referenced by ForceGCAndPump().

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

◆ SetUp()

void FXGCUnitTest::SetUp ( )
override

Definition at line 16 of file fxgc_unittest.cpp.

References FXGC_Initialize(), V8TestEnvironment::GetInstance(), V8TestEnvironment::isolate(), and V8TestEnvironment::platform().

Referenced by CXFA_DocumentBuilderTest::SetUp(), and CXFANodeTest::SetUp().

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

◆ TearDown()

void FXGCUnitTest::TearDown ( )
override

Definition at line 24 of file fxgc_unittest.cpp.

References ForceGCAndPump(), and FXGC_Release().

Referenced by CXFA_DocumentBuilderTest::TearDown(), CXFANodeTest::TearDown(), GCedTreeNodeMixinUnitTest::TearDown(), GCedTreeNodeUnitTest::TearDown(), and HeapUnitTest::TearDown().

+ 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: