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] add test coverage document for object reference class #988

Closed
JckXia opened this issue May 2, 2021 · 5 comments
Closed

[Tests] add test coverage document for object reference class #988

JckXia opened this issue May 2, 2021 · 5 comments

Comments

@JckXia
Copy link
Member

JckXia commented May 2, 2021

class methods
ObjectReference
ObjectReference()
Covered #212 ObjectReference(napi_env env, napi_ref ref)
ObjectReference(Reference&& other)
ObjectReference& operator =(Reference&& other)
ObjectReference(ObjectReference&& other)
ObjectReference& operator =(ObjectReference&& other)
bool Set(const char* utf8name, napi_value value);
Covered bool Set(const char* utf8name, Napi::Value value);
bool Set(const char* utf8name, const char* utf8value);
bool Set(const char* utf8name, bool boolValue);
bool Set(const char* utf8name, double numberValue);
bool Set(const std::string& utf8name, napi_value value);
Covered #212 bool Set(const std::string& utf8name, Napi::Value value);
bool Set(const std::string& utf8name, std::string& utf8value);
bool Set(const std::string& utf8name, bool boolValue);
bool Set(const std::string& utf8name, double numberValue);
Covered #212 bool Set(uint32_t index, const napi_value value);
Covered #212 bool Set(uint32_t index, const Napi::Value value);
bool Set(uint32_t index, const char* utf8value);
bool Set(uint32_t index, const std::string& utf8value);
bool Set(uint32_t index, bool boolValue);
bool Set(uint32_t index, double numberValue);
Napi::Value Get(const char* utf8name) const;
Covered #212 Napi::Value Get(const std::string& utf8name) const;
Covered #212 Napi::Value Get(uint32_t index) const;
Covered #212 ObjectReference Weak(Object value)
Covered #212 Object Reference Persistent(Object value)
@NickNaso NickNaso added the test label May 5, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2021

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.

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

github-actions bot commented May 5, 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.

@JckXia
Copy link
Member Author

JckXia commented Mar 3, 2023

Completed following landing of #1274

@JckXia JckXia closed this as completed Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants