[Test] Unit test coverage for Env class
| 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<Value> RunScript(const char *utf8script) |
| Covered(See run_script.cc) | MaybeOrValue<Value> RunScript(const std::string& utf8script) |
| Covered(See run_script.cc) | MaybeOrValue<Value> RunScript(String script) |
| Covered(See env_cleanup.cc) | CleanupHook<Hook> 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) |
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.
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.
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.
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.
Completed following #1254