Searched refs:StringValue (Results 1 – 9 of 9) sorted by relevance
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()71 context.AddInputParam(std::make_shared<StringValue>("destHash")); in TestImgPatch03()72 context.AddInputParam(std::make_shared<StringValue>("/data/updater/patchfile")); in TestImgPatch03()84 context.AddInputParam(std::make_shared<StringValue>("/vendortest")); in TestImgPatch04()85 context.AddInputParam(std::make_shared<StringValue>("srcSize")); in TestImgPatch04()86 context.AddInputParam(std::make_shared<StringValue>("srcHash")); in TestImgPatch04()[all …]
72 context.AddInputParam(std::make_shared<StringValue>(TEST_VALID_LIB_PATH)); 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()
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()
63 return ctx.AddInputParam(std::make_shared<StringValue>(v)); in AddInputParamImpl()104 context.AddInputParam(std::make_shared<StringValue>("this is a test")); in TestBasicInstructionIsSubString02()
161 context.AddInputParam(std::make_shared<StringValue>(content)); in TestUpdateProcesserPrint()
53 UScriptValuePtr valuePtr = std::make_shared<StringValue>(value); in PushParam()79 return GetParam<std::string, StringValue>(index, value); in GetParam()427 UScriptValuePtr StringValue::ComputerReturn(int32_t action, UScriptValuePtr rightValue, in ComputerReturn()459 UScriptValuePtr StringValue::Computer(int32_t action, UScriptValuePtr value) in Computer()477 return make_shared<StringValue>(str + to_string(integerValue->GetValue())); in Computer()485 return make_shared<StringValue>(str + to_string(floatValue->GetValue())); in Computer()487 StringValue* stringValue = (StringValue*)(rightValue.get()); in Computer()493 return make_shared<StringValue>(str + stringValue->GetValue()); in Computer()503 int32_t StringValue::ComputerLogic(UScriptValuePtr rightValue) const in ComputerLogic()505 StringValue* value = (StringValue*)(rightValue.get()); in ComputerLogic()[all …]
114 class StringValue : public UScriptValue {116 explicit StringValue(std::string value) : UScriptValue(UScriptValue::VALUE_TYPE_STRING), in StringValue() function118 ~StringValue() override {} in ~StringValue()
69 return std::make_shared<StringValue>(this->value_); in Execute()
72 std::unique_ptr<StringValue> sv = std::make_unique<StringValue>("2222222222222"); in TestScriptInterpreterScriptValue()164 UScriptValuePtr value = std::make_shared<StringValue>("100"); in TestStringValueComputer()174 UScriptValuePtr rightValue3 = std::make_shared<StringValue>("666666"); in TestStringValueComputer()