Home
last modified time | relevance | path

Searched refs:stdResult (Results 1 - 11 of 11) sorted by relevance

/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/
H A Dshell_cmd_result.cpp20 ShellCmdResult::ShellCmdResult(const int32_t exitCode, const std::string &stdResult) in ShellCmdResult() argument
21 : exitCode_(exitCode), stdResult_(stdResult) in ShellCmdResult()
27 stdResult_ = result.stdResult; in ShellCmdResult()
40 void ShellCmdResult::SetStdResult(const std::string &stdResult) in SetStdResult() argument
42 stdResult_ = stdResult; in SetStdResult()
52 return "ShellCmdResult { exitCode = " + std::to_string(exitCode_) + ", stdResult = " + stdResult_ + "}"; in Dump()
/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/
H A Dshell_command_result_test.cpp61 shellCmd.stdResult = SHELL_COMMAND_RESULT; in HWTEST_F()
76 shellCmd.stdResult = SHELL_COMMAND_RESULT; in HWTEST_F()
81 EXPECT_EQ(shellCmd.stdResult, SHELL_COMMAND_RESULT); in HWTEST_F()
H A Dtest_observer_test.cpp96 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0); in HWTEST_F()
H A Dtest_observer_proxy_test.cpp148 EXPECT_EQ(testObserverProxy.ExecuteShellCommand(CMD.c_str(), 0).stdResult.size(), 0); in HWTEST_F()
/foundation/ability/ability_runtime/tools/test/moduletest/ability_delegator/
H A Dshell_command_result_module_test.cpp62 shellCmd.stdResult = SHELL_COMMAND_RESULT; in HWTEST_F()
77 shellCmd.stdResult = SHELL_COMMAND_RESULT; in HWTEST_F()
82 EXPECT_EQ(shellCmd.stdResult, SHELL_COMMAND_RESULT); in HWTEST_F()
H A Dtest_observer_module_test.cpp79 EXPECT_EQ(observer.ExecuteShellCommand(CMD.c_str(), TIMEOUT).stdResult.size(), 0); in HWTEST_F()
/foundation/ability/ability_runtime/tools/aa/src/
H A Dshell_command_result.cpp29 if (!parcel.WriteString(stdResult)) { in Marshalling()
30 TAG_LOGE(AAFwkTag::AA_TOOL, "write stdResult failed"); in Marshalling()
40 stdResult = parcel.ReadString(); in ReadFromParcel()
H A Dshell_command_executor.cpp59 realResult.stdResult = cmdResult_.stdResult; in WaitWorkDone()
109 cmdResult_.stdResult.append(commandResult); in DoWork()
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_delegator/
H A Dshell_cmd_result.h35 * @param stdResult Indicates the cmd standard result.
37 ShellCmdResult(const int32_t exitCode, const std::string &stdResult);
68 * @param stdResult Indicates the standard result.
70 void SetStdResult(const std::string &stdResult);
/foundation/ability/ability_runtime/tools/aa/include/
H A Dshell_command_result.h26 std::string stdResult; member
/foundation/ability/ability_runtime/test/unittest/cj_ability_delegator_test/
H A Dcj_ability_delegator_test.cpp181 std::string stdResult = shellCmdResult.GetStdResult(); in HWTEST_F() local
182 EXPECT_TRUE(stdResult.empty()); in HWTEST_F()

Completed in 3 milliseconds