Home
last modified time | relevance | path

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

/base/update/updater/test/unittest/updater_binary/
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()
55 context.AddInputParam(std::make_shared<StringValue>("/data/updater/patchfile")); 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()
70 context.AddInputParam(std::make_shared<StringValue>("destSize")); in TestImgPatch03()
[all …]
/base/update/updater/test/unittest/script/script_instruction/
Dbasic_instruction_unittest.cpp57 static void AddInputParam(UScriptInstructionContext &ctx, Args && ... args) in AddInputParam() function in __anone8075e020111::BasicInstructionUnittest
63 return ctx.AddInputParam(std::make_shared<StringValue>(v)); in AddInputParamImpl()
68 return ctx.AddInputParam(std::make_shared<FloatValue>(v)); in AddInputParamImpl()
72 return ctx.AddInputParam(std::make_shared<IntegerValue>(v)); in AddInputParamImpl()
79 AddInputParam(context, "this is a test", "this is a test for is sub string"); in TestBasicInstructionIsSubString01()
90 AddInputParam(context, "this is a test for is sub string", "this is a test"); in TestBasicInstructionIsSubString01()
104 context.AddInputParam(std::make_shared<StringValue>("this is a test")); in TestBasicInstructionIsSubString02()
113 AddInputParam(context, "this is a test", 1); in TestBasicInstructionIsSubString02()
134 AddInputParam(context, args...); in TestBasicInstructionStdout()
164 AddInputParam(context, args...); in TestBasicInstructionConcat()
[all …]
Dscript_updateprocesser_unittest.cpp78 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserSetProcess()
92 context.AddInputParam(std::make_shared<FloatValue>(progress)); in TestUpdateProcesserSetProcess()
112 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserShowProcess()
120 context.AddInputParam(std::make_shared<FloatValue>(1)); in TestUpdateProcesserShowProcess()
121 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserShowProcess()
131 context.AddInputParam(std::make_shared<FloatValue>(start)); in TestUpdateProcesserShowProcess()
132 context.AddInputParam(std::make_shared<FloatValue>(end)); in TestUpdateProcesserShowProcess()
152 context.AddInputParam(std::make_shared<IntegerValue>(1)); in TestUpdateProcesserPrint()
161 context.AddInputParam(std::make_shared<StringValue>(content)); in TestUpdateProcesserPrint()
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()
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()
/base/update/updater/services/script/script_interpreter/
Dscript_interpreter.cpp203 funcContext->AddInputParam(result); in ExecuteNativeFunc()
207 funcContext->AddInputParam(out); in ExecuteNativeFunc()
Dscript_context.h214 int32_t AddInputParam(UScriptValuePtr value);
Dscript_context.cpp111 int32_t UScriptInstructionContext::AddInputParam(UScriptValuePtr value) in AddInputParam() function in Uscript::UScriptInstructionContext