Lines Matching refs:DummyBaseObject
19 class DummyBaseObject : public BaseObject { class
21 DummyBaseObject(Environment* env, Local<Object> obj) : BaseObject(env, obj) {} in DummyBaseObject() function in DummyBaseObject
29 static BaseObjectPtr<DummyBaseObject> NewDetached(Environment* env) { in NewDetached()
31 return MakeDetachedBaseObject<DummyBaseObject>(env, obj); in NewDetached()
34 static BaseObjectPtr<DummyBaseObject> New(Environment* env) { in New()
36 return MakeBaseObject<DummyBaseObject>(env, obj); in New()
40 SET_MEMORY_INFO_NAME(DummyBaseObject)
41 SET_SELF_SIZE(DummyBaseObject)
52 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::NewDetached(env); in TEST_F()
64 BaseObjectWeakPtr<DummyBaseObject> weak_ptr; in TEST_F()
68 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::NewDetached(env); in TEST_F()
86 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::New(env); in TEST_F()
96 BaseObjectWeakPtr<DummyBaseObject> weak_ptr; in TEST_F()
100 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::New(env); in TEST_F()
128 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::NewDetached(env); in TEST_F()
130 BaseObjectWeakPtr<DummyBaseObject> weak_ptr { ptr }; in TEST_F()
133 BaseObjectPtr<DummyBaseObject> ptr2 = std::move(ptr); in TEST_F()
137 BaseObjectWeakPtr<DummyBaseObject> weak_ptr2 = std::move(weak_ptr); in TEST_F()
171 new ObjectWithPtr(env, DummyBaseObject::MakeJSObject(env)); in TEST_F()
172 obj->ptr1 = DummyBaseObject::NewDetached(env); in TEST_F()
173 obj->ptr2 = DummyBaseObject::New(env); in TEST_F()