node-addon-api icon indicating copy to clipboard operation
node-addon-api copied to clipboard

[Tests] CallbackInfo unit test coverage

Open JckXia opened this issue 3 years ago • 3 comments

class methods
CallbackInfo
CallbackInfo(napi_env env, napi_callback_info info)
Used by most test methods Env() const
Value NewTarget() const
Covered(function.cc) bool IsConstructCall() const
Covered (arraybuffer.cc, objectwrap.cc,error.cc,etc) size_t Length() const
Used by most test methods (i.e property_descriptor.cc) const Value operator[](size_t index) const
Covered(objectwrap.cc) Value This() const
Covered(function.cc) void * Data() const
void SetData(void* Data)

JckXia avatar Aug 20 '21 14:08 JckXia

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[bot] avatar Dec 26 '21 00:12 github-actions[bot]

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[bot] avatar Apr 20 '22 00:04 github-actions[bot]

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[bot] avatar Aug 02 '22 00:08 github-actions[bot]

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[bot] avatar Nov 11 '22 00:11 github-actions[bot]

Closing. Duplicate with https://github.com/nodejs/node-addon-api/issues/1048

JckXia avatar Dec 20 '22 21:12 JckXia