Class ch.std.jumpstart.JumpstartApplicationJpaTests

2

tests

0

failures

0

ignored

0.850s

duration

100%

successful

Tests

Test Duration Result
contextLoads 0.005s passed
testCityAutoCompleteController 0.845s passed

Standard output

02:46:49.179 [Test worker] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class ch.std.jumpstart.JumpstartApplicationJpaTests]
02:46:49.186 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
02:46:49.196 [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)]
02:46:49.219 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [ch.std.jumpstart.JumpstartApplicationJpaTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
02:46:49.229 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [ch.std.jumpstart.JumpstartApplicationJpaTests], using SpringBootContextLoader
02:46:49.232 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [ch.std.jumpstart.JumpstartApplicationJpaTests]: class path resource [ch/std/jumpstart/JumpstartApplicationJpaTests-context.xml] does not exist
02:46:49.233 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [ch.std.jumpstart.JumpstartApplicationJpaTests]: class path resource [ch/std/jumpstart/JumpstartApplicationJpaTestsContext.groovy] does not exist
02:46:49.233 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [ch.std.jumpstart.JumpstartApplicationJpaTests]: no resource found for suffixes {-context.xml, Context.groovy}.
02:46:49.234 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [ch.std.jumpstart.JumpstartApplicationJpaTests]: JumpstartApplicationJpaTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
02:46:49.271 [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 [ch.std.jumpstart.JumpstartApplicationJpaTests]
02:46:49.371 [Test worker] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [/home/user/eclipse-workspace2/jumpstart/build/classes/java/main/ch/std/jumpstart/JumpstartApplication.class]
02:46:49.373 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration ch.std.jumpstart.JumpstartApplication for test class ch.std.jumpstart.JumpstartApplicationJpaTests
02:46:49.508 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [ch.std.jumpstart.JumpstartApplicationJpaTests]: using defaults.
02:46:49.508 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [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.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, 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]
02:46:49.525 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@72e2cc46, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@40c2a1bf, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@4e251428, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@3898e69e, org.springframework.test.context.support.DirtiesContextTestExecutionListener@5c7c9d37, org.springframework.test.context.transaction.TransactionalTestExecutionListener@9e6005e, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6f04d11e, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@10576676, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@287ac46e, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@11a7d5cf, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@58627ac4, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@732dc368]
02:46:49.528 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ch.std.jumpstart.JumpstartApplicationJpaTests]
02:46:49.529 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ch.std.jumpstart.JumpstartApplicationJpaTests]
02:46:49.529 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ch.std.jumpstart.JumpstartApplicationJpaTests]
02:46:49.530 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ch.std.jumpstart.JumpstartApplicationJpaTests]
02:46:49.534 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@289fba1a testClass = JumpstartApplicationJpaTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@3df6ce6c testClass = JumpstartApplicationJpaTests, locations = '{}', classes = '{class ch.std.jumpstart.JumpstartApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=0}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@66cb92a8, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@33bb62f8, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55d02577, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@518b1ab4], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> false]], class annotated with @DirtiesContext [false] with mode [null].
02:46:49.535 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [ch.std.jumpstart.JumpstartApplicationJpaTests]
02:46:49.535 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [ch.std.jumpstart.JumpstartApplicationJpaTests]
02:46:49.539 [Test worker] DEBUG org.springframework.test.context.support.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@289fba1a testClass = JumpstartApplicationJpaTests, testInstance = ch.std.jumpstart.JumpstartApplicationJpaTests@2e944798, testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@3df6ce6c testClass = JumpstartApplicationJpaTests, locations = '{}', classes = '{class ch.std.jumpstart.JumpstartApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=0}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@66cb92a8, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@33bb62f8, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@55d02577, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@518b1ab4], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> false]]].
02:46:49.571 [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=0}

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

