Home
last modified time | relevance | path

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

/ohos5.0/base/update/updater/test/unittest/updater_binary/
H A Dupdate_image_patch_unittest.cpp50 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
51 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
52 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
53 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
54 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestImgPatch02()
67 context.AddInputParam(std::make_shared<StringValue>("")); in TestImgPatch03()
68 context.AddInputParam(std::make_shared<StringValue>("srcSize")); in TestImgPatch03()
69 context.AddInputParam(std::make_shared<StringValue>("srcHash")); in TestImgPatch03()
85 context.AddInputParam(std::make_shared<StringValue>("srcSize")); in TestImgPatch04()
86 context.AddInputParam(std::make_shared<StringValue>("srcHash")); in TestImgPatch04()
[all …]
/ohos5.0/base/update/updater/test/unittest/script/script_instruction/
H A Dbasic_instruction_unittest.cpp117 AddInputParam(context, "this is a test", 1); in TestBasicInstructionIsSubString02()
138 AddInputParam(context, args...); in TestBasicInstructionStdout()
168 AddInputParam(context, args...); in TestBasicInstructionConcat()
183 AddInputParam(context1, 1); in TestBasicInstructionConcat()
187 AddInputParam(context2, "test"); in TestBasicInstructionConcat()
206 AddInputParam(context, 1.0); in TestBasicInstructionAbort()
212 AddInputParam(context, 1); in TestBasicInstructionAbort()
218 AddInputParam(context, 0); in TestBasicInstructionAbort()
233 AddInputParam(context, 1); in TestBasicInstructionAssert()
239 AddInputParam(context, 0); in TestBasicInstructionAssert()
[all …]
H A Dscript_updateprocesser_unittest.cpp80 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserSetProcess()
94 context.AddInputParam(std::make_shared<FloatValue>(progress)); in TestUpdateProcesserSetProcess()
114 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserShowProcess()
122 context.AddInputParam(std::make_shared<FloatValue>(1)); in TestUpdateProcesserShowProcess()
123 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserShowProcess()
133 context.AddInputParam(std::make_shared<FloatValue>(start)); in TestUpdateProcesserShowProcess()
134 context.AddInputParam(std::make_shared<FloatValue>(end)); in TestUpdateProcesserShowProcess()
154 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserPrint()
163 context.AddInputParam(std::make_shared<StringValue>(content)); in TestUpdateProcesserPrint()
182 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserSetProportion()
[all …]
H A Dscript_registercmd_unittest.cpp59 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestRegisterCmd01()
72 context.AddInputParam(std::make_shared<StringValue>(TEST_VALID_LIB_PATH)); in TestRegisterCmd02()
73 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestRegisterCmd02()
86 context.AddInputParam(std::make_shared<StringValue>("uInstruction1")); in TestRegisterCmd03()
87 context.AddInputParam(std::make_shared<StringValue>(TEST_VALID_LIB_PATH)); in TestRegisterCmd03()
H A Dscript_loadscript_unittest.cpp58 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestLoadScript01()
72 context.AddInputParam(std::make_shared<StringValue>("script1")); in TestLoadScript02()
73 context.AddInputParam(std::make_shared<StringValue>("invalid param")); in TestLoadScript02()
87 context.AddInputParam(std::make_shared<StringValue>("script")); in TestLoadScript03()
88 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestLoadScript03()
/ohos5.0/base/update/updater/services/script/script_interpreter/
H A Dscript_interpreter.cpp207 funcContext->AddInputParam(result); in ExecuteNativeFunc()
211 funcContext->AddInputParam(out); in ExecuteNativeFunc()
H A Dscript_context.h214 int32_t AddInputParam(UScriptValuePtr value);
H A Dscript_context.cpp111 int32_t UScriptInstructionContext::AddInputParam(UScriptValuePtr value) in AddInputParam() function in Uscript::UScriptInstructionContext