Class com.example.Lab16p2ApplicationTests

1

tests

0

failures

0

ignored

0.030s

duration

100%

successful

Tests

Test Duration Result
contextLoads 0.030s passed

Standard output

12:04:34.952 [Test worker] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class com.example.Lab16p2ApplicationTests]
12:04:34.956 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
12:04:34.967 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
12:04:34.986 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.example.Lab16p2ApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
12:04:35.001 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.example.Lab16p2ApplicationTests], using SpringBootContextLoader
12:04:35.006 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.example.Lab16p2ApplicationTests]: class path resource [com/example/Lab16p2ApplicationTests-context.xml] does not exist
12:04:35.007 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.example.Lab16p2ApplicationTests]: class path resource [com/example/Lab16p2ApplicationTestsContext.groovy] does not exist
12:04:35.007 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.example.Lab16p2ApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
12:04:35.008 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.example.Lab16p2ApplicationTests]: Lab16p2ApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
12:04:35.051 [Test worker] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.example.Lab16p2ApplicationTests]
12:04:35.062 [Test worker] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
12:04:35.062 [Test worker] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
12:04:35.062 [Test worker] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
12:04:35.072 [Test worker] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Resolved classpath location [com/example/] to resources [URL [file:/E:/class-dirs/tdp-webweek2-2017/workspace/lab16p4/build/classes/test/com/example/], URL [file:/E:/class-dirs/tdp-webweek2-2017/workspace/lab16p4/build/classes/main/com/example/]]
12:04:35.072 [Test worker] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [E:\class-dirs\tdp-webweek2-2017\workspace\lab16p4\build\classes\test\com\example]
12:04:35.072 [Test worker] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Searching directory [E:\class-dirs\tdp-webweek2-2017\workspace\lab16p4\build\classes\test\com\example] for files matching pattern [E:/class-dirs/tdp-webweek2-2017/workspace/lab16p4/build/classes/test/com/example/*.class]
12:04:35.074 [Test worker] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [E:\class-dirs\tdp-webweek2-2017\workspace\lab16p4\build\classes\main\com\example]
12:04:35.075 [Test worker] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Searching directory [E:\class-dirs\tdp-webweek2-2017\workspace\lab16p4\build\classes\main\com\example] for files matching pattern [E:/class-dirs/tdp-webweek2-2017/workspace/lab16p4/build/classes/main/com/example/*.class]
12:04:35.076 [Test worker] DEBUG org.springframework.core.io.support.PathMatchingResourcePatternResolver - Resolved location pattern [classpath*:com/example/*.class] to resources [file [E:\class-dirs\tdp-webweek2-2017\workspace\lab16p4\build\classes\test\com\example\Lab16p2ApplicationTests.class], file [E:\class-dirs\tdp-webweek2-2017\workspace\lab16p4\build\classes\main\com\example\Lab16p2Application.class], file [E:\class-dirs\tdp-webweek2-2017\workspace\lab16p4\build\classes\main\com\example\MyServletInitializer.class]]
12:04:35.120 [Test worker] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [E:\class-dirs\tdp-webweek2-2017\workspace\lab16p4\build\classes\main\com\example\Lab16p2Application.class]
12:04:35.122 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.example.Lab16p2Application for test class com.example.Lab16p2ApplicationTests
12:04:35.126 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [com.example.Lab16p2ApplicationTests]: using defaults.
12:04:35.140 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
12:04:35.159 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@ac5913, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@308c13, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@170e174, org.springframework.test.context.support.DirtiesContextTestExecutionListener@1ce5e3b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@186e750, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@146ba67, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@13d8b7a, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@9539e0, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@d7fb05, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2eeafa, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@1fddc5e, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@c0a2b8]
12:04:35.162 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.example.Lab16p2ApplicationTests]
12:04:35.162 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.example.Lab16p2ApplicationTests]
12:04:35.163 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.example.Lab16p2ApplicationTests]
12:04:35.163 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.example.Lab16p2ApplicationTests]
12:04:35.167 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@edaf10 testClass = Lab16p2ApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@c6c089 testClass = Lab16p2ApplicationTests, locations = '{}', classes = '{class com.example.Lab16p2Application}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.SpringBootTestContextCustomizer@11342a8, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@1bb030b, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@156c25], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null].
12:04:35.168 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.example.Lab16p2ApplicationTests]
12:04:35.168 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.example.Lab16p2ApplicationTests]
12:04:35.227 [Test worker] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
12:04:35.227 [Test worker] DEBUG org.springframework.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
12:04:35.227 [Test worker] DEBUG org.springframework.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
12:04:35.228 [Test worker] DEBUG org.springframework.core.env.MutablePropertySources - Adding [inline] PropertySource with highest search precedence
12:04:35.235 [Test worker] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=-1}
12:04:35.236 [Test worker] DEBUG org.springframework.core.env.StandardEnvironment - Adding [Inlined Test Properties] PropertySource with highest search precedence

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.5.1.RELEASE)

2017-03-03 12:04:35.520  INFO 2160 --- [    Test worker] com.example.Lab16p2ApplicationTests      : Starting Lab16p2ApplicationTests on jbarnum-PC with PID 2160 (started by jbarnum in E:\class-dirs\tdp-webweek2-2017\workspace\lab16p4)
2017-03-03 12:04:35.521  INFO 2160 --- [    Test worker] com.example.Lab16p2ApplicationTests      : No active profile set, falling back to default profiles: default
2017-03-03 12:04:35.578  INFO 2160 --- [    Test worker] o.s.w.c.s.GenericWebApplicationContext   : Refreshing org.springframework.web.context.support.GenericWebApplicationContext@11d7c4e: startup date [Fri Mar 03 12:04:35 EST 2017]; root of context hierarchy
2017-03-03 12:04:36.484  INFO 2160 --- [    Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration' of type [class org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-03 12:04:36.586  INFO 2160 --- [    Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'validator' of type [class org.springframework.validation.beanvalidation.LocalValidatorFactoryBean] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-03 12:04:36.626  INFO 2160 --- [    Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$5cb3f3ab] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-03-03 12:04:37.351  INFO 2160 --- [    Test worker] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@11d7c4e: startup date [Fri Mar 03 12:04:35 EST 2017]; root of context hierarchy
2017-03-03 12:04:37.417  INFO 2160 --- [    Test worker] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/customer],methods=[GET]}" onto public java.util.List<com.example.domain.Customer> com.example.controllers.CustomerController.getSegments()
2017-03-03 12:04:37.420  INFO 2160 --- [    Test worker] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2017-03-03 12:04:37.421  INFO 2160 --- [    Test worker] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2017-03-03 12:04:37.460  INFO 2160 --- [    Test worker] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-03-03 12:04:37.460  INFO 2160 --- [    Test worker] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-03-03 12:04:37.502  INFO 2160 --- [    Test worker] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2017-03-03 12:04:37.752  INFO 2160 --- [    Test worker] com.example.Lab16p2ApplicationTests      : Started Lab16p2ApplicationTests in 2.508 seconds (JVM running for 3.375)