/test/testfwk/arkxtest/jsunit/src/module/mock/ |
H A D | MockKit.js | 81 let og = this.recordMockedMethod.get(method.propName); 83 obj[method.propName] = og; 84 this.recordMockedMethod.set(method.propName, undefined); 106 key = 'anonymous-mock-' + f.propName; 126 retrunKet = 'anonymous-mock-' + f.propName; 160 isFunctionFromPrototype(f, container, propName) { 162 return container.constructor.prototype[propName] === f; 216 f.propName = name; 217 f.originalFromPrototype = this.isFunctionFromPrototype(f.original, originalObject, f.propName);
|
/test/testfwk/arkxtest/hamock/src/main/mock/ |
H A D | MockKit.js | 69 let og = this.recordMockedMethod.get(method.propName); 71 obj[method.propName] = og; 72 this.recordMockedMethod.set(method.propName, undefined); 92 key = 'anonymous-mock-' + f.propName; 111 retrunKet = 'anonymous-mock-' + f.propName; 139 isFunctionFromPrototype(f, container, propName) { 141 return container.constructor.prototype[propName] === f; 191 f.propName = name; 192 f.originalFromPrototype = this.isFunctionFromPrototype(f.original, originalObject, f.propName);
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/jsvmtest/ |
H A D | jsvm_utils.h | 90 JSVM_Value Get(const char *propName) in Get() argument 93 OH_JSVM_GetNamedProperty(jsvm_env, this->value_, propName, &result); in Get() 97 void Set(const char *propName, JSVM_Value propValue) in Set() argument 99 OH_JSVM_SetNamedProperty(jsvm_env, this->value_, propName, propValue); in Set()
|
/test/xts/acts/multimedia/photoAccess/photoAccess/entry/src/main/cpp/napi/ |
H A D | mediaAssetManager.cpp | 171 napi_status GetDeliveryMode(napi_env env, const napi_value arg, const std::string &propName, in GetDeliveryMode() argument 177 napi_has_named_property(env, arg, propName.c_str(), &present); in GetDeliveryMode() 178 napi_get_named_property(env, arg, propName.c_str(), &property); in GetDeliveryMode()
|
/test/testfwk/developer_test/aw/cxx/hwext/ |
H A D | perf.cpp | 95 string propName(reinterpret_cast<const char*>(name)); in ParseProperties() 97 properties[propName] = std::move(propValue); in ParseProperties()
|
/test/testfwk/arkxtest/uitest/core/ |
H A D | frontend_api_handler.cpp | 469 const auto propName = string(def->name_); in CheckCallArgType() local 470 if (!value.contains(propName)) { in CheckCallArgType() 471 CHECK_CALL_ARG(!(def->required_), ERR_INVALID_INPUT, "Missing property " + propName, error); in CheckCallArgType() 474 copy.erase(propName); in CheckCallArgType() 476 CheckCallArgType(def->type_, value[propName], !def->required_, error); in CheckCallArgType() 478 error.message_ = "Illegal value of property '" + propName + "': " + error.message_; in CheckCallArgType()
|
/test/xts/acts/arkui/ace_napi_test_es/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 1500 napi_value propName = nullptr;
in hasProperty() local 1501 NAPI_CALL(env, napi_get_element(env, propNames, i, &propName));
in hasProperty() 1502 NAPI_ASSERT(env, propName != nullptr, "napi_get_element success");
in hasProperty() 1505 napi_has_property(env, result, propName, &hasProp);
in hasProperty() 1509 napi_get_property(env, result, propName, &propValue);
in hasProperty()
|
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 2704 JSVM_Value propName = nullptr; in testProperty() local 2705 OH_JSVM_GetElement(env, propNames, i, &propName); in testProperty() 2707 OH_JSVM_HasProperty(env, result, propName, &hasProp); in testProperty() 2709 OH_JSVM_GetProperty(env, result, propName, &propValue); in testProperty() 9761 JSVM_Value propName = nullptr; in ConvertObjectObjStr() local 9762 OH_JSVM_GetElement(jsVmEnv, propNames, i, &propName); in ConvertObjectObjStr() 9764 ConvertString(jsVmEnv, propName, napiEnv, &propNameNapi); in ConvertObjectObjStr() 9766 OH_JSVM_GetProperty(jsVmEnv, jSVmValue, propName, &propValue); in ConvertObjectObjStr()
|
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 1593 napi_value propName = nullptr; in hasProperty() local 1594 NAPI_CALL(env, napi_get_element(env, propNames, i, &propName)); in hasProperty() 1595 NAPI_ASSERT(env, propName != nullptr, "napi_get_element success"); in hasProperty() 1598 napi_has_property(env, result, propName, &hasProp); in hasProperty() 1602 napi_get_property(env, result, propName, &propValue); in hasProperty()
|