Home
last modified time | relevance | path

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

/base/update/updater/services/script/script_instruction/
Dscript_instructionhelper.cpp68 scriptManager_->AddInstruction("RegisterCmder", new ScriptRegisterCmd()); in RegisterInstructions()
69 scriptManager_->AddInstruction("LoadScript", new ScriptLoadScript()); in RegisterInstructions()
70 scriptManager_->AddInstruction("Stdout", new UScriptInstructionStdout()); in RegisterInstructions()
71 scriptManager_->AddInstruction("Abort", new UScriptInstructionAbort()); in RegisterInstructions()
72 scriptManager_->AddInstruction("Assert", new UScriptInstructionAssert()); in RegisterInstructions()
73 scriptManager_->AddInstruction("Sleep", new UScriptInstructionSleep()); in RegisterInstructions()
74 scriptManager_->AddInstruction("Concat", new UScriptInstructionConcat()); in RegisterInstructions()
75 scriptManager_->AddInstruction("IsSubString", new UScriptInstructionIsSubString()); in RegisterInstructions()
76 scriptManager_->AddInstruction("set_progress", new UScriptInstructionSetProcess()); in RegisterInstructions()
77 scriptManager_->AddInstruction("show_progress", new UScriptInstructionShowProcess()); in RegisterInstructions()
[all …]
Dscript_instructionhelper.h37 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instr);
/base/update/updater/services/script/script_manager/
Dscript_manager_impl.h43 int32_t AddInstruction(const std::string &instrName, const UScriptInstructionPtr instruction);
Dscript_managerImpl.cpp148 helper.AddInstruction(instrName, instr); in RegisterInstruction()
235 int32_t ScriptManagerImpl::AddInstruction(const std::string &instrName, const UScriptInstructionPtr… in AddInstruction() function in Uscript::ScriptManagerImpl
/base/update/updater/test/unittest/script/script_instruction/
Dscript_instructionhelper_unittest.cpp158 EXPECT_EQ(helper->AddInstruction(instruction, nullptr), USCRIPT_ERROR_REVERED); in TestAddInstruction()
162 EXPECT_EQ(helper->AddInstruction("instruction1", instr1), USCRIPT_SUCCESS); in TestAddInstruction()
165 EXPECT_EQ(helper->AddInstruction("instruction1", instr2), USCRIPT_SUCCESS); in TestAddInstruction()
/base/update/updater/test/unittest/test_data/diffpatch/
DPatchGztest_new.gz
DPatchGztest_old.gz1[==========] Running 25 tests from 7 test ...