Home
last modified time | relevance | path

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

/base/update/updateservice/test/unittest/update_client/
Dclient_stub.cpp274 … *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()
282 *result = CreateNapiValue(napi_number, &testEnv->pakcageInfo.result[0].packageType); in napi_get_named_property()
284 *result = CreateNapiValue(napi_bigint, &testEnv->pakcageInfo.result[0].size); in napi_get_named_property()
359 testEnv->pakcageInfo.result[0].versionName = testValue->strValue; in napi_set_named_property()
361 testEnv->pakcageInfo.result[0].versionCode = testValue->strValue; in napi_set_named_property()
363 testEnv->pakcageInfo.result[0].verifyInfo = testValue->strValue; in napi_set_named_property()
366 testEnv->pakcageInfo.result[0].descriptPackageId = testValue->strValue; in napi_set_named_property()
[all …]
Dclient_stub.h53 OHOS::update_engine::VersionInfo pakcageInfo; member
Dclient_unittest.cpp144 …CLIENT_LOGI("g_testEnv.pakcageInfo.versionCode %s \n", g_testEnv.pakcageInfo.result[0].versionCode… in TestCheckNewVersion()