Commit b3e0a371 authored by Andy Wilkinson's avatar Andy Wilkinson

Remove unwanted System.out calls in test code

parent bacf0878
...@@ -18,7 +18,6 @@ package org.springframework.boot.autoconfigure.web; ...@@ -18,7 +18,6 @@ package org.springframework.boot.autoconfigure.web;
import java.util.Arrays; import java.util.Arrays;
import java.util.List; import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.gson.Gson; import com.google.gson.Gson;
...@@ -220,10 +219,6 @@ public class HttpMessageConvertersAutoConfigurationTests { ...@@ -220,10 +219,6 @@ public class HttpMessageConvertersAutoConfigurationTests {
RepositoryRestMvcConfiguration.class, RepositoryRestMvcConfiguration.class,
HttpMessageConvertersAutoConfiguration.class); HttpMessageConvertersAutoConfiguration.class);
this.context.refresh(); this.context.refresh();
Map<String, MappingJackson2HttpMessageConverter> beansOfType = this.context
.getBeansOfType(MappingJackson2HttpMessageConverter.class);
System.out.println(beansOfType);
BeanDefinition beanDefinition = this.context BeanDefinition beanDefinition = this.context
.getBeanDefinition("mappingJackson2HttpMessageConverter"); .getBeanDefinition("mappingJackson2HttpMessageConverter");
assertThat(beanDefinition.getFactoryBeanName()).isEqualTo( assertThat(beanDefinition.getFactoryBeanName()).isEqualTo(
......
...@@ -139,7 +139,6 @@ public class ResourceMatcherTests { ...@@ -139,7 +139,6 @@ public class ResourceMatcherTests {
.find(Arrays.asList(new File("src/test/resources/resource-matcher/one"), .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/two"),
new File("src/test/resources/resource-matcher/three"))); new File("src/test/resources/resource-matcher/three")));
System.out.println(matchedResources);
List<String> paths = new ArrayList<String>(); List<String> paths = new ArrayList<String>();
for (MatchedResource resource : matchedResources) { for (MatchedResource resource : matchedResources) {
paths.add(resource.getName()); paths.add(resource.getName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment