Home
last modified time | relevance | path

Searched refs:TestUtilsException (Results 1 – 4 of 4) sorted by relevance

/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/
DTestUtils.java325 public static List<Path> listApks(Path root) throws TestUtilsException { in listApks()
329 throw new TestUtilsException( in listApks()
352 throw new TestUtilsException("Failed to list apk files.", e); in listApks()
361 throw new TestUtilsException( in listApks()
366 throw new TestUtilsException( in listApks()
377 throw new TestUtilsException( in listApks()
390 throw new TestUtilsException( in listApks()
427 public static final class TestUtilsException extends Exception { class in TestUtils
433 private TestUtilsException(String message) { in TestUtilsException() method in TestUtils.TestUtilsException
443 private TestUtilsException(String message, Throwable cause) { in TestUtilsException() method in TestUtils.TestUtilsException
[all …]
DApkInstaller.java19 import com.android.csuite.core.TestUtils.TestUtilsException;
76 } catch (TestUtilsException e) { in install()
DAppCrawlTester.java20 import com.android.csuite.core.TestUtils.TestUtilsException;
374 } catch (TestUtilsException e) { in createUtpCrawlerRunCommand()
453 } catch (TestUtilsException e) { in createCrawlerRunCommand()
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DTestUtilsTest.java185 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withApkDirectoryContainingNoApks_throwException()
194 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withApkDirectoryContainingOnlyObbFiles_throwException()
202 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withNonApkFile_throwException()
212 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withMultipleSingleApks_throwException()
224 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withApksInMultipleDirectories_throwException()