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
fxgc_unittest.h
Go to the documentation of this file.
1// Copyright 2020 The PDFium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef TESTING_FXGC_UNITTEST_H_
6#define TESTING_FXGC_UNITTEST_H_
7
8#include "fxjs/gc/heap.h"
9#include "testing/gtest/include/gtest/gtest.h"
10
11class FXGCUnitTest : public ::testing::Test {
12 public:
15
16 // testing::Test:
17 void SetUp() override;
18 void TearDown() override;
19
20 cppgc::Heap* heap() const { return heap_.get(); }
21 void ForceGCAndPump();
22 void Pump();
23
24 private:
25 FXGCScopedHeap heap_;
26};
27
28#endif // TESTING_FXGC_UNITTEST_H_
cppgc::Heap * heap() const
void SetUp() override
void ForceGCAndPump()
void TearDown() override
~FXGCUnitTest() override
GCedTreeNodeMixinUnitTest()=default
void AddClutterToBack(ObservableGCedTreeNodeMixinForTest *parent)
~GCedTreeNodeMixinUnitTest() override=default
ObservableGCedTreeNodeMixinForTest * root() const
ObservableGCedTreeNodeMixinForTest * CreateNode()
void AddClutterToFront(ObservableGCedTreeNodeMixinForTest *parent)
TEST_F(GCedTreeNodeMixinUnitTest, OneRefence)
#define CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
Definition heap.h:32
Definition heap.h:12