Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/result/
DTestDescriptionsFile.java44 private File mTestFile = null; field in TestDescriptionsFile
52 mTestFile = file; in TestDescriptionsFile()
67 if (mTestFile == null) { in getFile()
75 return mTestFile; in getFile()
81 mTestFile = testfile; in populateTestFile()
105 mTestFile = null; in add()
111 mTestFile = null; in addAll()
120 mTestFile = null; in remove()
126 if (mTestFile != null) { in getOrBuildTests()
127 readTestsFromFile(mTests, mTestFile); in getOrBuildTests()
/tools/tradefederation/core/javatests/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/javatests/com/android/tradefed/testtype/
DInstrumentationFileTestTest.java72 private File mTestFile; field in InstrumentationFileTestTest
78 mTestFile = null; in setUp()
143 mTestFile = file; in testRun_singleSuccessfulTest()
235 mTestFile = file; in testRun_reRunOneFailedToCompleteTest()
293 mTestFile = file; in testRun_noSerialReRun()
407 mTestFile = file; in testRun_exceedMaxAttempts()
484 mTestFile = file; in testRun_parameterized()
511 assertNotNull(mTestFile); in verifyTestFile()
513 try (BufferedReader br = new BufferedReader(new FileReader(mTestFile))) { in verifyTestFile()
/tools/tradefederation/contrib/tests/src/com/android/uicd/tests/
DUiConductorTestTest.java94 private Path mTestFile; field in UiConductorTestTest
118 mTestFile = Files.createFile(mInputDir.resolve("test.json")); in setUp()
119 mOptionSetter.setOptionValue("uicd-test", TEST_KEY, mTestFile.toString()); in setUp()
141 eq(INPUT_OPTION), eq(mTestFile.toString()), in testRun()
203 mTestFile.toFile().delete(); in testRun_testNotFound()
251 eq(INPUT_OPTION), eq(mTestFile.toString()), in testRun_playMode()
265 eq(INPUT_OPTION), eq(mTestFile.toString()), in testRun_globalVariables()