Skip to content

[Tests] add test coverage document for object reference class #988

@JckXia

Description

@JckXia
class methods
ObjectReference
ObjectReference()
Covered #212 ObjectReference(napi_env env, napi_ref ref)
ObjectReference(Reference&& other)
ObjectReference& operator =(Reference&& other)
ObjectReference(ObjectReference&& other)
ObjectReference& operator =(ObjectReference&& other)
bool Set(const char* utf8name, napi_value value);
Covered 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);
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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions