#include "third_party/blink/renderer/platform/bindings/trace_wrapper_v8_reference.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_testing.h"
#include "third_party/blink/renderer/platform/heap/collection_support/heap_hash_map.h"
#include "third_party/blink/renderer/platform/heap/collection_support/heap_vector.h"
#include "third_party/blink/renderer/platform/heap/persistent.h"
namespace blink {
namespace {
TraceWrapperV8ReferenceTest;
class TraceWrapperV8ReferenceHolder final
: public GarbageCollected<TraceWrapperV8ReferenceHolder> { … };
void CreateObject(v8::Isolate* isolate,
Persistent<TraceWrapperV8ReferenceHolder>* holder,
v8::Persistent<v8::Value>* observer) { … }
}
TEST_F(TraceWrapperV8ReferenceTest, DefaultCtorIntializesAsEmpty) { … }
TEST_F(TraceWrapperV8ReferenceTest, CtorWithValue) { … }
TEST_F(TraceWrapperV8ReferenceTest, CopyOverEmpty) { … }
TEST_F(TraceWrapperV8ReferenceTest, CopyOverNonEmpty) { … }
TEST_F(TraceWrapperV8ReferenceTest, MoveOverEmpty) { … }
TEST_F(TraceWrapperV8ReferenceTest, MoveOverNonEmpty) { … }
TEST_F(TraceWrapperV8ReferenceTest, HeapVector) { … }
TEST_F(TraceWrapperV8ReferenceTest, Ephemeron) { … }
}