Searched refs:mTestDirectory (Results 1 – 2 of 2) sorted by relevance
40 private File mTestDirectory; field in BaseVoicemailProviderTest102 return findAllFiles(mTestDirectory).size(); in countFilesInTestDirectory()127 if (mTestDirectory == null) {129 mTestDirectory = new File(baseDirectory, Long.toString(System.currentTimeMillis()));130 assertFalse(mTestDirectory.exists());131 assertTrue(mTestDirectory.mkdirs());133 return mTestDirectory;137 if (mTestDirectory != null) {138 recursiveDeleteAll(mTestDirectory);
75 protected File mTestDirectory; field in PublicApiFunctionalTest90 mTestDirectory = new File(Environment.getExternalStoragePublicDirectory( in setUp()93 if (mTestDirectory.exists()) { in setUp()94 IoUtils.deleteContents(mTestDirectory); in setUp()96 mTestDirectory.mkdir(); in setUp()102 if (mTestDirectory != null && mTestDirectory.exists()) { in tearDown()103 IoUtils.deleteContents(mTestDirectory); in tearDown()104 mTestDirectory.delete(); in tearDown()370 return Uri.fromFile(mTestDirectory).buildUpon().appendPath("testfile.txt").build(); in getExternalUri()