Skip to content

[Tests] Testing coverage for Objects #936

Description

@JckXia
classmethods
See #923 (covered)Object New(size_t argc, const napi_value* args) const
Object (Covered under #923)Object()
See #923Object(napi_env env, napi_value value)
CoveredPropertyLValuestd::string operator [](const char* utf8name)
CoveredPropertyLValuestd::string operator [](const std::string& utf8name)
CoveredPropertyLValue<uint32_t> operator [](uint32_t index)
See #923 (covered)Value operator [](const char* utf8name) const
See #923 (covered)Value operator [](const std::string& utf8name) const
See #923 (covered)Value operator [](uint32_t index) const
Coveredbool Has(uint32_t index) const
See #194 (Covered)bool Has(napi_value key) const
See #194 (Covered)bool Has(Value key) const
See #194 (Covered)bool Has(const char* utf8name)
See #194 (Covered)bool Has(const std::string& utf8name)
CoveredValue Get(uint32_t index) const
See #183 (Covered)Value Get(napi_value key) const
See #183 (Covered)Value Get(Value key) const
See #183 (Covered)Value Get(const char* utf8name)
See #183 (Covered)Value Get(const std::string& utf8name)
Coveredbool Delete(uint32_t index)
See #183 (Covered)bool Delete(napi_value key)
See #183 (Covered)bool Delete(Value key)
See #183 (Covered)bool Delete(const char * utf8name)
See #183 (Covered)bool Delete(const std::string& utf8name)
See #1130 (Covered)template void Set(uint32_t index, const ValueType& value)
See #183 (Covered)template void Set(napi_value key, const ValueType& value)
See #183 (Covered)template void Set(Value key, const ValueType& value)
See #183 (Covered)template void Set(const char* utf8name, const ValueType& value)
See #183 (Covered)template void Set(const std::string& utf8name, const ValueType& value)
See #29 (covered)void DefineProperty(const std::vector& properties)
See #29 (covered)void DefineProperties(const std::initializer_list& properties)
See #29 (covered)void DefineProperties(const PropertyDescriptor& property)
Coveredbool InstanceOf(const Function& constructor) const
Object::PropertyLValue (Uncovered)operator Value() const
See #923 (covered)template PropertyLValue& operator =(ValueType value)
See #551 (covered)template<typename Finalizer, typename T, typename Hint> void AddFinalizer(Finalizer, finalizeCallback, T* data, Hint* finalizeHint)
See #551 (covered)template<typename Finalizer, typename T> void AddFinalizer(Finalizer finalizeCallback, T* data);
See #60 (covered)Napi::Array Napi::Object::GetPropertyNames() const

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions