Searched refs:AddInputParam (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/base/update/updater/test/unittest/updater_binary/ |
H A D | update_image_patch_unittest.cpp | 50 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 D | basic_instruction_unittest.cpp | 117 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 D | script_updateprocesser_unittest.cpp | 80 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 D | script_registercmd_unittest.cpp | 59 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 D | script_loadscript_unittest.cpp | 58 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 D | script_interpreter.cpp | 207 funcContext->AddInputParam(result); in ExecuteNativeFunc() 211 funcContext->AddInputParam(out); in ExecuteNativeFunc()
|
H A D | script_context.h | 214 int32_t AddInputParam(UScriptValuePtr value);
|
H A D | script_context.cpp | 111 int32_t UScriptInstructionContext::AddInputParam(UScriptValuePtr value) in AddInputParam() function in Uscript::UScriptInstructionContext
|