Home
last modified time | relevance | path

Searched refs:mTestFile (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileUploaderFuncTest.java44 private File mTestFile; field in GCSFileUploaderFuncTest
53 mTestFile = FileUtil.createTempFile("test-upload-file", ".txt"); in setUp()
63 storage.objects().delete(BUCKET_NAME, mTestFile.getName()).execute(); in tearDown()
65 FileUtil.recursiveDelete(mTestFile); in tearDown()
74 mTestFile.getName(), in testUploadFile_roundTrip()
78 String readBack = new String(toByteArray(pullFileFromGcs(mTestFile.getName()))); in testUploadFile_roundTrip()
87 mTestFile.getName(), in testUploadFile_overwrite()
95 mTestFile.getName(), in testUploadFile_overwrite()
106 mTestFile.getName(), in testUploadFile_overwrite()
/tools/tradefederation/core/util-apps/ContentProvider/androidTest/src/android/tradefed/contentprovider/
DManagedFileContentProviderTest.java54 private File mTestFile = null; field in ManagedFileContentProviderTest
79 if (mTestFile != null) { in tearDown()
80 mTestFile.delete(); in tearDown()
107 mTestFile = new File(parentDir, TEST_FILE); in createTestFile()
108 mTestFile.createNewFile(); in createTestFile()
110 mTestFileUri = createContentUri(mTestFile.getAbsolutePath()); in createTestFile()
136 assertFalse(mTestFile.exists()); in testDelete()
139 mTestFile.createNewFile(); in testDelete()
187 Uri sdcardUri = createContentUri(String.format("sdcard/%s", mTestFile.getName())); in testQueryForFile_sdcard()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationFileTestTest.java66 private File mTestFile; field in InstrumentationFileTestTest
70 mTestFile = null; in setUp()
123 mTestFile = file; in testRun_singleSuccessfulTest()
212 mTestFile = file; in testRun_reRunOneFailedToCompleteTest()
320 mTestFile = file; in testRun_serialReRunOfTwoFailedToCompleteTests()
393 mTestFile = file; in testRun_noSerialReRun()
506 mTestFile = file; in testRun_exceedMaxAttempts()
604 mTestFile = file; in testRun_parameterized()
650 assertNotNull(mTestFile); in verifyTestFile()
652 try (BufferedReader br = new BufferedReader(new FileReader(mTestFile))) { in verifyTestFile()