HomeSort by relevance Sort by last modified time
    Searched refs:IntentForResult (Results 1 - 3 of 3) sorted by null

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowActivity.java 457 * an {@link ShadowActivity.IntentForResult} object
459 public IntentForResult getNextStartedActivityForResult() {
470 * an {@link ShadowActivity.IntentForResult} object
472 public IntentForResult peekNextStartedActivityForResult() {
545 public static class IntentForResult {
550 public IntentForResult(Intent intent, int requestCode) {
556 public IntentForResult(Intent intent, int requestCode, Bundle options) {
ShadowInstrumentation.java 55 import org.robolectric.shadows.ShadowActivity.IntentForResult;
64 private List<IntentForResult> startedActivitiesForResults = new ArrayList<>();
130 startedActivitiesForResults.add(new IntentForResult(intent, requestCode, options));
423 IntentForResult getNextStartedActivityForResult() {
431 IntentForResult peekNextStartedActivityForResult() {
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowActivityTest.java 264 ShadowActivity.IntentForResult intentForResult = shadowActivity.getNextStartedActivityForResult();
265 assertThat(intentForResult).isNotNull();
267 assertThat(intentForResult.intent).isNotNull();
268 assertThat(intentForResult.intent).isSameAs(intent);
269 assertThat(intentForResult.requestCode).isEqualTo(142);
280 ShadowActivity.IntentForResult intentForResult = shadowActivity.peekNextStartedActivityForResult();
281 assertThat(intentForResult).isNotNull();
282 assertThat(shadowActivity.peekNextStartedActivityForResult()).isSameAs(intentForResult);
    [all...]

Completed in 87 milliseconds