Home
last modified time | relevance | path

Searched refs:TestUtils (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DDisclaimersParserTest.java34 import com.android.managedprovisioning.testcommon.TestUtils;
82 DISCLAIMER_URI_1 = TestUtils.resourceToUri(testContext, R.raw.test_disclaimer1); in setUpClass()
83 DISCLAIMER_CONTENT_1 = TestUtils.stringFromUri(cr, DISCLAIMER_URI_1); in setUpClass()
85 DISCLAIMER_URI_2 = TestUtils.resourceToUri(testContext, R.raw.test_disclaimer2); in setUpClass()
86 DISCLAIMER_CONTENT_2 = TestUtils.stringFromUri(cr, DISCLAIMER_URI_2); in setUpClass()
88 DISCLAIMER_URI_3 = TestUtils.resourceToUri(testContext, R.raw.test_disclaimer3); in setUpClass()
89 DISCLAIMER_CONTENT_3 = TestUtils.stringFromUri(cr, DISCLAIMER_URI_3); in setUpClass()
105 TestUtils.deleteRecursive(TEST_FILE_DIR); in tearDown()
DDeviceAdminIconParserTest.java31 import com.android.managedprovisioning.testcommon.TestUtils;
68 INPUT_URI = TestUtils.resourceToUri(testContext, R.raw.android); in setUpClass()
69 INPUT_CONTENT = TestUtils.stringFromUri(cr, INPUT_URI); in setUpClass()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DTvInputNewComparatorTest.java28 import com.android.tv.util.TestUtils;
85 ResolveInfo resolveInfo = TestUtils.createResolveInfo("test", "test"); in testComparator()
88 TvInputInfo info1 = TestUtils.createTvInputInfo( in testComparator()
90 TvInputInfo info2 = TestUtils.createTvInputInfo( in testComparator()
92 TvInputInfo info3 = TestUtils.createTvInputInfo( in testComparator()
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DTvInputManagerHelperTest.java64 ResolveInfo resolveInfo1 = TestUtils.createResolveInfo("1_test", "1_test"); in testComparator()
65 ResolveInfo resolveInfo2 = TestUtils.createResolveInfo("2_test", "2_test"); in testComparator()
67 TvInputInfo info1 = TestUtils.createTvInputInfo(resolveInfo1, inputId, null, 0, false); in testComparator()
68 TvInputInfo info2 = TestUtils.createTvInputInfo(resolveInfo2, inputId, null, 0, false); in testComparator()
DTestUtils.java32 public class TestUtils { class
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java20 import static com.android.providers.contacts.TestUtils.cv;
21 import static com.android.providers.contacts.TestUtils.dumpCursor;
974 TestUtils.dumpCursor(c); in assertStoredValues()
988 TestUtils.dumpCursor(c); in assertContainsValues()
1007 TestUtils.dumpCursor(c); in assertStoredValuesWithProjection()
1025 TestUtils.dumpCursor(c); in assertStoredValues()
1053 TestUtils.dumpCursor(c); in assertStoredValuesOrderly()
1104 TestUtils.dumpCursor(c); in assertSelection()
1107 TestUtils.dumpUri(mResolver, uri); in assertSelection()
1363 TestUtils.dumpCursor(cursor); in assertRowCount()
[all …]
DContactsDatabaseHelperUpgradeTest.java19 import static com.android.providers.contacts.TestUtils.createDatabaseSnapshot;
20 import static com.android.providers.contacts.TestUtils.cv;
21 import static com.android.providers.contacts.TestUtils.executeSqlFromAssetFile;
102 TestUtils.getContactsDatabaseFilename(getContext())); in setUp()
114 return TestUtils.getContactsDatabaseFilename(getContext(), "-upgrade-test"); in getDatabaseFilename()
DEvenMoreAsserts.java92 String expectedFile = TestUtils.dumpToCacheDir(context, "expected", ".jpg", expected); in assertImageRawData()
93 String actualFile = TestUtils.dumpToCacheDir(context, "actual", ".jpg", actual); in assertImageRawData()
DTestUtils.java43 public class TestUtils { class
46 private TestUtils() { in TestUtils() method in TestUtils
DSecondaryUserContactsProvider2.java35 TestUtils.getContactsDatabaseFilename(context, mDbSuffix)); in newDatabaseHelper()
DSynchronousProfileProvider.java38 TestUtils.getProfileDatabaseFilename(getContext())); in newDatabaseHelper()
DSqlInjectionDetectionTest.java20 import static com.android.providers.contacts.TestUtils.cv;
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageSummaryDonutPreferenceControllerTest.java55 import static com.android.settings.TestUtils.KILOBYTE;
56 import static com.android.settings.TestUtils.MEGABYTE;
57 import static com.android.settings.TestUtils.GIGABYTE;
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DFinalizationControllerTest.java24 import static com.android.managedprovisioning.TestUtils.createTestAdminExtras;
42 import com.android.managedprovisioning.TestUtils;
262 TestUtils.bundleEquals(TEST_MDM_EXTRA_BUNDLE, in assertExtras()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/sqlite/
DDatabaseAnalyzerTest.java22 import com.android.providers.contacts.TestUtils;
30 TestUtils.getContactsDatabaseFilename(getContext())); in testFindTableViewsAllowingColumns()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DTestUtils.java34 public class TestUtils { class
42 public TestUtils(Context targetContext, Context testContext, ExecutorService executor) { in TestUtils() method in TestUtils
DResourcesProvider.java65 private TestUtils mTestUtils = null;
70 mTestUtils = new TestUtils(getContext(), getContext(), mExecutor); in onCreate()
DArchivesProviderTest.java55 private TestUtils mTestUtils = null;
61 mTestUtils = new TestUtils(InstrumentationRegistry.getTargetContext(), in setUp()
DWriteableArchiveTest.java50 private TestUtils mTestUtils = null;
57 mTestUtils = new TestUtils(InstrumentationRegistry.getTargetContext(), in setUp()
DReadableArchiveTest.java50 private TestUtils mTestUtils = null;
56 mTestUtils = new TestUtils(InstrumentationRegistry.getTargetContext(), in setUp()
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DInputTaskSchedulerTest.java44 import com.android.tv.util.TestUtils;
219 return TestUtils.createTvInputInfo(null, null, null, 0, false, true, tunerCount); in createTvInputInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DTestUtils.java22 public class TestUtils { class
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/testcommon/
DTestUtils.java28 public class TestUtils { class
/packages/apps/Email/tests/src/com/android/email/
DTestUtils.java37 public class TestUtils extends TestCase /* It tests itself */ { class
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
DTestUtils.java31 public class TestUtils extends AndroidTestCase { class

12