Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tests] AsyncProgressQueueWorker unit test coverage #1043

Closed
JckXia opened this issue Aug 19, 2021 · 4 comments · Fixed by #1316
Closed

[Tests] AsyncProgressQueueWorker unit test coverage #1043

JckXia opened this issue Aug 19, 2021 · 4 comments · Fixed by #1316

Comments

@JckXia
Copy link
Member

JckXia commented Aug 19, 2021

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

@github-actions
Copy link
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.

@github-actions github-actions bot added the stale label Jan 11, 2022
@NickNaso NickNaso removed the stale label Jan 11, 2022
@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2022

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.

@github-actions github-actions bot added the stale label May 4, 2022
@NickNaso NickNaso removed the stale label May 4, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Aug 3, 2022

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.

@github-actions
Copy link
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants