/developers/samples/android/ui/views/Clipping/ClippingBasic/Application/tests/src/com/example/android/clippingbasic/tests/ |
D | SampleTests.java | 29 private MainActivity mTestActivity; field in SampleTests 44 mTestActivity = getActivity(); in setUp() 46 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 53 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions() 55 assertNotNull("Clipped frame is null", mTestActivity.findViewById(R.id.frame)); in testPreconditions() 56 assertNotNull("Text view is null", mTestActivity.findViewById(R.id.text_view)); in testPreconditions() 63 View clippedView = mTestActivity.findViewById(R.id.frame); in testClipping() 69 TouchUtils.clickView(this, mTestActivity.findViewById(R.id.button)); in testClipping()
|
/developers/samples/android/ui/views/RevealEffect/RevealEffectBasic/Application/tests/src/com/example/android/revealeffectbasic/tests/ |
D | SampleTests.java | 27 private MainActivity mTestActivity; field in SampleTests 42 mTestActivity = getActivity(); in setUp() 44 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 53 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions() 55 assertNotNull("Circle view is null", mTestActivity.findViewById(R.id.circle)); in testPreconditions()
|
/developers/samples/android/ui/views/Elevation/ElevationBasic/Application/tests/src/com/example/android/elevationbasic/tests/ |
D | SampleTests.java | 30 private MainActivity mTestActivity; field in SampleTests 48 mTestActivity = getActivity(); in setUp() 50 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 51 mShape1 = mTestActivity.findViewById(R.id.floating_shape); in setUp() 52 mShape2 = mTestActivity.findViewById(R.id.floating_shape_2); in setUp() 59 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/content/documentsUi/StorageClient/Application/tests/src/com/example/android/storageclient/tests/ |
D | SampleTests.java | 44 private MainActivity mTestActivity; field in SampleTests 59 mTestActivity = getActivity(); in setUp() 61 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 70 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions() 79 StorageClientFragment.ImageDialogFragment.dumpImageMetaData(mTestActivity, uri); in testDumpMetadataInvalidUri()
|
/developers/samples/android/ui/views/Elevation/ElevationDrag/Application/tests/src/com/example/android/elevationdrag/tests/ |
D | SampleTests.java | 30 private MainActivity mTestActivity; field in SampleTests 48 mTestActivity = getActivity(); in setUp() 50 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 52 mFloatingShape = mTestActivity.findViewById(R.id.circle); in setUp() 53 mDragFrame = mTestActivity.findViewById(R.id.main_layout); in setUp() 62 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/system/AppUsageStatistics/Application/tests/src/com/example/android/appusagestatistics/ |
D | AppUsageStatisticsActivityTests.java | 41 private AppUsageStatisticsActivity mTestActivity; field in AppUsageStatisticsActivityTests 56 mTestActivity = getActivity(); in setUp() 58 mTestActivity.getSupportFragmentManager().getFragments().get(0); in setUp() 67 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/ui/views/SlidingTabs/SlidingTabsColors/Application/tests/src/com/example/android/slidingtabscolors/tests/ |
D | SampleTests.java | 45 private MainActivity mTestActivity; field in SampleTests 60 mTestActivity = getActivity(); in setUp() 62 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 71 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/security/keystore/BasicAndroidKeyStore/Application/tests/src/com/example/android/basicandroidkeystore/tests/ |
D | SampleTests.java | 45 private MainActivity mTestActivity; field in SampleTests 60 mTestActivity = getActivity(); in setUp() 62 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 71 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/ui/views/SlidingTabs/SlidingTabsBasic/Application/tests/src/com/example/android/slidingtabsbasic/tests/ |
D | SampleTests.java | 27 private MainActivity mTestActivity; field in SampleTests 42 mTestActivity = getActivity(); in setUp() 44 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 53 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/ui/window/ImmersiveMode/Application/tests/src/com/example/android/immersivemode/tests/ |
D | SampleTests.java | 45 private MainActivity mTestActivity; field in SampleTests 60 mTestActivity = getActivity(); in setUp() 62 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 71 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
D | ImmersiveModeSampleTests.java | 28 private MainActivity mTestActivity; field in ImmersiveModeSampleTests 43 mTestActivity = getActivity(); in setUp() 45 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 54 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions() 94 mTestActivity.runOnUiThread(testRunnable); in testDecorHeightExpanded()
|
/developers/samples/android/notification/ActiveNotifications/Application/src/androidTest/java/com/example/android/activenotifications/test/ |
D | SampleTests.java | 42 private MainActivity mTestActivity; field in SampleTests 57 mTestActivity = getActivity(); in setUp() 59 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 68 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/connectivity/nfc/BeamLargeFiles/Application/tests/src/com/example/android/beamlargefiles/tests/ |
D | SampleTests.java | 42 private MainActivity mTestActivity; field in SampleTests 57 mTestActivity = getActivity(); in setUp() 59 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 68 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/notification/MessagingService/Application/src/androidTest/java/com/example/android/messagingservice/test/ |
D | SampleTests.java | 42 private MainActivity mTestActivity; field in SampleTests 57 mTestActivity = getActivity(); in setUp() 59 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 68 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/androidTest/java/com/example/android/filebasedencryption/test/ |
D | SampleTests.java | 27 private MainActivity mTestActivity; field in SampleTests 42 mTestActivity = getActivity(); in setUp() 44 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 53 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/tests/src/com/example/android/basicsyncadapter/tests/ |
D | SampleTests.java | 27 private EntryListActivity mTestActivity; field in SampleTests 42 mTestActivity = getActivity(); in setUp() 44 mTestActivity.getSupportFragmentManager().getFragments().get(0); in setUp() 53 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/security/DirectBoot/Application/src/androidTest/java/com/example/android/filebasedencryption/test/ |
D | SampleTests.java | 27 private MainActivity mTestActivity; field in SampleTests 42 mTestActivity = getActivity(); in setUp() 44 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 53 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/input/gestures/BasicGestureDetect/Application/tests/src/com/example/android/basicgesturedetect/tests/ |
D | SampleTests.java | 45 private MainActivity mTestActivity; field in SampleTests 60 mTestActivity = getActivity(); in setUp() 62 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 71 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/content/WidgetData/Application/tests/src/com/example/android/widgetdata/tests/ |
D | SampleTests.java | 27 private MainActivity mTestActivity; field in SampleTests 42 mTestActivity = getActivity(); in setUp() 44 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 53 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ListPopupMenu/Application/tests/src/com/example/android/actionbarcompat/listpopupmenu/tests/ |
D | SampleTests.java | 27 private MainActivity mTestActivity; field in SampleTests 42 mTestActivity = getActivity(); in setUp() 44 mTestActivity.getSupportFragmentManager().getFragments().get(0); in setUp() 53 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ListViewModalSelect/Application/tests/src/com/example/android/actionbarcompat/listviewmodalselect/tests/ |
D | SampleTests.java | 27 private MainActivity mTestActivity; field in SampleTests 42 mTestActivity = getActivity(); in setUp() 44 mTestActivity.getSupportFragmentManager().getFragments().get(0); in setUp() 53 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/ui/views/FloatingActionButton/FloatingActionButtonBasic/Application/tests/src/com/example/android/floatingactionbuttonbasic/tests/ |
D | SampleTests.java | 29 private MainActivity mTestActivity; field in SampleTests 44 mTestActivity = getActivity(); in setUp() 46 mTestActivity.getSupportFragmentManager().getFragments().get(0); in setUp() 55 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions()
|
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshLayoutBasic/Application/tests/src/com/example/android/swiperefreshlayoutbasic/tests/ |
D | SampleTests.java | 31 private MainActivity mTestActivity; field in SampleTests 48 mTestActivity = getActivity(); in setUp() 50 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 61 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions() 94 getInstrumentation().invokeMenuActionSync(mTestActivity, R.id.menu_refresh, 0); in testRefreshMenuItem()
|
/developers/samples/android/ui/window/BasicImmersiveMode/Application/tests/src/com/example/android/basicimmersivemode/tests/ |
D | SampleTests.java | 43 private MainActivity mTestActivity; field in SampleTests 58 mTestActivity = getActivity(); in setUp() 60 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 69 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions() 109 mTestActivity.runOnUiThread(testRunnable); in testDecorHeightExpanded()
|
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshMultipleViews/Application/tests/src/com/example/android/swiperefreshmultipleviews/tests/ |
D | SampleTests.java | 33 private MainActivity mTestActivity; field in SampleTests 50 mTestActivity = getActivity(); in setUp() 52 mTestActivity.getSupportFragmentManager().getFragments().get(1); in setUp() 63 assertNotNull("mTestActivity is null", mTestActivity); in testPreconditions() 119 getInstrumentation().invokeMenuActionSync(mTestActivity, R.id.menu_refresh, 0); in testRefreshMenuItem() 127 getInstrumentation().invokeMenuActionSync(mTestActivity, R.id.menu_refresh, 0); in populateList()
|