Searched refs:expected (Results 1 – 14 of 14) sorted by relevance
30 @Test(expected = AssertionError.class)41 @Test(expected = AssertionError.class)50 @Test(expected = AssertionError.class)61 IllegalArgumentException expected = new IllegalArgumentException(); in assertThrows_expectedExceptionTypeThrown_returnsSameObject() local67 throw expected; in assertThrows_expectedExceptionTypeThrown_returnsSameObject()70 assertThat(actual).isSameInstanceAs(expected); in assertThrows_expectedExceptionTypeThrown_returnsSameObject()75 IllegalArgumentException expected = new IllegalArgumentException(); in assertThrows_subTypeOfExpectedExceptionTypeThrown_returnsSameObject() local81 throw expected; in assertThrows_subTypeOfExpectedExceptionTypeThrown_returnsSameObject()84 assertThat(actual).isSameInstanceAs(expected); in assertThrows_subTypeOfExpectedExceptionTypeThrown_returnsSameObject()
32 @Test(expected = AssertionError.class)
155 File expected = temporaryFolder.newFolder(); in templateHasNoPlaceholders_returnsFileWithoutExpansion() local156 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() local200 assertThat(actual).isEqualTo(expected); in templateContainsPlaceholder_resolvesUriToFile()219 File expected = uriToFile(uri); in templateExpandsToUriWithUnsupportedScheme_returnsExpandedUri() local223 assertThat(actual).isEqualTo(expected); in templateExpandsToUriWithUnsupportedScheme_returnsExpandedUri()
180 @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)
119 } catch (IllegalArgumentException expected) {} in testMergeModule_mismatchedModuleId()
167 } 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()
391 } catch (TargetSetupError expected) { in testGetDynamicConfig_outOfOrder()
79 } catch (XmlPullParserException expected) { in testGetValueFromFile_invalidFile()
100 } catch (RuntimeException expected) { in testReloadTests_failed()102 assertEquals("Could not find any test-record.pb to load.", expected.getMessage()); in testReloadTests_failed()
200 (LogItem actual, String expected) -> { in createContainsErrorLogCorrespondence()202 && actual.getMessage().contains(expected); in createContainsErrorLogCorrespondence()
303 std::string expected = "Sector " + std::to_string(i); in FindChanged() local304 EXPECT_STREQ(buffer, expected.c_str()); in FindChanged()
307 const float* expected = reinterpret_cast<const float*>(expected_data); in getOutputError() local311 float err = output_raw[i] - expected[i]; in getOutputError()
294 expected-line-ending-format=
32 material as expected. Licensors should clearly mark any