Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

OngoingStubbing

public final class OngoingStubbing
extends Object

java.lang.Object
   ↳ android.support.test.espresso.intent.OngoingStubbing


Supports method chaining after @Intents#intending method call.

Summary

Public methods

void respondWith(Instrumentation.ActivityResult result)

Sets a response for the intent being stubbed.

void respondWithFunction(ActivityResultFunction result)

Sets a response callable for the intent being stubbed.

Inherited methods

From class java.lang.Object

Public methods

respondWith

void respondWith (Instrumentation.ActivityResult result)

Sets a response for the intent being stubbed.

Parameters
result Instrumentation.ActivityResult

respondWithFunction

void respondWithFunction (ActivityResultFunction result)

Sets a response callable for the intent being stubbed.

Parameters
result ActivityResultFunction