Home
last modified time | relevance | path

Searched refs:expectedClass (Results 1 – 3 of 3) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/
DUtil.java35 @NonNull Class<? extends Throwable> expectedClass) throws Throwable { in runAndAssertException() argument
39 if (e.getClass().isAssignableFrom(expectedClass)) { in runAndAssertException()
42 Log.e(LOG_TAG, "Expected: " + expectedClass.getName() + ", got: " in runAndAssertException()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DUtils.java56 @NonNull Class<? extends Throwable> expectedClass) throws Throwable { in assertException() argument
60 if (e.getClass().isAssignableFrom(expectedClass)) { in assertException()
63 Log.e(LOG_TAG, "Expected: " + expectedClass.getName() + ", got: " in assertException()
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/
DVehiclePropertyVerifier.java1653 private void handleClassSpecificGetPropertyExceptions(Exception e, Class<?> expectedClass, in handleClassSpecificGetPropertyExceptions() argument
1656 if (mPropertyType.equals(expectedClass)) { in handleClassSpecificGetPropertyExceptions()
1657 assertWithMessage("getProperty for " + expectedClass + " class should not throw" in handleClassSpecificGetPropertyExceptions()
1667 private void verifyClassSpecificGetPropertyResults(T value, Class<?> expectedClass, in verifyClassSpecificGetPropertyResults() argument
1669 if (!mPropertyType.equals(expectedClass)) { in verifyClassSpecificGetPropertyResults()
1670 assertWithMessage("getProperty for " + expectedClass + " class should throw" in verifyClassSpecificGetPropertyResults()