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.java375 public static List<Path> listApks(Path root) throws TestUtilsException { in listApks()
379 throw new TestUtilsException( in listApks()
402 throw new TestUtilsException("Failed to list apk files.", e); in listApks()
411 throw new TestUtilsException( in listApks()
416 throw new TestUtilsException( in listApks()
427 throw new TestUtilsException( in listApks()
440 throw new TestUtilsException( in listApks()
477 public static final class TestUtilsException extends Exception { class in TestUtils
483 private TestUtilsException(String message) { in TestUtilsException() method in TestUtils.TestUtilsException
493 private TestUtilsException(String message, Throwable cause) { in TestUtilsException() method in TestUtils.TestUtilsException
[all …]
DApkInstaller.java19 import com.android.csuite.core.TestUtils.TestUtilsException;
75 } catch (TestUtilsException e) { in install()
DAppCrawlTester.java23 import com.android.csuite.core.TestUtils.TestUtilsException;
626 } catch (TestUtilsException e) { in createUtpCrawlerRunCommand()
711 } catch (TestUtilsException e) { in createCrawlerRunCommand()
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DTestUtilsTest.java186 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withApkDirectoryContainingNoApks_throwException()
195 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withApkDirectoryContainingOnlyObbFiles_throwException()
203 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withNonApkFile_throwException()
213 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withMultipleSingleApks_throwException()
225 assertThrows(TestUtils.TestUtilsException.class, () -> TestUtils.listApks(root)); in listApks_withApksInMultipleDirectories_throwException()