Lines Matching defs:sendableInstance

299     napi_value sendableInstance = nullptr;
300 ASSERT_CHECK_CALL(napi_new_instance(env, sendableClass, 0, nullptr, &sendableInstance));
302 ASSERT_CHECK_CALL(napi_instanceof(env, sendableInstance, sendableClass, &isInstanceOf));
307 ASSERT_CHECK_CALL(napi_get_prototype(env, sendableInstance, &prototype));
321 ASSERT_CHECK_CALL(napi_get_property(env, sendableInstance, instance_str, &value));
324 napi_set_property(env, sendableInstance, instance_str, instance_value);
325 ASSERT_CHECK_CALL(napi_get_property(env, sendableInstance, instance_str, &value));
330 ASSERT_CHECK_CALL(napi_get_property(env, sendableInstance, non_static_str, &value));
335 ASSERT_CHECK_CALL(napi_get_property(env, sendableInstance, non_static_str, &value));
353 napi_value sendableInstance = nullptr;
354 ASSERT_CHECK_CALL(napi_new_instance(env, sendableClass, 0, nullptr, &sendableInstance));
356 ASSERT_CHECK_CALL(napi_instanceof(env, sendableInstance, sendableClass, &isInstanceOf));
372 napi_set_property(env, sendableInstance, non_static_str, non_static_value);
376 ASSERT_CHECK_CALL(napi_get_property(env, sendableInstance, non_static_str, &value));
383 napi_set_property(env, sendableInstance, invalid_str, invalid_value);
387 ASSERT_CHECK_CALL(napi_get_property(env, sendableInstance, invalid_str, &value));
406 napi_value sendableInstance = nullptr;
407 ASSERT_CHECK_CALL(napi_new_instance(env, sendableClass, 0, nullptr, &sendableInstance));
410 ASSERT_CHECK_CALL(napi_instanceof(env, sendableInstance, sendableClass, &isInstanceOf));
411 ASSERT_CHECK_CALL(napi_instanceof(env, sendableInstance, parentClass, &isInstanceOfParent));
422 ASSERT_CHECK_CALL(napi_get_property(env, sendableInstance, parent_instance_str, &value));
425 napi_set_property(env, sendableInstance, parent_instance_str, parent_instance_value);
426 ASSERT_CHECK_CALL(napi_get_property(env, sendableInstance, parent_instance_str, &value));
436 ASSERT_CHECK_CALL(napi_get_property(env, sendableInstance, parent_non_static_str, &value));