mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Remove unwanted System.out calls in test code
This commit is contained in:
parent
bacf0878af
commit
b3e0a37197
@ -18,7 +18,6 @@ package org.springframework.boot.autoconfigure.web;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import com.google.gson.Gson;
|
||||
@ -220,10 +219,6 @@ public class HttpMessageConvertersAutoConfigurationTests {
|
||||
RepositoryRestMvcConfiguration.class,
|
||||
HttpMessageConvertersAutoConfiguration.class);
|
||||
this.context.refresh();
|
||||
|
||||
Map<String, MappingJackson2HttpMessageConverter> beansOfType = this.context
|
||||
.getBeansOfType(MappingJackson2HttpMessageConverter.class);
|
||||
System.out.println(beansOfType);
|
||||
BeanDefinition beanDefinition = this.context
|
||||
.getBeanDefinition("mappingJackson2HttpMessageConverter");
|
||||
assertThat(beanDefinition.getFactoryBeanName()).isEqualTo(
|
||||
|
@ -139,7 +139,6 @@ public class ResourceMatcherTests {
|
||||
.find(Arrays.asList(new File("src/test/resources/resource-matcher/one"),
|
||||
new File("src/test/resources/resource-matcher/two"),
|
||||
new File("src/test/resources/resource-matcher/three")));
|
||||
System.out.println(matchedResources);
|
||||
List<String> paths = new ArrayList<String>();
|
||||
for (MatchedResource resource : matchedResources) {
|
||||
paths.add(resource.getName());
|
||||
|
Loading…
Reference in New Issue
Block a user