@Test public void testCompileIndentedKeywords() throws Exception { TestDataProvider tdp = new TestDataProvider( rows ); final DataProviderCompiler converter = new DataProviderCompiler(); final String drl = converter.compile( tdp, "/templates/rule_template_indented.drl" ); Assertions.assertThat(EXPECTED_RULES.toString()).isEqualToIgnoringWhitespace(drl); }
public String compile(final DataProvider dataProvider, final String template) { final InputStream templateStream = this.getClass().getResourceAsStream(template); return compile(dataProvider, templateStream); }
DataProviderCompiler { public String compile(final DataProvider dataProvider, final String template) { final InputStream templateStream = this.getClass().getResourceAsStream(template); return compile(dataProvider, templateStream); } }
DataProviderCompiler { public String compile(final DataProvider dataProvider, final String template) { final InputStream templateStream = this.getClass().getResourceAsStream(template); return compile(dataProvider, templateStream); }  }
DataProviderCompiler { public String compile(final DataProvider dataProvider, final String template) { final InputStream templateStream = this.getClass().getResourceAsStream(template); return compile(dataProvider, templateStream); }  String compile(final DataProvider dataProvider,
                          final String template); String compile(final DataProvider dataProvider,
                          final InputStream templateStream); String compile(final DataProvider dataProvider,
                          final TemplateDataListener listener); String compile(final DataProvider dataProvider,
                          final String template,
                          boolean replaceOptionals); String compile(final DataProvider dataProvider,
                          final InputStream templateStream,
                          boolean replaceOptionals); String compile(final DataProvider dataProvider,
                          final TemplateDataListener listener,
                          boolean replaceOptionals); void newCell(List<DataListener> listeners,
                        int row,
                        int column,
                        String value,
                        int mergedColStart); }
DataProviderCompiler { public String compile(final DataProvider dataProvider, final String template) { final InputStream templateStream = this.getClass().getResourceAsStream(template); return compile(dataProvider, templateStream); }  String compile(final DataProvider dataProvider,
                          final String template); String compile(final DataProvider dataProvider,
                          final InputStream templateStream); String compile(final DataProvider dataProvider,
                          final TemplateDataListener listener); String compile(final DataProvider dataProvider,
                          final String template,
                          boolean replaceOptionals); String compile(final DataProvider dataProvider,
                          final InputStream templateStream,
                          boolean replaceOptionals); String compile(final DataProvider dataProvider,
                          final TemplateDataListener listener,
                          boolean replaceOptionals); void newCell(List<DataListener> listeners,
                        int row,
                        int column,
                        String value,
                        int mergedColStart);  }