Skip to content

[Tests] TypedThreadSafeFunctions unit test coverage #1073

Closed

Description

@JckXia
class methods
TypedThreadSafeFunction
Covered TypedThreadSafeFunction New(napi_env env, ResourceString res, size_t maxQueueSize, size_t initThreadCnt, ContextType* ctx = nullptr)
Covered TypedThreadSafeFunction New(napi_env env, const Object& res, ResourceString resName, size_t maxQueueSize, size_t initThread, ContextType * ctx = nullptr)
covered(typed_threadsafe_function_ctx.cc) TypedThreadSafeFunction New(napi_env env, ResourceString resName, size_t maxQSize, size_t initThreadCnt, ContextType * context, Finalizer finalizeCb, FinalizerDataType * data = nullptr)
Covered(see typed_threadsafe_function_sum.cc) TypedThreadSafeFunction New(napi_env env, const Object& res, ResourceString resName, size_t maxQSize, size_t initThreadCnt, ContextType * context, Finalizer finalizeCb, FinalizerDataType * data = nullptr)
Covered TypedThreadSafeFunction New(napi_env env, const Function& cb, ResourceString resName, size_t maxQSize, size_t initThreadCnt, ContextType * ctx= nullptr)
Covered(typed_threadsafe_function_ptr.cc) TypedThreadSafeFunction New(napi_env env, const Function& cb, const Object& res, ResourceString resName, size_t maxQSize, size_t initThreadCnt, ContextType * ctx= nullptr)
Covered(typed_threadsafe_function.cc) TypedThreadSafeFunction New(napi_env, const Function& cb, ResourceString resName, size_t maxQSize, size_t initalThreadCnt, ContextType* ctx, Finalizer finalizeCb, FinalizerDataType* data = nullptr)
Covered TypedThreadSafeFunction New (napi_env, CallbackType cb, const Object& res, ResourceString resName, size_t maxQSize, size_t initThreadCnt, ContextType* ctx, Finalizer finalizeCB, FinalizerDatType* data = nullptr)
Covered(see typed_threadsafe_function.cc) napi_status BlockingCall(DataType* data =nullptr) const
Covered(See typed_threadsafe_function.cc) napi_status NonBlockingCall(DataType* data =nullptr) const
Covered void Ref(napi_env env) const
Covered(see typed_threadsafe_function.cc) void Unref(napi_env env) const
Covered(See typed_threadsafe_function.cc) napi_status Acquire() const
Covered ( see typed_threadsafe_function.cc) napi_status Release()
Covered(see typed_threadsafe_function.cc) napi_status Abort()
Covered( see typed_threadsafe_function.cc) ContextType* GetContext() const

Activity

  1. github-actions commented on Dec 24, 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. hionnode commented on Jan 10, 2022

    @hionnode

    Hi, can I take this up ?

  3. NickNaso commented on Jan 10, 2022

    @NickNaso
    Member

    Hi, can I take this up ?

    Yes, you can.

  4. github-actions commented on Apr 11, 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. github-actions commented on Aug 2, 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.

  6. JckXia commented on Nov 17, 2022

    @JckXia
    MemberAuthor

    Coverage complete following #1201

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