2018-11-24 02:46:49.920  INFO 16695 --- [    Test worker] c.s.j.JumpstartApplicationJpaTests       : Starting JumpstartApplicationJpaTests on ubuntu with PID 16695 (started by user in /home/user/eclipse-workspace2/jumpstart)
2018-11-24 02:46:49.923  INFO 16695 --- [    Test worker] c.s.j.JumpstartApplicationJpaTests       : No active profile set, falling back to default profiles: default
2018-11-24 02:46:51.184  INFO 16695 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2018-11-24 02:46:51.299  INFO 16695 --- [    Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 104ms. Found 1 repository interfaces.
2018-11-24 02:46:52.057  INFO 16695 --- [    Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$8ec3cf9f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-24 02:46:52.114  INFO 16695 --- [    Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.hateoas.config.HateoasConfiguration' of type [org.springframework.hateoas.config.HateoasConfiguration$$EnhancerBySpringCGLIB$$e441cd1] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2018-11-24 02:46:52.980  INFO 16695 --- [    Test worker] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 0 (http)
2018-11-24 02:46:53.008  INFO 16695 --- [    Test worker] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2018-11-24 02:46:53.009  INFO 16695 --- [    Test worker] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/9.0.12
2018-11-24 02:46:53.023  INFO 16695 --- [    Test worker] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib]
2018-11-24 02:46:53.167  INFO 16695 --- [    Test worker] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2018-11-24 02:46:53.168  INFO 16695 --- [    Test worker] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 3216 ms
2018-11-24 02:46:53.275  INFO 16695 --- [    Test worker] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
2018-11-24 02:46:53.280  INFO 16695 --- [    Test worker] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2018-11-24 02:46:53.281  INFO 16695 --- [    Test worker] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-11-24 02:46:53.281  INFO 16695 --- [    Test worker] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'formContentFilter' to: [/*]
2018-11-24 02:46:53.282  INFO 16695 --- [    Test worker] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2018-11-24 02:46:53.494  INFO 16695 --- [    Test worker] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Starting...
2018-11-24 02:46:53.727  INFO 16695 --- [    Test worker] com.zaxxer.hikari.HikariDataSource       : HikariPool-1 - Start completed.
2018-11-24 02:46:53.865  INFO 16695 --- [    Test worker] o.hibernate.jpa.internal.util.LogHelper  : HHH000204: Processing PersistenceUnitInfo [
	name: default
	...]
2018-11-24 02:46:53.980  INFO 16695 --- [    Test worker] org.hibernate.Version                    : HHH000412: Hibernate Core {5.3.7.Final}
2018-11-24 02:46:53.982  INFO 16695 --- [    Test worker] org.hibernate.cfg.Environment            : HHH000206: hibernate.properties not found
2018-11-24 02:46:54.216  INFO 16695 --- [    Test worker] o.hibernate.annotations.common.Version   : HCANN000001: Hibernate Commons Annotations {5.0.4.Final}
2018-11-24 02:46:54.443  INFO 16695 --- [    Test worker] org.hibernate.dialect.Dialect            : HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2018-11-24 02:46:55.212  INFO 16695 --- [    Test worker] o.h.t.schema.internal.SchemaCreatorImpl  : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@4325fb1a'
2018-11-24 02:46:55.226  INFO 16695 --- [    Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2018-11-24 02:46:55.726  INFO 16695 --- [    Test worker] o.h.h.i.QueryTranslatorFactoryInitiator  : HHH000397: Using ASTQueryTranslatorFactory
2018-11-24 02:46:57.681  INFO 16695 --- [    Test worker] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2018-11-24 02:46:57.837  WARN 16695 --- [    Test worker] aWebConfiguration$JpaWebMvcConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2018-11-24 02:46:58.744  INFO 16695 --- [    Test worker] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 42783 (http) with context path ''
2018-11-24 02:46:58.750  INFO 16695 --- [    Test worker] c.s.j.JumpstartApplicationJpaTests       : Started JumpstartApplicationJpaTests in 9.176 seconds (JVM running for 10.496)
2018-11-24 02:46:59.281  INFO 16695 --- [o-auto-1-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2018-11-24 02:46:59.283  INFO 16695 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2018-11-24 02:46:59.328  INFO 16695 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 43 ms