#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "src/objects/managed-inl.h"
#include "src/objects/objects-inl.h"
#include "test/unittests/heap/heap-utils.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal {
using ManagedTest = TestWithIsolate;
class DeleteCounter { … };
TEST_F(ManagedTest, GCCausesDestruction) { … }
TEST_F(ManagedTest, DisposeCausesDestruction1) { … }
TEST_F(ManagedTest, DisposeCausesDestruction2) { … }
TEST_F(ManagedTest, DisposeWithAnotherSharedPtr) { … }
TEST_F(ManagedTest, DisposeAcrossIsolates) { … }
TEST_F(ManagedTest, CollectAcrossIsolates) { … }
}
}