Java 类org.junit.experimental.theories.suppliers.TestedOnSupplier 实例源码

项目:java-samples    文件:PresentationSpecificitesSlf4JTest.java   
@Test
public void should_work_with_every_parameter_type() {
    MDC.clear();
    utilisationCrochetsBasique(45, new ArrayList<String>());
    utilisationCrochetsBasique(NullPointerException.class, 42);
    utilisationCrochetsBasique(new TestedOnSupplier(), 0x00100);
}
项目:sosiefier    文件:TestedOnSupplierTest.java   
@Test
public void descriptionStatesParameterName() throws Exception {
    TestedOnSupplier supplier = new TestedOnSupplier();
    List<PotentialAssignment> assignments = supplier.getValueSources(signatureOfFoo());
    assertThat(assignments.get(0).getDescription(), is("\"1\" <from ints>"));
}
项目:junit    文件:TestedOnSupplierTest.java   
@Test
public void descriptionStatesParameterName() throws Exception {
    TestedOnSupplier supplier = new TestedOnSupplier();
    List<PotentialAssignment> assignments = supplier.getValueSources(signatureOfFoo());
    assertThat(assignments.get(0).getDescription(), is("ints"));
}
项目:health-and-care-developer-network    文件:TestedOnSupplierTest.java   
@Test
public void descriptionStatesParameterName() throws Exception {
    TestedOnSupplier supplier = new TestedOnSupplier();
    List<PotentialAssignment> assignments = supplier.getValueSources(signatureOfFoo());
    assertThat(assignments.get(0).getDescription(), is("ints"));
}