Home
last modified time | relevance | path

Searched refs:testObserver (Results 1 - 3 of 3) sorted by relevance

/foundation/ability/ability_runtime/test/fuzztest/toolstestobserver_fuzzer/
H A Dtoolstestobserver_fuzzer.cpp50 std::shared_ptr<TestObserver> testObserver = std::make_shared<TestObserver>(); in DoSomethingInterestingWithMyAPI() local
57 testObserver-> TestStatus(stringParam, resultCode); in DoSomethingInterestingWithMyAPI()
58 testObserver-> ExecuteShellCommand(cmd, timeoutSec); in DoSomethingInterestingWithMyAPI()
59 testObserver->TestFinished(stringParam, resultCode); in DoSomethingInterestingWithMyAPI()
60 testObserver-> WaitForFinish(timeoutMs); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/tools/test/unittest/aa/
H A Daa_command_test_test.cpp204 sptr<ITestObserver> testObserver = iface_cast<ITestObserver>(observer); in HWTEST_F()
205 if (!testObserver) { in HWTEST_F()
208 testObserver->TestFinished("success", 0); in HWTEST_F()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/
H A Dability_delegator.cpp334 auto testObserver = iface_cast<ITestObserver>(observer_); in ExecuteShellCommand() local
335 if (!testObserver) { in ExecuteShellCommand()
336 TAG_LOGW(AAFwkTag::DELEGATOR, "invalid testObserver"); in ExecuteShellCommand()
340 auto result = testObserver->ExecuteShellCommand(cmd, timeoutSec); in ExecuteShellCommand()
348 auto testObserver = iface_cast<ITestObserver>(observer_); in Print() local
349 if (!testObserver) { in Print()
350 TAG_LOGW(AAFwkTag::DELEGATOR, "invalid testObserver"); in Print()
361 testObserver->TestStatus(realMsg, 0); in Print()

Completed in 3 milliseconds