Java 类org.springframework.boot.configurationsample.specific.ExcludedTypesPojo 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:ConfigurationMetadataAnnotationProcessorTests.java   
@Test
public void excludedTypesPojo() throws IOException {
    ConfigurationMetadata metadata = compile(ExcludedTypesPojo.class);
    assertThat(metadata).has(Metadata.withProperty("excluded.name"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.class-loader"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.data-source"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.print-writer"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.writer"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.writer-array"));
}
项目:spring-boot-concourse    文件:ConfigurationMetadataAnnotationProcessorTests.java   
@Test
public void excludedTypesPojo() throws IOException {
    ConfigurationMetadata metadata = compile(ExcludedTypesPojo.class);
    assertThat(metadata).has(Metadata.withProperty("excluded.name"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.class-loader"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.data-source"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.print-writer"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.writer"));
    assertThat(metadata).isNotEqualTo(Metadata.withProperty("excluded.writer-array"));
}
项目:contestparser    文件:ConfigurationMetadataAnnotationProcessorTests.java   
@Test
public void excludedTypesPojo() throws IOException {
    ConfigurationMetadata metadata = compile(ExcludedTypesPojo.class);
    assertThat(metadata, containsProperty("excluded.name"));
    assertThat(metadata, not(containsProperty("excluded.class-loader")));
    assertThat(metadata, not(containsProperty("excluded.data-source")));
    assertThat(metadata, not(containsProperty("excluded.print-writer")));
    assertThat(metadata, not(containsProperty("excluded.writer")));
    assertThat(metadata, not(containsProperty("excluded.writer-array")));
}