Home
last modified time | relevance | path

Searched refs:mTestDirectory (Results 1 – 2 of 2) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java40 private File mTestDirectory; field in BaseVoicemailProviderTest
92 return findAllFiles(mTestDirectory).size(); in countFilesInTestDirectory()
117 if (mTestDirectory == null) {
119 mTestDirectory = new File(baseDirectory, Long.toString(System.currentTimeMillis()));
120 assertFalse(mTestDirectory.exists());
121 assertTrue(mTestDirectory.mkdirs());
123 return mTestDirectory;
127 if (mTestDirectory != null) {
128 recursiveDeleteAll(mTestDirectory);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java73 protected File mTestDirectory; field in PublicApiFunctionalTest
88 mTestDirectory = new File(Environment.getExternalStorageDirectory() + File.separator in setUp()
90 if (mTestDirectory.exists()) { in setUp()
91 IoUtils.deleteContents(mTestDirectory); in setUp()
93 mTestDirectory.mkdir(); in setUp()
99 if (mTestDirectory != null && mTestDirectory.exists()) { in tearDown()
100 IoUtils.deleteContents(mTestDirectory); in tearDown()
101 mTestDirectory.delete(); in tearDown()
367 return Uri.fromFile(mTestDirectory).buildUpon().appendPath("testfile.txt").build(); in getExternalUri()