|
|
@ -112,6 +112,14 @@ public class ThymeleafReactiveAutoConfigurationTests {
|
|
|
|
assertThat(views.getViewNames()).isEqualTo(new String[] { "foo", "bar" });
|
|
|
|
assertThat(views.getViewNames()).isEqualTo(new String[] { "foo", "bar" });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
|
|
|
|
public void overrideMaxChunkSize() throws Exception {
|
|
|
|
|
|
|
|
load(BaseConfiguration.class, "spring.thymeleaf.reactive.maxChunkSize:8192");
|
|
|
|
|
|
|
|
ThymeleafReactiveViewResolver views = this.context
|
|
|
|
|
|
|
|
.getBean(ThymeleafReactiveViewResolver.class);
|
|
|
|
|
|
|
|
assertThat(views.getResponseMaxChunkSizeBytes()).isEqualTo(Integer.valueOf(8192));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|
public void overrideFullModeViewNames() throws Exception {
|
|
|
|
public void overrideFullModeViewNames() throws Exception {
|
|
|
|
load(BaseConfiguration.class, "spring.thymeleaf.reactive.fullModeViewNames:foo,bar");
|
|
|
|
load(BaseConfiguration.class, "spring.thymeleaf.reactive.fullModeViewNames:foo,bar");
|
|
|
|