chromium/third_party/blink/renderer/bindings/core/v8/script_wrappable_v8_gc_integration_test.cc

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_gc_controller.h"
#include "third_party/blink/renderer/core/testing/death_aware_script_wrappable.h"
#include "third_party/blink/renderer/core/testing/gc_object_liveness_observer.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "v8/include/v8.h"

namespace blink {

namespace {

ScriptWrappableV8GCIntegrationTest;

}  // namespace

// =============================================================================
// Tests that ScriptWrappable and its wrapper survive or are reclaimed in
// certain garbage collection scenarios.
// =============================================================================

TEST_F(ScriptWrappableV8GCIntegrationTest, V8ReportsLiveObjectsDuringFullGc) {}

TEST_F(ScriptWrappableV8GCIntegrationTest,
       OilpanDoesntCollectObjectsReachableFromV8) {}

TEST_F(ScriptWrappableV8GCIntegrationTest,
       OilpanCollectObjectsNotReachableFromV8) {}

}  // namespace blink