Java 类org.junit.experimental.results.ResultMatchers 实例源码
项目:sosiefier
文件:WithExtendedParameterSources.java
@Test
public void testedOnLimitsParameters() throws Exception {
assertThat(testResult(ParameterAnnotations.class), ResultMatchers
.isSuccessful());
}
项目:sosiefier
文件:ResultMatchersTest.java
@Test
public void hasFailuresHasGoodDescription() {
assertThat(ResultMatchers.failureCountIs(3).toString(),
is("has 3 failures"));
}
项目:sosiefier
文件:ResultMatchersTest.java
@Theory
public void hasFailuresDescriptionReflectsInput(int i) {
assertThat(ResultMatchers.failureCountIs(i).toString(),
containsString("" + i));
}
项目:junit
文件:WithExtendedParameterSources.java
@Test
public void testedOnLimitsParameters() throws Exception {
assertThat(testResult(ParameterAnnotations.class), ResultMatchers
.isSuccessful());
}
项目:junit
文件:ResultMatchersTest.java
@Test
public void hasFailuresHasGoodDescription() {
assertThat(ResultMatchers.failureCountIs(3).toString(),
is("has 3 failures"));
}
项目:junit
文件:ResultMatchersTest.java
@Theory
public void hasFailuresDescriptionReflectsInput(int i) {
assertThat(ResultMatchers.failureCountIs(i).toString(),
containsString("" + i));
}
项目:health-and-care-developer-network
文件:WithExtendedParameterSources.java
@Test
public void testedOnLimitsParameters() throws Exception {
assertThat(testResult(ParameterAnnotations.class), ResultMatchers
.isSuccessful());
}
项目:health-and-care-developer-network
文件:ResultMatchersTest.java
@Test
public void hasFailuresHasGoodDescription() {
assertThat(ResultMatchers.failureCountIs(3).toString(),
is("has 3 failures"));
}
项目:health-and-care-developer-network
文件:ResultMatchersTest.java
@Theory
public void hasFailuresDescriptionReflectsInput(int i) {
assertThat(ResultMatchers.failureCountIs(i).toString(),
containsString("" + i));
}