OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mActivityTestRule
(Results
1 - 25
of
92
) sorted by null
1
2
3
4
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
KeyEventsTestCaseWithToolbar.java
47
Toolbar toolbar =
mActivityTestRule
.getActivity().getToolbar();
62
if (!
mActivityTestRule
.getActivity().getWindow().hasFeature(Window.FEATURE_OPTIONS_PANEL)) {
65
Toolbar toolbar =
mActivityTestRule
.getActivity().getToolbar();
68
mActivityTestRule
.runOnUiThread(new Runnable() {
71
mActivityTestRule
.getActivity().openOptionsMenu();
77
mActivityTestRule
.runOnUiThread(new Runnable() {
80
mActivityTestRule
.getActivity().closeOptionsMenu();
KeyboardShortcutsTestCaseWithToolbar.java
43
public final ActivityTestRule<ToolbarAppCompatActivity>
mActivityTestRule
=
53
final BaseTestActivity activity =
mActivityTestRule
.getActivity();
56
mActivityTestRule
.runOnUiThread(new Runnable() {
67
mActivityTestRule
.runOnUiThread(new Runnable() {
82
mActivityTestRule
.runOnUiThread(new Runnable() {
93
final ToolbarAppCompatActivity activity =
mActivityTestRule
.getActivity();
98
mActivityTestRule
.runOnUiThread(new Runnable() {
121
mActivityTestRule
.runOnUiThread(new Runnable() {
133
mActivityTestRule
.runOnUiThread(new Runnable() {
FragmentContentIdTest.java
37
public final ActivityTestRule<FragmentContentIdActivity>
mActivityTestRule
=
43
mActivityTestRule
.runOnUiThread(new Runnable() {
46
mActivityTestRule
.getActivity().replaceWithFragmentB();
BaseBasicsTestCase.java
63
public final ActivityTestRule<A>
mActivityTestRule
;
67
mActivityTestRule
= new ActivityTestRule<>(activityClass);
73
mActivityTestRule
.getActivity().getSupportActionBar());
78
assertEquals(
mActivityTestRule
.getActivity().getTitle(),
79
mActivityTestRule
.getActivity().getSupportActionBar().getTitle());
86
mActivityTestRule
.getActivity().setTitle(newTitle);
88
newTitle,
mActivityTestRule
.getActivity().getSupportActionBar().getTitle());
96
mActivityTestRule
.getActivity().findViewById(R.id.test_content);
99
if (!canShowSystemUi(
mActivityTestRule
.getActivity())) {
115
final View content =
mActivityTestRule
.getActivity().findViewById(R.id.test_content)
[
all
...]
BaseKeyboardShortcutsTestCase.java
41
public final ActivityTestRule<A>
mActivityTestRule
;
44
mActivityTestRule
= new ActivityTestRule<>(activityClass);
68
MenuItem selectedItem =
mActivityTestRule
.getActivity().getOptionsItemSelected();
NightModeTestCase.java
45
public final ActivityTestRule<NightModeActivity>
mActivityTestRule
;
51
mActivityTestRule
= new ActivityTestRule<>(NightModeActivity.class);
68
mActivityTestRule
.getActivity(), AppCompatDelegate.MODE_NIGHT_YES);
76
final NightModeActivity activity =
mActivityTestRule
.getActivity();
102
final NightModeActivity activity =
mActivityTestRule
.getActivity();
115
mActivityTestRule
.runOnUiThread(new Runnable() {
136
final NightModeActivity activity =
mActivityTestRule
.getActivity();
143
mActivityTestRule
.runOnUiThread(new Runnable() {
185
mActivityTestRule
.runOnUiThread(new Runnable() {
DialogTestCase.java
37
public final ActivityTestRule<WindowDecorAppCompatActivity>
mActivityTestRule
=
45
fragment.show(
mActivityTestRule
.getActivity().getSupportFragmentManager(), null);
LayoutInflaterFactoryTestCase.java
57
public final ActivityTestRule<LayoutInflaterFactoryTestActivity>
mActivityTestRule
=
70
final LayoutInflater inflater = LayoutInflater.from(
mActivityTestRule
.getActivity());
78
final LayoutInflater inflater = LayoutInflater.from(
mActivityTestRule
.getActivity());
89
LayoutInflater inflater = LayoutInflater.from(
mActivityTestRule
.getActivity());
99
final Context activity =
mActivityTestRule
.getActivity();
201
LayoutInflater inflater = LayoutInflater.from(
mActivityTestRule
.getActivity());
205
assertTrue(
mActivityTestRule
.getActivity().wasDeclarativeOnClickCalled());
209
LayoutInflater inflater = LayoutInflater.from(
mActivityTestRule
.getActivity());
/frameworks/support/compat/tests/java/android/support/v4/
BaseInstrumentationTestCase.java
28
public final ActivityTestRule<A>
mActivityTestRule
;
31
mActivityTestRule
= new ActivityTestRule<A>(activityClass);
/frameworks/support/core-ui/tests/java/android/support/v4/
BaseInstrumentationTestCase.java
28
public final ActivityTestRule<A>
mActivityTestRule
;
31
mActivityTestRule
= new ActivityTestRule<A>(activityClass);
/frameworks/support/design/tests/src/android/support/design/widget/
BaseInstrumentationTestCase.java
29
public final BootlegActivityTestRule<A>
mActivityTestRule
;
32
mActivityTestRule
= new BootlegActivityTestRule<>(activityClass);
BottomSheetBehaviorInitialStateTest.java
38
public final ActivityTestRule<BottomSheetBehaviorActivity>
mActivityTestRule
47
mActivityTestRule
.launchActivity(intent);
48
BottomSheetBehaviorActivity activity =
mActivityTestRule
.getActivity();
60
mActivityTestRule
.launchActivity(intent);
61
BottomSheetBehaviorActivity activity =
mActivityTestRule
.getActivity();
BottomSheetDialogTest.java
67
mActivityTestRule
.runOnUiThread(new Runnable() {
86
mActivityTestRule
.runOnUiThread(new Runnable() {
98
mActivityTestRule
.runOnUiThread(new Runnable() {
114
mActivityTestRule
.runOnUiThread(new Runnable() {
127
mActivityTestRule
.runOnUiThread(new Runnable() {
151
mActivityTestRule
.runOnUiThread(new Runnable() {
161
mActivityTestRule
.runOnUiThread(new Runnable() {
183
mActivityTestRule
.runOnUiThread(new Runnable() {
193
mActivityTestRule
.runOnUiThread(new Runnable() {
211
mActivityTestRule
.runOnUiThread(new Runnable()
[
all
...]
CoordinatorLayoutTest.java
87
final CoordinatorLayout col =
mActivityTestRule
.getActivity().mCoordinatorLayout;
101
mActivityTestRule
.runOnUiThread(new Runnable() {
112
mActivityTestRule
.runOnUiThread(new Runnable() {
125
mActivityTestRule
.runOnUiThread(new Runnable() {
141
final CoordinatorLayout col =
mActivityTestRule
.getActivity().mCoordinatorLayout;
143
mActivityTestRule
.runOnUiThread(new Runnable() {
170
mActivityTestRule
.runOnUiThread(new Runnable() {
180
mActivityTestRule
.runOnUiThread(new Runnable() {
192
final CoordinatorLayout col =
mActivityTestRule
.getActivity().mCoordinatorLayout;
247
final CoordinatorLayout col =
mActivityTestRule
.getActivity().mCoordinatorLayout
[
all
...]
AppBarWithCollapsingToolbarStateRestoreTest.java
45
mActivity =
mActivityTestRule
.getActivity();
62
mActivity = ActivityUtils.recreateActivity(
mActivityTestRule
, mActivity);
63
ActivityUtils.waitForExecution(
mActivityTestRule
);
/frameworks/support/lifecycle/integration-tests/test-app/src/androidTest/java/com/android/support/lifecycle/
LiveDataTransactionTest.java
42
public ActivityTestRule<LiveDataTestActivity>
mActivityTestRule
=
49
LiveDataTestActivity activity =
mActivityTestRule
.getActivity();
58
mActivityTestRule
.runOnUiThread(() -> {
64
mActivityTestRule
);
65
TestUtils.waitTillResumed(newActivity,
mActivityTestRule
);
66
mActivityTestRule
.runOnUiThread(() -> {
/frameworks/support/percent/tests/java/android/support/percent/
BaseInstrumentationTestCase.java
31
public final ActivityTestRule<A>
mActivityTestRule
;
34
mActivityTestRule
= new ActivityTestRule<A>(activityClass);
/packages/apps/TV/tests/unit/src/com/android/tv/tests/
TvActivityTest.java
35
public ActivityTestRule<TvActivity>
mActivityTestRule
=
41
assertNotNull(
mActivityTestRule
.launchActivity(null));
/frameworks/support/v7/appcompat/tests/src/android/support/v7/res/content/
AppCompatResourcesTestCase.java
42
public final ActivityTestRule<AppCompatActivity>
mActivityTestRule
;
45
mActivityTestRule
= new ActivityTestRule<>(AppCompatActivity.class);
50
final Activity context =
mActivityTestRule
.getActivity();
74
final Activity context =
mActivityTestRule
.getActivity();
/frameworks/support/compat/tests/java/android/support/v4/view/
ViewCompatTest.java
47
final Activity activity =
mActivityTestRule
.getActivity();
67
final View view = new View(
mActivityTestRule
.getActivity());
74
final View view = new View(
mActivityTestRule
.getActivity());
ViewPropertyAnimatorCompatTest.java
47
final Activity activity =
mActivityTestRule
.getActivity();
54
mActivityTestRule
.runOnUiThread(new Runnable() {
70
mActivityTestRule
.runOnUiThread(new Runnable() {
90
mActivityTestRule
.runOnUiThread(new Runnable() {
106
mActivityTestRule
.runOnUiThread(new Runnable() {
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
TintResourcesTest.java
37
public final ActivityTestRule<AppCompatActivity>
mActivityTestRule
=
43
new TestResources(
mActivityTestRule
.getActivity().getResources());
49
new TintResources(
mActivityTestRule
.getActivity(), testResources);
AppCompatBaseAutoSizeTest.java
64
public final ActivityTestRule<A>
mActivityTestRule
;
71
mActivityTestRule
= new ActivityTestRule<A>(clazz);
77
mActivity =
mActivityTestRule
.getActivity();
170
mActivityTestRule
.runOnUiThread(new Runnable() {
178
mActivityTestRule
.runOnUiThread(new Runnable() {
326
mActivityTestRule
.runOnUiThread(new Runnable() {
355
mActivityTestRule
.runOnUiThread(new Runnable() {
363
mActivityTestRule
.runOnUiThread(new Runnable() {
379
mActivityTestRule
.runOnUiThread(new Runnable() {
387
mActivityTestRule
.runOnUiThread(new Runnable()
[
all
...]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/picker/
TimePickerTest.java
56
public ActivityTestRule<TimePickerActivity>
mActivityTestRule
=
67
mActivity =
mActivityTestRule
.launchActivity(intent);
93
mActivityTestRule
.runOnUiThread(new Runnable() {
110
mActivityTestRule
.runOnUiThread(new Runnable() {
120
mActivityTestRule
.runOnUiThread(new Runnable() {
130
mActivityTestRule
.runOnUiThread(new Runnable() {
140
mActivityTestRule
.runOnUiThread(new Runnable() {
150
mActivityTestRule
.runOnUiThread(new Runnable() {
167
mActivityTestRule
.runOnUiThread(new Runnable() {
177
mActivityTestRule
.runOnUiThread(new Runnable()
[
all
...]
/frameworks/support/customtabs/tests/src/android/support/customtabs/
PostMessageServiceConnectionTest.java
47
public final ActivityTestRule<TestActivity>
mActivityTestRule
;
55
mActivityTestRule
= new ActivityTestRule<TestActivity>(TestActivity.class);
62
mContext =
mActivityTestRule
.getActivity();
Completed in 854 milliseconds
1
2
3
4