| class |
methods |
| CallbackInfo |
|
| Covered indirectly via call to Function::New |
CallbackInfo(napi_env env, napi_callback_info info) |
| Covered indreictly via call to create array buffers, etc |
Napi::Env Env() const |
| Covered |
Value NewTarget() const |
| Covered (see function.cc) |
bool IsConstructCall() const |
| Covered, function used by many tests |
size_t Length() const |
| Covered, function used by various tests |
const Value operator[] (size_t index) const |
| Covered, (see addon_data.cc) |
Value This() const |
| Covered, see function.cc |
void * Data() const |
|
void SetData(void * Data) |
Just wondering if it's worth writing seperate unit tests for this class?
Just wondering if it's worth writing seperate unit tests for this class?