Searched refs:myActivity (Results 1 – 3 of 3) sorted by relevance
88 MyActivity myActivity = controller.create().get(); in shouldSetIntent() local89 assertThat(myActivity.getIntent()).isNotNull(); in shouldSetIntent()90 assertThat(myActivity.getIntent().getComponent()).isEqualTo(componentName); in shouldSetIntent()95 …MyActivity myActivity = Robolectric.buildActivity(MyActivity.class, new Intent(Intent.ACTION_VIEW)… in shouldSetIntentComponentWithCustomIntentWithoutComponentSet() local96 assertThat(myActivity.getIntent().getAction()).isEqualTo(Intent.ACTION_VIEW); in shouldSetIntentComponentWithCustomIntentWithoutComponentSet()97 assertThat(myActivity.getIntent().getComponent()).isEqualTo(componentName); in shouldSetIntentComponentWithCustomIntentWithoutComponentSet()
365 MyActivity myActivity = buildActivity(MyActivity.class).create().get(); in shouldCallOnClickWithAttribute() local371 view = new View(myActivity, attrs); in shouldCallOnClickWithAttribute()373 assertTrue("Should have been called", myActivity.called); in shouldCallOnClickWithAttribute()378 MyActivity myActivity = buildActivity(MyActivity.class).create().get(); in shouldThrowExceptionWithBadMethodName() local384 view = new View(myActivity, attrs); in shouldThrowExceptionWithBadMethodName()
776 …ActionBarThemedActivity myActivity = Robolectric.buildActivity(ActionBarThemedActivity.class).crea… in getActionBar_shouldWorkIfActivityHasAnAppropriateTheme() local777 ActionBar actionBar = myActivity.getActionBar(); in getActionBar_shouldWorkIfActivityHasAnAppropriateTheme()