Lines Matching defs:object

600  * @tc.name      : The napi_create_string_UTf16 returned object parameter is invalid
1167 * @tc.name : Test passing in an object that is not Napi_bigint
1500 * @tc.name : Pass in an object that is not BigInt
2321 * @tc.name : The parameter is valid, the parameter is input to the buffer object, and the test is confirmed.
2358 * @tc.name : The parameter is invalid, the parameter arraybuffer input non-buffer object, test and confirm.
2390 * @tc.name : The parameter is invalid, the parameter arraybuffer input buffer object, test to confirm.
2425 * @tc.name : The parameter is invalid, the parameter arraybuffer input date object, test to confirm.
2515 * @tc.name : The parameter is valid, the parameter arraybuffer input buffer object, test to confirm.
2551 * @tc.name : The parameter is valid, the parameter arraybuffer input non-buffer object, test to confirm.
2577 * @tc.name : The parameter is invalid, the parameter arraybuffer input buffer object, test to confirm.
2672 * and the parameter value is entered in the napi_date object,
2710 * the value of the parameter is not a napi_date object,
2750 * the parameter value is entered in the napi_date object,
2788 * and the parameter value is entered as the date object that failed to be created,
3029 * and the parameter value is entered in the napi_date object, and the test is performed to confirm.
3060 * @tc.name : Valid environment variable env, parameter value input non-napi_date object.
3093 * @tc.name : Invalid environment variable env, parameter value input napi_date object.
3181 * and the parameter js_object js_object is entered in the js object
3184 * 2. Create object.
3185 * 3. Mark object
3212 * the parameter js_object js_object enters the js object
3215 * 2. Create object.
3216 * 3. Mark object
3217 * 3. Mark object
3250 * the parameter js_object js_object is entered as a js object
3253 * 2. Create object.
3254 * 3. Mark object
3281 * the parameter js_object js_object object input is empty, test to confirm.
3283 * 2. Mark object
3303 * the parameter napi_type_tag* object input is empty, test confirmation.
3305 * 2. Create object.
3306 * 3. Mark object
3332 * the js_object object enters the js object
3336 * 2. Create object.
3337 * 3. Mark object
3371 * the js_object object enters the js object
3375 * 2. Create object.
3404 * the js_object object enters a js object that is not associated with type_tag,
3407 * 2. Create object.
3408 * 3. Mark object
3441 * the js_object object enters the js object associated with type_tag,
3444 * 2. Create object.
3445 * 3. Mark object
3446 * 4. Create object.
3487 * the input of the napi_type_tag* object is empty, test confirmation.
3489 * 2. Create object.
3490 * 3. Mark object
3523 * @tc.name : Valid environment env, parameter type_tag object input has been associated with type_tag js object,
3526 * 2. Create object.
3527 * 3. Mark object
3595 * @tc.name : The JS object parameter of napi_add_finalizer that binds local data is invalid,
3698 * the local data bound to the JS object is valid, and callback functions can be added.
3731 * and the local data bound to the JS object is invalid. Callback functions can be added.
3827 * the reference of the returned JS object is valid, and the callback function can be added.
3930 * the parameter object enters the js object with the defined properties,
3979 * the parameter object enters the js object with defined properties,
4022 * the parameter object enters the js object with the defined properties,
4065 * the parameter object is empty,
4094 * the parameter object enters the js object with the defined properties,
4143 * the parameter object enters the js object with the defined properties,
4192 * the parameter object enters the js object with the defined properties,
4240 * @tc.name : Invalid parameter, invalid parameter object input (non-object object, for example: string),
4274 * A node::Buffer object can be created
4299 * A node::Buffer object can not be created
4324 * A node::Buffer object can not be created
4350 * A node::Buffer object can not be created
4375 * A node::Buffer object can not be created
4398 * A node::Buffer object can not be created
4421 * A node::Buffer object can not be created
5267 * The object is freeze by napi_object_freeze function.
5270 * 3.The function of napi_object_freeze is used to freeze a object
5279 napi_value object = nullptr;
5289 napi_create_object(env, &object);
5294 status = napi_set_named_property(env, object, "int32result", int32result);
5296 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5301 napi_status creatresult = napi_object_freeze(env, object);
5303 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5305 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5317 * The object is freeze by napi_object_freeze function.
5320 * 3.The function of napi_object_freeze is used to freeze a object
5330 napi_value object = nullptr;
5344 napi_create_object(env, &object);
5349 status = napi_set_named_property(env, object, "int32result", int32result);
5351 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5356 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5358 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5363 napi_status creatresult = napi_object_freeze(env, object);
5367 status = napi_delete_property(env, object, namestr, &deleteresult);
5369 status = napi_get_named_property(env, object, "freezeresult", &afterfreezeresult);
5382 * The object is freeze by napi_object_freeze function.
5385 * 3.The function of napi_object_freeze is used to freeze a object
5395 napi_value object = nullptr;
5405 napi_create_object(env, &object);
5410 status = napi_set_named_property(env, object, "int32result", int32result);
5412 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5417 napi_status creatresult = napi_object_freeze(env, object);
5419 status = napi_set_named_property(env, object, "int32result", freezeresult);
5421 status = napi_get_named_property(env, object, "int32result", &newfreezeresult);
5433 * @tc.name : The parameter of the object to freeze is invalid,
5434 * The object can not be freezed by napi_object_freeze function.
5437 * 3.The function of napi_object_freeze is used to freeze a object
5447 napi_value object = nullptr;
5457 napi_create_object(env, &object);
5462 status = napi_set_named_property(env, object, "int32result", int32result);
5464 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5471 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5473 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5486 * The object can not be freezed by napi_object_freeze function.
5489 * 3.The function of napi_object_freeze is used to freeze a object
5499 napi_value object = nullptr;
5509 napi_create_object(env, &object);
5514 status = napi_set_named_property(env, object, "int32result", int32result);
5516 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5521 napi_status creatresult = napi_object_freeze(nullptr, object);
5523 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5525 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5538 * The object can not be freezed by napi_object_freeze function.
5541 * 3.The function of napi_object_freeze is used to freeze a object
5551 napi_value object = nullptr;
5565 napi_create_object(env, &object);
5570 status = napi_set_named_property(env, object, "int32result", int32result);
5572 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5577 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5579 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5584 napi_status creatresult = napi_object_freeze(nullptr, object);
5588 status = napi_delete_property(env, object, namestr, &deleteresult);
5591 status = napi_get_named_property(env, object, "freezeresult", &afterfreezeresult);
5603 * The object can not be freezed by napi_object_freeze function.
5606 * 3.The function of napi_object_freeze is used to freeze a object
5616 napi_value object = nullptr;
5626 napi_create_object(env, &object);
5631 status = napi_set_named_property(env, object, "int32result", int32result);
5633 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5638 napi_status creatresult = napi_object_freeze(nullptr, object);
5640 status = napi_set_named_property(env, object, "int32result", freezeresult);
5642 status = napi_get_named_property(env, object, "int32result", &newfreezeresult);
5655 * The object can not be freezed by napi_object_freeze function.
5680 * The object is sealed by napi_object_seal function.
5683 * 3.The function of napi_object_seal is used to seal a object
5693 napi_value object = nullptr;
5703 napi_create_object(env, &object);
5708 status = napi_set_named_property(env, object, "int32result", int32result);
5710 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5715 napi_status creatresult = napi_object_seal(env, object);
5717 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5719 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5731 * The object is sealed by napi_object_seal function.
5734 * 3.The function of napi_object_seal is used to seal a object
5744 napi_value object = nullptr;
5758 napi_create_object(env, &object);
5763 status = napi_set_named_property(env, object, "int32result", int32result);
5765 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5770 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5772 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5777 napi_status creatresult = napi_object_seal(env, object);
5781 status = napi_delete_property(env, object, namestr, &deleteresult);
5783 status = napi_get_named_property(env, object, "freezeresult", &afterfreezeresult);
5796 * The object is sealed by napi_object_seal function.
5799 * 3.The function of napi_object_seal is used to seal a object
5809 napi_value object = nullptr;
5819 napi_create_object(env, &object);
5824 status = napi_set_named_property(env, object, "int32result", int32result);
5826 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5831 napi_status creatresult = napi_object_seal(env, object);
5833 status = napi_set_named_property(env, object, "int32result", freezeresult);
5835 status = napi_get_named_property(env, object, "int32result", &newfreezeresult);
5847 * @tc.name : The parameter of the object to seal is invalid,
5848 * The object can not be sealed by napi_object_seal function.
5851 * 3.The function of napi_object_seal is used to seal a object
5861 napi_value object = nullptr;
5871 napi_create_object(env, &object);
5876 status = napi_set_named_property(env, object, "int32result", int32result);
5878 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5885 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5887 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5900 * The object can not be sealed by napi_object_seal function.
5903 * 3.The function of napi_object_seal is used to seal a object
5913 napi_value object = nullptr;
5923 napi_create_object(env, &object);
5928 status = napi_set_named_property(env, object, "int32result", int32result);
5930 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5935 napi_status creatresult = napi_object_seal(nullptr, object);
5937 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5939 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5952 * The object can not be sealed by napi_object_seal function.
5955 * 3.The function of napi_object_seal is used to seal a object
5965 napi_value object = nullptr;
5979 napi_create_object(env, &object);
5984 status = napi_set_named_property(env, object, "int32result", int32result);
5986 status = napi_get_named_property(env, object, "int32result", &newuint32result);
5991 status = napi_set_named_property(env, object, "freezeresult", freezeresult);
5993 status = napi_get_named_property(env, object, "freezeresult", &newfreezeresult);
5998 napi_status creatresult = napi_object_seal(nullptr, object);
6002 status = napi_delete_property(env, object, namestr, &deleteresult);
6005 status = napi_get_named_property(env, object, "freezeresult", &afterfreezeresult);
6017 * The object can not be sealed by napi_object_seal function.
6020 * 3.The function of napi_object_seal is used to seal a object
6030 napi_value object = nullptr;
6040 napi_create_object(env, &object);
6045 status = napi_set_named_property(env, object, "int32result", int32result);
6047 status = napi_get_named_property(env, object, "int32result", &newuint32result);
6052 napi_status creatresult = napi_object_seal(nullptr, object);
6054 status = napi_set_named_property(env, object, "int32result", freezeresult);
6056 status = napi_get_named_property(env, object, "int32result", &newfreezeresult);
6069 * The object is sealed by napi_object_seal function.
8459 * @tc.name : The parameter is valid, and the parameter async_context enters the initialized object.
8461 * 2.parameter async_context input initialized object.
8516 * 2.parameter async_context input initialized object.
8573 * @tc.name : The parameter is valid, the resource_object object enters a valid arrayBuffer object,
8577 * 2.resource_object object input valid arrayBuffer object.
8614 * @tc.name : The parameter is invalid, the resource_object object is input a valid arrayBuffer object,
8618 * 2.the resource_object object is input a valid arrayBuffer object.
8653 * @tc.name : The parameter is invalid, the resource_object object enters a valid arrayBuffer object,
8657 * 2.resource_object object input valid arrayBuffer object.
8695 * @tc.name : The parameter is invalid, the resource_object object input is empty,
8699 * 2.the resource_object object input is empty.
8736 * @tc.name : The parameter is invalid, the resource_object object is input a valid arrayBuffer object,
8740 * 2.resource_object object input valid arrayBuffer object.
8777 * @tc.name : The parameter is valid, and the scope object enters the newly created associated scope.
8779 * 2.scope object enters the newly created associated scope.
8817 * @tc.name : The parameter is invalid, the scope object input is empty.
8819 * 2.scope object input is empty.
8837 * @tc.name : The parameter is invalid, env is empty, and the scope object enters the newly created associated
8840 * 2.scope object enters the newly created associated scope.
8879 * @tc.name : The parameter is invalid, env is empty, scope object input is empty.
8881 * 2.scope object input is empty