Searched refs:mTestDirectory (Results 1 – 2 of 2) sorted by relevance
40 private File mTestDirectory; field in BaseVoicemailProviderTest92 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);
73 protected File mTestDirectory; field in PublicApiFunctionalTest88 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()