Home
last modified time | relevance | path

Searched refs:activity2 (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/debug/
Dactivity_tracker_unittest.cc231 ScopedTaskRunActivity activity2(task2); in TEST_F() local
232 ActivityUserData& user_data2 = activity2.user_data(); in TEST_F()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DActivityTest.java50 DialogLifeCycleActivity activity2 = new DialogLifeCycleActivity(); in shouldNotComplainIfActivityIsDestroyedWhileAnotherActivityHasRegisteredBroadcastReceivers() local
51 activity2.registerReceiver(new AppWidgetProvider(), new IntentFilter()); in shouldNotComplainIfActivityIsDestroyedWhileAnotherActivityHasRegisteredBroadcastReceivers()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowContextWrapperTest.java380 Activity activity2 = buildActivity(Activity.class).create().get(); in assertSameInstanceEveryTime() local
382 …assertThat(activity1.getSystemService(serviceName)).isSameAs(activity2.getSystemService(serviceNam… in assertSameInstanceEveryTime()
DShadowActivityTest.java99 DialogLifeCycleActivity activity2 = Robolectric.setupActivity(DialogLifeCycleActivity.class); in shouldNotComplainIfActivityIsDestroyedWhileAnotherActivityHasRegisteredBroadcastReceivers() local
100 activity2.registerReceiver(new AppWidgetProvider(), new IntentFilter()); in shouldNotComplainIfActivityIsDestroyedWhileAnotherActivityHasRegisteredBroadcastReceivers()