Searched refs:shellCmd (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/tools/test/moduletest/ability_delegator/ |
H A D | shell_command_result_module_test.cpp | 60 ShellCommandResult shellCmd; variable 61 shellCmd.exitCode = EXITCODE; 62 shellCmd.stdResult = SHELL_COMMAND_RESULT; 64 EXPECT_TRUE(shellCmd.Marshalling(parcel)); 65 EXPECT_NE(shellCmd.Unmarshalling(parcel), nullptr); 75 ShellCommandResult shellCmd; variable 76 shellCmd.exitCode = EXITCODE; 77 shellCmd.stdResult = SHELL_COMMAND_RESULT; 79 EXPECT_TRUE(shellCmd.Marshalling(parcel)); 80 shellCmd.ReadFromParcel(parcel); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/ |
H A D | shell_command_result_test.cpp | 59 ShellCommandResult shellCmd; variable 60 shellCmd.exitCode = EXITCODE; 61 shellCmd.stdResult = SHELL_COMMAND_RESULT; 63 EXPECT_TRUE(shellCmd.Marshalling(parcel)); 64 EXPECT_NE(shellCmd.Unmarshalling(parcel), nullptr); 74 ShellCommandResult shellCmd; variable 75 shellCmd.exitCode = EXITCODE; 76 shellCmd.stdResult = SHELL_COMMAND_RESULT; 78 EXPECT_TRUE(shellCmd.Marshalling(parcel)); 79 shellCmd.ReadFromParcel(parcel); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ability_delegator/ |
H A D | shell_cmd_result_test.cpp | 62 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 64 EXPECT_EQ(shellCmd.GetExitCode(), EXITCODE); 65 EXPECT_EQ(shellCmd.GetStdResult(), SHELLCOMMANDDRESULT); 76 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 77 shellCmd.SetExitCode(CHANGEEXITCODE); 79 EXPECT_EQ(shellCmd.GetExitCode(), CHANGEEXITCODE); 90 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 91 shellCmd.SetStdResult(CHANGESHELLCOMMANDDRESULT); 106 shellCmd.SetExitCode(EXITCODE); 107 shellCmd.SetStdResult(SHELLCOMMANDDRESULT); [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ability_delegator_test/ |
H A D | shell_cmd_result_module_test.cpp | 60 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 62 EXPECT_EQ(shellCmd.GetExitCode(), EXITCODE); 63 EXPECT_EQ(shellCmd.GetStdResult(), SHELLCOMMANDDRESULT); 74 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 75 shellCmd.SetExitCode(CHANGEEXITCODE); 77 EXPECT_EQ(shellCmd.GetExitCode(), CHANGEEXITCODE); 88 ShellCmdResult shellCmd(EXITCODE, SHELLCOMMANDDRESULT); 89 shellCmd.SetStdResult(CHANGESHELLCOMMANDDRESULT); 91 EXPECT_EQ(shellCmd.GetStdResult(), CHANGESHELLCOMMANDDRESULT);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/cj/ffi/ |
H A D | cj_ability_delegator.cpp | 37 auto shellCmd = delegator_->ExecuteShellCommand(cmd, timeoutSec); in ExecuteShellCommand() local 38 std::shared_ptr<AppExecFwk::ShellCmdResult> ret = std::move(shellCmd); in ExecuteShellCommand()
|