Package org.springframework.boot.configurationprocessor

Examples of org.springframework.boot.configurationprocessor.TestCompiler$TestCompilationTask


  protected abstract FieldValuesParser createProcessor(ProcessingEnvironment env);

  @Test
  public void getFieldValues() throws Exception {
    TestProcessor processor = new TestProcessor();
    TestCompiler compiler = new TestCompiler(this.temporaryFolder);
    compiler.getTask(FieldValues.class).call(processor);
    Map<String, Object> values = processor.getValues();
    assertThat(values.get("string"), equalToObject("1"));
    assertThat(values.get("stringNone"), nullValue());
    assertThat(values.get("stringConst"), equalToObject("c"));
    assertThat(values.get("bool"), equalToObject(true));
View Full Code Here

TOP

Related Classes of org.springframework.boot.configurationprocessor.TestCompiler$TestCompilationTask

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.