Package org.robolectric.shadows
Class ShadowCall
java.lang.Object
org.robolectric.shadows.ShadowCall
Robolectric test for
Call
.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
"Forgets" that sendRttRequest() was called.getId()
boolean
Determines whether respondToRttRequest() was called.boolean
Determines whether sendRttRequest() was called.protected void
respondToRttRequest
(int id, boolean accept) protected void
-
Constructor Details
-
ShadowCall
public ShadowCall()
-
-
Method Details
-
sendRttRequest
-
hasSentRttRequest
public boolean hasSentRttRequest()Determines whether sendRttRequest() was called.- Returns:
- true if sendRttRequest() was called, false otherwise.
-
clearHasSentRttRequest
public void clearHasSentRttRequest()"Forgets" that sendRttRequest() was called. -
respondToRttRequest
-
hasRespondedToRttRequest
public boolean hasRespondedToRttRequest()Determines whether respondToRttRequest() was called.- Returns:
- True if respondToRttRequest() was called, false otherwise.
-
getId
-