Searched refs:getCauses (Results 1 – 2 of 2) sorted by relevance
255 Assert.assertEquals(e.getCauses().size(), 2); in testThrowingErrorReportingRunnerCauses()256 Assert.assertEquals(e.getCauses().get(0).getMessage(), "Cause 1"); in testThrowingErrorReportingRunnerCauses()257 Assert.assertEquals(e.getCauses().get(1).getMessage(), "Cause 2"); in testThrowingErrorReportingRunnerCauses()
162 throw new InitializationError(getCauses((ErrorReportingRunner) runner)); in constructClassRunners()261 private static List<Throwable> getCauses(ErrorReportingRunner runner) { in getCauses() method in LongevitySuite