node-addon-api icon indicating copy to clipboard operation
node-addon-api copied to clipboard

[Tests] add test coverage document for object reference class

Open JckXia opened this issue 4 years ago • 3 comments

class methods
ObjectReference
ObjectReference()
Covered #212 ObjectReference(napi_env env, napi_ref ref)
ObjectReference(Reference<Object>&& other)
ObjectReference& operator =(Reference<Object>&& other)
ObjectReference(ObjectReference&& other)
ObjectReference& operator =(ObjectReference&& other)
ObjectReference& operator =(ObjectReference&)
bool Set(const char* utf8name, napi_value value);
bool Set(const char* utf8name, Napi::Value value);
bool Set(const char* utf8name, const char* utf8value);
bool Set(const char* utf8name, bool boolValue);
bool Set(const char* utf8name, double numberValue);
Covered #212 bool Set(const std::string& utf8name, napi_value value);
Covered #212 bool Set(const std::string& utf8name, Napi::Value value);
bool Set(const std::string& utf8name, std::string& utf8value);
bool Set(const std::string& utf8name, bool boolValue);
bool Set(const std::string& utf8name, double numberValue);
Covered #212 bool Set(uint32_t index, const napi_value value);
Covered #212 bool Set(uint32_t index, const Napi::Value value);
bool Set(uint32_t index, const char* utf8value);
bool Set(uint32_t index, const std::string& utf8value);
bool Set(uint32_t index, bool boolValue);
bool Set(uint32_t index, double numberValue);
Napi::Value Get(const char* utf8name) const;
Covered #212 Napi::Value Get(const std::string& utf8name) const;
Covered #212 Napi::Value Get(uint32_t index) const;
Covered #212 ObjectReference Weak(Object value)
Covered #212 Object Reference Persistent(Object value)

JckXia avatar May 02 '21 18:05 JckXia

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Aug 04 '21 00:08 github-actions[bot]

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Jan 12 '22 00:01 github-actions[bot]

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar May 05 '22 00:05 github-actions[bot]

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

github-actions[bot] avatar Nov 12 '22 00:11 github-actions[bot]

Completed following landing of #1274

JckXia avatar Mar 03 '23 19:03 JckXia