Skip to content

[Tests] AsyncProgressQueueWorker unit test coverage #1043

Closed

Description

@JckXia
class methods
AsyncProgressQueueWorker
AsyncProgressQueueWorker(const Function& callback);
AsyncProgressQueueWorker(const Function& callback, const char* resource_name);
Covered AsyncProgressQueueWorker(const Function& callback,const char* resource_name, const Object& resource)
AsyncProgressQueueWorker(const Object& receiver, const Function& cb)
AsyncProgressQueueWorker(const Object& receiver,const Function& cb, const char* resource_name)
AsyncProgressQueueWorker(const Object& receiver,const Function& cb, const char* resource_name, const Object& resource)
AsyncProgressQueueWorker(Napi::Env env)
AsyncProgressQueueWorker(Napi::Env env, const char* resource_name)
AsyncProgressQueueWorker(Napi::Env env, const char* resource_name, const Object& resource)
Covered void Execute(const ExecutionProgress& progress)
Covered void OnProgress(const T* data, size_t count)
Covered( This function seems to be a proxy to invoke either user-defined OnOk,OnError or Destroy function) void OnWorkComplete(Napi::Env env, napi_status status) override
Covered (This function seems to be a proxy to user defined OnProgress function) void OnWorkProgress(std::pair<T*, size_t>*) override

See asyncprogressworker.cc and asyncprogressworker.js

Activity

  1. github-actions commented on Jan 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.

  2. 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.

  3. github-actions commented on Aug 3, 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 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.

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