-
-
Notifications
You must be signed in to change notification settings - Fork 496
[Test] Unit test coverage for Env class #1050
Copy link
Copy link
Closed
Description
JckXia
opened on Aug 22, 2021
Issue body actions
| class | methods |
|---|---|
| Env | |
| Env(napi_env env) | |
| Covered (See globalObject tests) | Object Global() const |
| Value Undefined() const | |
| Value Null() const | |
| Covered(See error.cc) | bool IsExceptionPending() const |
| Covered(See error.cc) | Error GetAndClearPendingException |
| Covered(See run_script.cc) | MaybeOrValue RunScript(const char *utf8script) |
| Covered(See run_script.cc) | MaybeOrValue RunScript(const std::string& utf8script) |
| Covered(See run_script.cc) | MaybeOrValue RunScript(String script) |
| Covered(See env_cleanup.cc) | CleanupHook AddCleanupHook(Hook hook) |
| Covered(See env_cleanup.cc) | CleanupHook<Hook,Arg> AddCleanupHook(Hook hook, Arg* arg); |
| Covered(See addon_data.cc) | T* GetInstanceData() |
| Covered(See addon_data.cc) | void SetInstanceData(T* data) |
| Covered(See addon_data.cc) | void SetInstanceData(DataType* data, HintType* hint) |
Reactions are currently unavailable