Skip to content

[Tests] Test document coverage for ObjectWrap #993

Closed

Description

@JckXia
class methods
ObjectWrap
Covered ObjectWrap(const CallbackInfo& callbackInfo)
static T* Unwrap(Object wrapper)
Covered #125 Function DefineClass(Napi::Env env, const char * utf8name, const std::initializer_list& properties)
Covered #125 Function DefineClass(Napi::Env env, const char * utf8name, const std::vector& properties)
PropertyDescriptor StaticMethod(const char* utf8name, StaticVoidMethodCallback method, napi_property_attributes)
Covered #280 PropertyDescriptor StaticMethod(const char* utf8name, StaticMethodCallback method )
PropertyDescriptor StaticMethod(Symbol name, StaticVoidMethodCallback method )
Covered #280 PropertyDescriptor StaticMethod(Symbol name, StaticMethodCallback method)
Covered #604 PropertyDescriptor StaticMethod(Symbol name) template
Covered #604 PropertyDescriptor StaticMethod(Symbol name) template
Covered #604 PropertyDescriptor StaticMethod(const char * utf8name) template
Covered #604 PropertyDescriptor StaticMethod(const char * utf8name) template
Covered #604 PropertyDescritptor StaticAccessor (const char * utf8name) template<StaticGetterCallback getter, StaticSetterCallback setter>
Covered #604 PropertyDescriptor StaticAccessor(Symbol name) tempolate<StaticGetterCallback getter, StaticSetterCallback setter>
Covered #280 PropertyDescriptor StaticAccessor(const char* utf8name, StaticGetterCallback getter, StaticSetterCallback setter)
Covered #280 PropertyDescriptor StaticAcessor(Symbol name, StaticGetterCallback getter, StaticSetterCallback setter)
Covered #280 PropertyDescriptor StaticValue(const char *utf8name, Napi::Value value)
Covered #280 PropertyDescriptor StaticValue(Symbol name, Napi::Value value)

Activity

  1. github-actions commented on Aug 9, 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 4, 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 Feb 17, 2023

    @JckXia
    MemberAuthor

    Closed following #1269

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