Skip to content

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

Closed

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)

Activity

  1. github-actions commented on Aug 4, 2021

    @github-actions
    Contributor

    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.

  2. github-actions commented on Jan 12, 2022

    @github-actions
    Contributor

    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.

  3. github-actions commented on May 5, 2022

    @github-actions
    Contributor

    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.

  4. github-actions commented on Nov 12, 2022

    @github-actions
    Contributor

    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.

  5. JckXia commented on Mar 3, 2023

    @JckXia
    MemberAuthor

    Completed following landing of #1274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions