Home
last modified time | relevance | path

Searched refs:GetStdResult (Results 1 - 8 of 8) sorted by relevance

/foundation/ability/ability_runtime/test/moduletest/ability_delegator_test/
H A Dshell_cmd_result_module_test.cpp54 * @tc.name: GetExitCode and GetStdResult
55 * @tc.desc: Verify the GetExitCode and GetStdResult.
63 EXPECT_EQ(shellCmd.GetStdResult(), SHELLCOMMANDDRESULT); in HWTEST_F()
82 * @tc.name: SetStdResult and GetStdResult
83 * @tc.desc: Verify the SetStdResult and GetStdResult.
91 EXPECT_EQ(shellCmd.GetStdResult(), CHANGESHELLCOMMANDDRESULT); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ability_delegator/
H A Dshell_cmd_result_test.cpp56 * @tc.name: GetExitCode and GetStdResult
57 * @tc.desc: Verify the GetExitCode and GetStdResult.
65 EXPECT_EQ(shellCmd.GetStdResult(), SHELLCOMMANDDRESULT); in HWTEST_F()
84 * @tc.name: SetStdResult and GetStdResult
85 * @tc.desc: Verify the SetStdResult and GetStdResult.
93 EXPECT_EQ(shellCmd.GetStdResult(), CHANGESHELLCOMMANDDRESULT); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/cj/ffi/
H A Dcj_ability_delegator.cpp57 std::string CJShellCmdResult::GetStdResult() in GetStdResult() function in OHOS::AbilityDelegatorCJ::CJShellCmdResult
59 return shellCmdResultr_->GetStdResult(); in GetStdResult()
131 const char* res = CreateCStringFromString(cjShellCmdResult->GetStdResult()); in FFIGetStdResult()
H A Dcj_ability_delegator.h48 std::string GetStdResult();
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/
H A Dshell_cmd_result.cpp45 std::string ShellCmdResult::GetStdResult() const in GetStdResult() function in OHOS::AppExecFwk::ShellCmdResult
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_delegator/
H A Dshell_cmd_result.h77 std::string GetStdResult() const;
/foundation/ability/ability_runtime/frameworks/js/napi/app/ability_delegator/
H A Djs_ability_delegator_utils.cpp129 napi_set_named_property(env, objValue, "stdResult", CreateJsValue(env, shellResult->GetStdResult())); in CreateJsShellCmdResult()
/foundation/ability/ability_runtime/test/unittest/cj_ability_delegator_test/
H A Dcj_ability_delegator_test.cpp174 * @tc.desc: CjAbilityDelegatorTest test for GetStdResult.
181 std::string stdResult = shellCmdResult.GetStdResult(); in HWTEST_F()

Completed in 4 milliseconds