Home
last modified time | relevance | path

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

/tools/metalava/src/test/java/com/android/tools/metalava/
DFileReadSandboxTest.kt36 val badFile = File(root, "badFile").apply { createNewFile() } in Test sandbox() constant
116 assertViolationNotReported(badFile, badDir, badDirFile, subSubDirBadFile) in Test sandbox()
119 badFile.readBytes() in Test sandbox()
123 assertViolationReported(badFile, badDirFile) in Test sandbox()
133 assertViolationNotReported(badFile, badDirFile, subSubDirBadFile) in Test sandbox()
155 badFile.readBytes() in Test sandbox()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFlashingResourcesParserTest.java214 File badFile = FileUtil.createTempFile("foo", ".zip"); in testGetBuildRequirements_notAZip() local
216 new FlashingResourcesParser(badFile); in testGetBuildRequirements_notAZip()
221 badFile.delete(); in testGetBuildRequirements_notAZip()