@Test void codePassed() { MatcherAssert.assertThat( new Junit5Status(new Summary(1, 0, 0, 0)).code(), Matchers.is((short) 0)); }
@Override public final short code() { return this.summary.getTotalFailureCount() == 0 ? this.passed : this.failed; }
Junit5Status implements Status { @Override public final short code() { return this.summary.getTotalFailureCount() == 0 ? this.passed : this.failed; } }
Junit5Status implements Status { @Override public final short code() { return this.summary.getTotalFailureCount() == 0 ? this.passed : this.failed; } Junit5Status(TestExecutionSummary testExecutionSummary); }
Junit5Status implements Status { @Override public final short code() { return this.summary.getTotalFailureCount() == 0 ? this.passed : this.failed; } Junit5Status(TestExecutionSummary testExecutionSummary); @Override final short code(); @Override final int runCount(); @Override final int failureCount(); @Override final int ignoreCount(); }
Junit5Status implements Status { @Override public final short code() { return this.summary.getTotalFailureCount() == 0 ? this.passed : this.failed; } Junit5Status(TestExecutionSummary testExecutionSummary); @Override final short code(); @Override final int runCount(); @Override final int failureCount(); @Override final int ignoreCount();  }