"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/ReactiveWebServerFactoryCustomizerTests.java" between
spring-boot-2.7.3.tar.gz and spring-boot-2.7.4.tar.gz

About: Spring Boot helps to create Spring-powered, production-grade applications and services.

ReactiveWebServerFactoryCustomizerTests.java  (spring-boot-2.7.3):ReactiveWebServerFactoryCustomizerTests.java  (spring-boot-2.7.4)
skipping to change at line 62 skipping to change at line 62
void testCustomizeServerPort() { void testCustomizeServerPort() {
ConfigurableReactiveWebServerFactory factory = mock(ConfigurableR eactiveWebServerFactory.class); ConfigurableReactiveWebServerFactory factory = mock(ConfigurableR eactiveWebServerFactory.class);
this.properties.setPort(9000); this.properties.setPort(9000);
this.customizer.customize(factory); this.customizer.customize(factory);
then(factory).should().setPort(9000); then(factory).should().setPort(9000);
} }
@Test @Test
void testCustomizeServerAddress() { void testCustomizeServerAddress() {
ConfigurableReactiveWebServerFactory factory = mock(ConfigurableR eactiveWebServerFactory.class); ConfigurableReactiveWebServerFactory factory = mock(ConfigurableR eactiveWebServerFactory.class);
InetAddress address = mock(InetAddress.class); InetAddress address = InetAddress.getLoopbackAddress();
this.properties.setAddress(address); this.properties.setAddress(address);
this.customizer.customize(factory); this.customizer.customize(factory);
then(factory).should().setAddress(address); then(factory).should().setAddress(address);
} }
@Test @Test
void testCustomizeServerSsl() { void testCustomizeServerSsl() {
ConfigurableReactiveWebServerFactory factory = mock(ConfigurableR eactiveWebServerFactory.class); ConfigurableReactiveWebServerFactory factory = mock(ConfigurableR eactiveWebServerFactory.class);
Ssl ssl = mock(Ssl.class); Ssl ssl = mock(Ssl.class);
this.properties.setSsl(ssl); this.properties.setSsl(ssl);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)