Home
last modified time | relevance | path

Searched refs:testEnv (Results 1 – 1 of 1) sorted by relevance

/base/update/updateservice/test/unittest/update_client/
Dclient_stub.cpp254 TestNApiEnv* testEnv = reinterpret_cast<TestNApiEnv*>(env); in napi_get_named_property() local
256 if (testEnv == nullptr || testValue == nullptr) { in napi_get_named_property()
264 *result = CreateNapiValue(napi_string, testEnv->clientContext.upgradeDevId.c_str()); in napi_get_named_property()
266 *result = CreateNapiValue(napi_string, testEnv->clientContext.controlDevId.c_str()); in napi_get_named_property()
268 *result = CreateNapiValue(napi_string, testEnv->clientContext.upgradeApp.c_str()); in napi_get_named_property()
270 *result = CreateNapiValue(napi_number, &testEnv->clientContext.type); in napi_get_named_property()
274 … *result = CreateNapiValue(napi_string, testEnv->pakcageInfo.result[0].versionName.c_str()); in napi_get_named_property()
276 … *result = CreateNapiValue(napi_string, testEnv->pakcageInfo.result[0].versionCode.c_str()); in napi_get_named_property()
278 … *result = CreateNapiValue(napi_string, testEnv->pakcageInfo.result[0].verifyInfo.c_str()); in napi_get_named_property()
280 … *result = CreateNapiValue(napi_string, testEnv->pakcageInfo.result[0].descriptPackageId.c_str()); in napi_get_named_property()
[all …]