Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DZipUtilTest.java62 ZipUtil.isZipFileValid(getTestDataFile("normal"), false)); in testSimpleCorruptZipCheck()
64 ZipUtil.isZipFileValid(getTestDataFile("truncated"), false)); in testSimpleCorruptZipCheck()
66 ZipUtil.isZipFileValid(getTestDataFile("corrupt"), false)); in testSimpleCorruptZipCheck()
74 ZipUtil.isZipFileValid(getTestDataFile("normal"), true)); in testThoroughCorruptZipCheck()
76 ZipUtil.isZipFileValid(getTestDataFile("truncated"), true)); in testThoroughCorruptZipCheck()
78 ZipUtil.isZipFileValid(getTestDataFile("corrupt"), true)); in testThoroughCorruptZipCheck()
148 assertFalse(ZipUtil.isZipFileValid(file, true)); in testZipFileDoesNotExist()
149 assertFalse(ZipUtil.isZipFileValid(file, false)); in testZipFileDoesNotExist()
/tools/tradefederation/core/src/com/android/tradefed/util/
DZipUtil.java55 public static boolean isZipFileValid(File zipFile, boolean thorough) throws IOException { in isZipFileValid() method in ZipUtil