Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 14 of 14) sorted by relevance

/test/app_compat/csuite/harness/src/test/java/com/android/csuite/testing/
DMoreAssertsTest.java30 @Test(expected = AssertionError.class)
41 @Test(expected = AssertionError.class)
50 @Test(expected = AssertionError.class)
61 IllegalArgumentException expected = new IllegalArgumentException(); in assertThrows_expectedExceptionTypeThrown_returnsSameObject() local
67 throw expected; in assertThrows_expectedExceptionTypeThrown_returnsSameObject()
70 assertThat(actual).isSameInstanceAs(expected); in assertThrows_expectedExceptionTypeThrown_returnsSameObject()
75 IllegalArgumentException expected = new IllegalArgumentException(); in assertThrows_subTypeOfExpectedExceptionTypeThrown_returnsSameObject() local
81 throw expected; in assertThrows_subTypeOfExpectedExceptionTypeThrown_returnsSameObject()
84 assertThat(actual).isSameInstanceAs(expected); in assertThrows_subTypeOfExpectedExceptionTypeThrown_returnsSameObject()
DCorrespondencesTest.java32 @Test(expected = AssertionError.class)
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/config/
DAppRemoteFileResolverTest.java155 File expected = temporaryFolder.newFolder(); in templateHasNoPlaceholders_returnsFileWithoutExpansion() local
156 String expectedPathWithFilePrefix = "file:" + expected.toString(); in templateHasNoPlaceholders_returnsFileWithoutExpansion()
157 AppRemoteFileResolver resolver = newResolverWithTemplate(expected.toURI().toString()); in templateHasNoPlaceholders_returnsFileWithoutExpansion()
161 if (!actual.equals(expected) && !actual.toString().equals(expectedPathWithFilePrefix)) { in templateHasNoPlaceholders_returnsFileWithoutExpansion()
162 fail(String.format("Actual %s does not match expected %s", actual, expected)); in templateHasNoPlaceholders_returnsFileWithoutExpansion()
193 File expected = new File(parent, PACKAGE_NAME); in templateContainsPlaceholder_resolvesUriToFile() local
200 assertThat(actual).isEqualTo(expected); in templateContainsPlaceholder_resolvesUriToFile()
219 File expected = uriToFile(uri); in templateExpandsToUriWithUnsupportedScheme_returnsExpandedUri() local
223 assertThat(actual).isEqualTo(expected); in templateExpandsToUriWithUnsupportedScheme_returnsExpandedUri()
/test/suite_harness/common/host-side/util/tests/src/com/android/compatibility/common/util/
DBusinessLogicHostExecutorTest.java180 @Test(expected = RuntimeException.class)
185 @Test(expected = RuntimeException.class)
190 @Test(expected = RuntimeException.class)
195 @Test(expected = RuntimeException.class)
208 @Test(expected = RuntimeException.class)
222 @Test(expected = RuntimeException.class)
DModuleResultTest.java119 } catch (IllegalArgumentException expected) {} in testMergeModule_mismatchedModuleId()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDynamicConfigPusherTest.java167 } catch (TargetSetupError expected) { in testLocalRead_fileNotFound()
171 expected.getMessage()); in testLocalRead_fileNotFound()
186 } catch (TargetSetupError expected) { in testResourceRead_notFound()
190 expected.getMessage()); in testResourceRead_notFound()
DMediaPreparerTest.java391 } catch (TargetSetupError expected) { in testGetDynamicConfig_outOfOrder()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/
DDynamicConfigFileReaderTest.java79 } catch (XmlPullParserException expected) { in testGetValueFromFile_invalidFile()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousResultLoaderTest.java100 } catch (RuntimeException expected) { in testReloadTests_failed()
102 assertEquals("Could not find any test-record.pb to load.", expected.getMessage()); in testReloadTests_failed()
/test/app_compat/csuite/harness/src/test/java/com/android/compatibility/targetprep/
DCheckGmsPreparerTest.java200 (LogItem actual, String expected) -> { in createContainsErrorLogCorrespondence()
202 && actual.getMessage().contains(expected); in createContainsErrorLogCorrespondence()
/test/vts-testcase/kernel/bow/
DBowTest.cpp303 std::string expected = "Sector " + std::to_string(i); in FindChanged() local
304 EXPECT_STREQ(buffer, expected.c_str()); in FindChanged()
/test/mlts/benchmark/jni/
Drun_tflite.cpp307 const float* expected = reinterpret_cast<const float*>(expected_data); in getOutputError() local
311 float err = output_raw[i] - expected[i]; in getOutputError()
/test/app_compat/csuite/
Dpylintrc294 expected-line-ending-format=
/test/mlts/models/assets/asr_float/
DLICENSE32 material as expected. Licensors should clearly mark any