Home
last modified time | relevance | path

Searched refs:mTestFragment (Results 1 – 25 of 65) sorted by relevance

123

/developers/build/prebuilts/gradle/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/
DAppUsageStatisticsFragmentTests.java36 private AppUsageStatisticsFragment mTestFragment; field in AppUsageStatisticsFragmentTests
51 mTestFragment = (AppUsageStatisticsFragment) in setUp()
59 assertNotNull(mTestFragment.mUsageStatsManager); in testPreconditions()
60 assertNotNull(mTestFragment.mUsageListAdapter); in testPreconditions()
61 assertNotNull(mTestFragment.mRecyclerView); in testPreconditions()
62 assertNotNull(mTestFragment.mLayoutManager); in testPreconditions()
63 assertNotNull(mTestFragment.mOpenUsageSettingButton); in testPreconditions()
64 assertNotNull(mTestFragment.mSpinner); in testPreconditions()
76 List<UsageStats> usageStatsList = mTestFragment in testGetUsageStatistics()
87 List<UsageStats> usageStatsList = mTestFragment in testUpdateAppsList()
[all …]
DAppUsageStatisticsActivityTests.java42 private AppUsageStatisticsFragment mTestFragment; field in AppUsageStatisticsActivityTests
57 mTestFragment = (AppUsageStatisticsFragment) in setUp()
68 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
/developers/samples/android/system/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/
DAppUsageStatisticsFragmentTests.java36 private AppUsageStatisticsFragment mTestFragment; field in AppUsageStatisticsFragmentTests
51 mTestFragment = (AppUsageStatisticsFragment) in setUp()
59 assertNotNull(mTestFragment.mUsageStatsManager); in testPreconditions()
60 assertNotNull(mTestFragment.mUsageListAdapter); in testPreconditions()
61 assertNotNull(mTestFragment.mRecyclerView); in testPreconditions()
62 assertNotNull(mTestFragment.mLayoutManager); in testPreconditions()
63 assertNotNull(mTestFragment.mOpenUsageSettingButton); in testPreconditions()
64 assertNotNull(mTestFragment.mSpinner); in testPreconditions()
76 List<UsageStats> usageStatsList = mTestFragment in testGetUsageStatistics()
87 List<UsageStats> usageStatsList = mTestFragment in testUpdateAppsList()
[all …]
DAppUsageStatisticsActivityTests.java42 private AppUsageStatisticsFragment mTestFragment; field in AppUsageStatisticsActivityTests
57 mTestFragment = (AppUsageStatisticsFragment) in setUp()
68 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
/developers/build/prebuilts/gradle/DirectorySelection/Application/tests/src/com/example/android/directoryselection/
DDirectorySelectionFragmentTest.java42 private DirectorySelectionFragment mTestFragment; field in DirectorySelectionFragmentTest
57 mTestFragment = (DirectorySelectionFragment) in setUp()
62 assertNotNull(mTestFragment.mCurrentDirectoryTextView); in testPreconditions()
63 assertNotNull(mTestFragment.mCreateDirectoryButton); in testPreconditions()
64 assertNotNull(mTestFragment.mRecyclerView); in testPreconditions()
65 assertNotNull(mTestFragment.mAdapter); in testPreconditions()
66 assertNotNull(mTestFragment.mLayoutManager); in testPreconditions()
DDirectorySelectionActivityTest.java28 private DirectorySelectionFragment mTestFragment; field in DirectorySelectionActivityTest
43 mTestFragment = (DirectorySelectionFragment) in setUp()
54 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
DDirectoryEntryAdapterTest.java49 private DirectorySelectionFragment mTestFragment; field in DirectoryEntryAdapterTest
62 mTestFragment = (DirectorySelectionFragment) in setUp()
78 mTestFragment.mAdapter.setDirectoryEntries(mDirectoryEntries); in testGetItemCount()
80 assertEquals(2, mTestFragment.mAdapter.getItemCount()); in testGetItemCount()
/developers/samples/android/ui/window/AdvancedImmersiveMode/Application/tests/src/com/example/android/advancedimmersivemode/tests/
DSampleTests.java44 private AdvancedImmersiveModeFragment mTestFragment; field in SampleTests
55 mTestFragment = (AdvancedImmersiveModeFragment) in setUp()
64 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
74 mTestFragment.mImmersiveModeCheckBox.setChecked(true); in testFlagsChanged()
75 mTestFragment.mHideNavCheckbox.setChecked(true); in testFlagsChanged()
76 mTestFragment.mHideStatusBarCheckBox.setChecked(true); in testFlagsChanged()
77 mTestFragment.toggleUiFlags(); in testFlagsChanged()
/developers/build/prebuilts/gradle/AdvancedImmersiveMode/Application/tests/src/com/example/android/advancedimmersivemode/tests/
DSampleTests.java44 private AdvancedImmersiveModeFragment mTestFragment; field in SampleTests
55 mTestFragment = (AdvancedImmersiveModeFragment) in setUp()
64 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
74 mTestFragment.mImmersiveModeCheckBox.setChecked(true); in testFlagsChanged()
75 mTestFragment.mHideNavCheckbox.setChecked(true); in testFlagsChanged()
76 mTestFragment.mHideStatusBarCheckBox.setChecked(true); in testFlagsChanged()
77 mTestFragment.toggleUiFlags(); in testFlagsChanged()
/developers/samples/android/ui/Interpolator/Application/tests/src/com/example/android/interpolator/tests/
DSampleTests.java37 private InterpolatorFragment mTestFragment; field in SampleTests
54 mTestFragment = (InterpolatorFragment) in setUp()
65 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
78 Interpolator[] interpolators = mTestFragment.getInterpolators(); in testInitialisation()
103 final Interpolator[] interpolators = mTestFragment.getInterpolators(); in testStartInterpolators()
107 … ObjectAnimator animator = mTestFragment.startAnimation(i, 1000L, mTestFragment.getPathIn()); in testStartInterpolators()
/developers/build/prebuilts/gradle/Interpolator/Application/tests/src/com/example/android/interpolator/tests/
DSampleTests.java37 private InterpolatorFragment mTestFragment; field in SampleTests
54 mTestFragment = (InterpolatorFragment) in setUp()
65 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
78 Interpolator[] interpolators = mTestFragment.getInterpolators(); in testInitialisation()
103 final Interpolator[] interpolators = mTestFragment.getInterpolators(); in testStartInterpolators()
107 … ObjectAnimator animator = mTestFragment.startAnimation(i, 1000L, mTestFragment.getPathIn()); in testStartInterpolators()
/developers/samples/android/ui/DrawableTinting/Application/src/test/
DSampleTests.java38 private DrawableTintingFragment mTestFragment; field in SampleTests
61 mTestFragment = (DrawableTintingFragment) in setUp()
64 final View fragmentView = mTestFragment.getView(); in setUp()
80 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
111 mTestFragment.updateTint(testColor, m); in testModes()
127 assertEquals(Color.RED, mTestFragment.getColor()); in testColor()
134 assertEquals(Color.BLUE, mTestFragment.getColor()); in testColor()
141 assertEquals(Color.GREEN, mTestFragment.getColor()); in testColor()
148 assertEquals(Color.BLACK, mTestFragment.getColor()); in testColor()
155 assertEquals(Color.TRANSPARENT, mTestFragment.getColor()); in testColor()
/developers/samples/android/ui/window/BasicImmersiveMode/Application/tests/src/com/example/android/basicimmersivemode/tests/
DSampleTests.java44 private BasicImmersiveModeFragment mTestFragment; field in SampleTests
59 mTestFragment = (BasicImmersiveModeFragment) in setUp()
70 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
79 mTestFragment.toggleHideyBar(); in testFlagsChanged()
99 mTestFragment.toggleHideyBar(); in testDecorHeightExpanded()
/developers/build/prebuilts/gradle/BasicImmersiveMode/Application/tests/src/com/example/android/basicimmersivemode/tests/
DSampleTests.java44 private BasicImmersiveModeFragment mTestFragment; field in SampleTests
59 mTestFragment = (BasicImmersiveModeFragment) in setUp()
70 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
79 mTestFragment.toggleHideyBar(); in testFlagsChanged()
99 mTestFragment.toggleHideyBar(); in testDecorHeightExpanded()
/developers/samples/android/ui/window/ImmersiveMode/Application/tests/src/com/example/android/immersivemode/tests/
DImmersiveModeSampleTests.java29 private ImmersiveModeFragment mTestFragment; field in ImmersiveModeSampleTests
44 mTestFragment = (ImmersiveModeFragment) in setUp()
55 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
64 mTestFragment.toggleHideyBar(); in testFlagsChanged()
84 mTestFragment.toggleHideyBar(); in testDecorHeightExpanded()
DSampleTests.java46 private ImmersiveModeFragment mTestFragment; field in SampleTests
61 mTestFragment = (ImmersiveModeFragment) in setUp()
72 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
/developers/build/prebuilts/gradle/ImmersiveMode/Application/tests/src/com/example/android/immersivemode/tests/
DImmersiveModeSampleTests.java29 private ImmersiveModeFragment mTestFragment; field in ImmersiveModeSampleTests
44 mTestFragment = (ImmersiveModeFragment) in setUp()
55 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
64 mTestFragment.toggleHideyBar(); in testFlagsChanged()
84 mTestFragment.toggleHideyBar(); in testDecorHeightExpanded()
/developers/samples/android/ui/views/RecyclerView/Application/src/androidTest/java/com/example/android/recyclerview/test/
DRecyclerViewSampleTests.java33 private RecyclerViewFragment mTestFragment; field in RecyclerViewSampleTests
48 mTestFragment = (RecyclerViewFragment) in setUp()
59 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
64 (RecyclerView) mTestFragment.getView().findViewById(R.id.recyclerView); in testRecyclerViewElementCount()
/developers/samples/android/media/ScreenCapture/Application/tests/src/com/example/android/screencapture/test/
DSampleTests.java33 private ScreenCaptureFragment mTestFragment; field in SampleTests
43 mTestFragment = (ScreenCaptureFragment) in setUp()
52 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
56 final View view = mTestFragment.getView(); in testButtonToggle()
/developers/samples/android/security/keystore/BasicAndroidKeyStore/Application/tests/src/com/example/android/basicandroidkeystore/tests/
DSampleTests.java46 private BasicAndroidKeyStoreFragment mTestFragment; field in SampleTests
61 mTestFragment = (BasicAndroidKeyStoreFragment) in setUp()
72 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
/developers/samples/android/ui/views/SlidingTabs/SlidingTabsBasic/Application/tests/src/com/example/android/slidingtabsbasic/tests/
DSampleTests.java28 private SlidingTabsBasicFragment mTestFragment; field in SampleTests
43 mTestFragment = (SlidingTabsBasicFragment) in setUp()
54 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
/developers/samples/android/security/DirectBoot/Application/src/androidTest/java/com/example/android/filebasedencryption/test/
DSampleTests.java28 private SchedulerFragment mTestFragment; field in SampleTests
43 mTestFragment = (SchedulerFragment) in setUp()
54 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
/developers/samples/android/notification/MessagingService/Application/src/androidTest/java/com/example/android/messagingservice/test/
DSampleTests.java43 private MessagingServiceFragment mTestFragment; field in SampleTests
58 mTestFragment = (MessagingServiceFragment) in setUp()
69 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/androidTest/java/com/example/android/filebasedencryption/test/
DSampleTests.java28 private ScopedDirectoryAccessFragment mTestFragment; field in SampleTests
43 mTestFragment = (ScopedDirectoryAccessFragment) in setUp()
54 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()
/developers/samples/android/connectivity/nfc/BeamLargeFiles/Application/tests/src/com/example/android/beamlargefiles/tests/
DSampleTests.java43 private BeamLargeFilesFragment mTestFragment; field in SampleTests
58 mTestFragment = (BeamLargeFilesFragment) in setUp()
69 assertNotNull("mTestFragment is null", mTestFragment); in testPreconditions()

123