Class com.example.heroku.HerokuApplicationTests

1

tests

0

failures

0

ignored

0.375s

duration

100%

successful

Tests

Test Duration Result
contextLoads 0.375s passed

Standard output

16:38:49.163 [Test worker] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class com.example.heroku.HerokuApplicationTests]
16:38:49.194 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
16:38:49.210 [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)]
16:38:49.241 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.example.heroku.HerokuApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
16:38:49.288 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.example.heroku.HerokuApplicationTests], using SpringBootContextLoader
16:38:49.288 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.example.heroku.HerokuApplicationTests]: class path resource [com/example/heroku/HerokuApplicationTests-context.xml] does not exist
16:38:49.288 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.example.heroku.HerokuApplicationTests]: class path resource [com/example/heroku/HerokuApplicationTestsContext.groovy] does not exist
16:38:49.288 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.example.heroku.HerokuApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
16:38:49.288 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.example.heroku.HerokuApplicationTests]: HerokuApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
16:38:49.475 [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.heroku.HerokuApplicationTests]
16:38:49.631 [Test worker] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\Users\bshkarban\IdeaProjects\gradle-getting-started\build\classes\java\main\com\example\heroku\HerokuApplication.class]
16:38:49.631 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.example.heroku.HerokuApplication for test class com.example.heroku.HerokuApplicationTests
16:38:49.872 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [com.example.heroku.HerokuApplicationTests]: using defaults.
16:38:49.872 [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]
16:38:49.935 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3b82b225, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@59d3bbe5, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@2dd101fb, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@5f1b3aa5, org.springframework.test.context.support.DirtiesContextTestExecutionListener@71a6a8f9, org.springframework.test.context.transaction.TransactionalTestExecutionListener@35ee39bb, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@10953824, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@165df681, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@52f865d3, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@169fbdd6, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@2ff2e339, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@5662e1b8]
16:38:49.935 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.example.heroku.HerokuApplicationTests]
16:38:49.935 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.example.heroku.HerokuApplicationTests]
16:38:49.951 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.example.heroku.HerokuApplicationTests]
16:38:49.951 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.example.heroku.HerokuApplicationTests]
16:38:49.982 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@5944d8ae testClass = HerokuApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@236a33e1 testClass = HerokuApplicationTests, locations = '{}', classes = '{class com.example.heroku.HerokuApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@56710dea, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@58ff7daf, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@3e232258, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@578c95ce], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null].
16:38:49.982 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.example.heroku.HerokuApplicationTests]
16:38:49.982 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.example.heroku.HerokuApplicationTests]
16:38:50.013 [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}

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

2019-04-23 16:38:50.685  INFO 18176 --- [    Test worker] c.example.heroku.HerokuApplicationTests  : Starting HerokuApplicationTests on ZENLAR0102 with PID 18176 (started by bshkarban in C:\Users\bshkarban\IdeaProjects\gradle-getting-started)
2019-04-23 16:38:50.685  INFO 18176 --- [    Test worker] c.example.heroku.HerokuApplicationTests  : The following profiles are active: production
2019-04-23 16:38:53.560  INFO 18176 --- [    Test worker] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'applicationTaskExecutor'
2019-04-23 16:38:53.997  INFO 18176 --- [    Test worker] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page template: index
2019-04-23 16:38:54.388  INFO 18176 --- [    Test worker] c.example.heroku.HerokuApplicationTests  : Started HerokuApplicationTests in 4.359 seconds (JVM running for 6.812)