Files
learn-with-making-clean-arc…/WebServiceBySpringBootAndAWS/build/reports/tests/test/classes/com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest.html

179 lines
19 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
<title>Test results - Class com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest</title>
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/>
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<script src="../js/report.js" type="text/javascript"></script>
</head>
<body>
<div id="content">
<h1>Class com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest</h1>
<div class="breadcrumbs">
<a href="../index.html">all</a> &gt;
<a href="../packages/com.banjjoknim.book.springboot.domain.posts.html">com.banjjoknim.book.springboot.domain.posts</a> &gt; PostsRepositoryTest</div>
<div id="summary">
<table>
<tr>
<td>
<div class="summaryGroup">
<table>
<tr>
<td>
<div class="infoBox" id="tests">
<div class="counter">2</div>
<p>tests</p>
</div>
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">0</div>
<p>failures</p>
</div>
</td>
<td>
<div class="infoBox" id="ignored">
<div class="counter">0</div>
<p>ignored</p>
</div>
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">0.269s</div>
<p>duration</p>
</div>
</td>
</tr>
</table>
</div>
</td>
<td>
<div class="infoBox success" id="successRate">
<div class="percent">100%</div>
<p>successful</p>
</div>
</td>
</tr>
</table>
</div>
<div id="tabs">
<ul class="tabLinks">
<li>
<a href="#tab0">Tests</a>
</li>
<li>
<a href="#tab1">Standard output</a>
</li>
</ul>
<div id="tab0" class="tab">
<h2>Tests</h2>
<table>
<thead>
<tr>
<th>Test</th>
<th>Duration</th>
<th>Result</th>
</tr>
</thead>
<tr>
<td class="success">BaseTimeEntity_등록</td>
<td class="success">0.018s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="success">게시글저장_불러오기</td>
<td class="success">0.251s</td>
<td class="success">passed</td>
</tr>
</table>
</div>
<div id="tab1" class="tab">
<h2>Standard output</h2>
<span class="code">
<pre>15:35:08.843 [Test worker] DEBUG org.springframework.test.context.junit4.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]
15:35:08.843 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
15:35:08.859 [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)]
15:35:08.874 [Test worker] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
15:35:08.890 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest], using SpringBootContextLoader
15:35:08.890 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]: class path resource [com/banjjoknim/book/springboot/domain/posts/PostsRepositoryTest-context.xml] does not exist
15:35:08.890 [Test worker] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]: class path resource [com/banjjoknim/book/springboot/domain/posts/PostsRepositoryTestContext.groovy] does not exist
15:35:08.890 [Test worker] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]: no resource found for suffixes {-context.xml, Context.groovy}.
15:35:08.890 [Test worker] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]: PostsRepositoryTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
15:35:08.937 [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.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]
15:35:09.015 [Test worker] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\Users\User\IdeaProjects\TIL(Today-I-Learned)\WebServiceBySpringBootAndAWS\build\classes\java\main\com\banjjoknim\book\springboot\Application.class]
15:35:09.015 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration com.banjjoknim.book.springboot.Application for test class com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest
15:35:09.124 [Test worker] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]: using defaults.
15:35:09.124 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener, org.springframework.security.test.context.support.ReactorContextTestExecutionListener, 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]
15:35:09.140 [Test worker] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@2bbfc0c4, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@d472061, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@1203784b, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@cadd549, org.springframework.test.context.support.DirtiesContextTestExecutionListener@59418df8, org.springframework.test.context.transaction.TransactionalTestExecutionListener@6d31ea99, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@64f90654, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@69c901f, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@53e7f379, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@3160bebe, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@1d07c560, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@7ff9b2b7, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@13e9ea0a, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@27c82387]
15:35:09.140 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]
15:35:09.140 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]
15:35:09.140 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]
15:35:09.140 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]
15:35:09.140 [Test worker] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@21e49c60 testClass = PostsRepositoryTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@11a13124 testClass = PostsRepositoryTest, locations = '{}', classes = '{class com.banjjoknim.book.springboot.Application}', 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@56a49bff, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5ad4f966, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@f844f52, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@61dbede6], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -&gt; true]], class annotated with @DirtiesContext [false] with mode [null].
15:35:09.140 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]
15:35:09.140 [Test worker] DEBUG org.springframework.test.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest]
15:35:09.171 [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.7.RELEASE)
2020-12-02 15:35:09.437 INFO 13132 --- [ Test worker] c.b.b.s.d.posts.PostsRepositoryTest : Starting PostsRepositoryTest on DESKTOP-FSO9NHB with PID 13132 (started by User in C:\Users\User\IdeaProjects\TIL(Today-I-Learned)\WebServiceBySpringBootAndAWS)
2020-12-02 15:35:09.437 INFO 13132 --- [ Test worker] c.b.b.s.d.posts.PostsRepositoryTest : No active profile set, falling back to default profiles: default
2020-12-02 15:35:10.202 INFO 13132 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2020-12-02 15:35:10.265 INFO 13132 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 63ms. Found 2 repository interfaces.
2020-12-02 15:35:10.671 INFO 13132 --- [ Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$9b5422d2] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-12-02 15:35:10.843 INFO 13132 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
2020-12-02 15:35:11.030 INFO 13132 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2020-12-02 15:35:11.124 INFO 13132 --- [ Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2020-12-02 15:35:11.233 INFO 13132 --- [ Test worker] org.hibernate.Version : HHH000412: Hibernate Core {5.3.10.Final}
2020-12-02 15:35:11.233 INFO 13132 --- [ Test worker] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2020-12-02 15:35:11.421 INFO 13132 --- [ Test worker] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.4.Final}
2020-12-02 15:35:11.577 INFO 13132 --- [ Test worker] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
Hibernate: drop table if exists posts
Hibernate: drop table if exists user
Hibernate: create table posts (id bigint not null auto_increment, created_date datetime, modified_date datetime, author varchar(255), content TEXT not null, title varchar(500) not null, primary key (id)) engine=InnoDB
Hibernate: create table user (id bigint not null auto_increment, created_date datetime, modified_date datetime, email varchar(255) not null, name varchar(255) not null, picture varchar(255), role varchar(255) not null, primary key (id)) engine=InnoDB
2020-12-02 15:35:12.264 INFO 13132 --- [ Test worker] o.h.t.schema.internal.SchemaCreatorImpl : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@75bc8cf5'
2020-12-02 15:35:12.264 INFO 13132 --- [ Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2020-12-02 15:35:12.762 INFO 13132 --- [ Test worker] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory
2020-12-02 15:35:13.168 INFO 13132 --- [ Test worker] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@55de361f, org.springframework.security.web.context.SecurityContextPersistenceFilter@4ae4d4db, org.springframework.security.web.header.HeaderWriterFilter@549c39b, org.springframework.security.web.authentication.logout.LogoutFilter@9f384cb, org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@183d75e5, org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter@7cef32a7, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@3e6cf7c2, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@7934c071, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1e9ff1bf, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@685bd49, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@480fba81, org.springframework.security.web.session.SessionManagementFilter@c9cd571, org.springframework.security.web.access.ExceptionTranslationFilter@4992fe6f, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@55b06158]
2020-12-02 15:35:13.621 INFO 13132 --- [ Test worker] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2020-12-02 15:35:13.684 WARN 13132 --- [ 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
2020-12-02 15:35:13.715 INFO 13132 --- [ Test worker] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2020-12-02 15:35:14.121 INFO 13132 --- [ Test worker] s.a.ScheduledAnnotationBeanPostProcessor : No TaskScheduler/ScheduledExecutorService bean found for scheduled processing
2020-12-02 15:35:14.137 INFO 13132 --- [ Test worker] c.b.b.s.d.posts.PostsRepositoryTest : Started PostsRepositoryTest in 4.95 seconds (JVM running for 5.974)
Hibernate: insert into posts (created_date, modified_date, author, content, title) values (?, ?, ?, ?, ?)
Hibernate: select posts0_.id as id1_0_, posts0_.created_date as created_2_0_, posts0_.modified_date as modified3_0_, posts0_.author as author4_0_, posts0_.content as content5_0_, posts0_.title as title6_0_ from posts posts0_
Hibernate: select posts0_.id as id1_0_, posts0_.created_date as created_2_0_, posts0_.modified_date as modified3_0_, posts0_.author as author4_0_, posts0_.content as content5_0_, posts0_.title as title6_0_ from posts posts0_
Hibernate: delete from posts where id=?
Hibernate: insert into posts (created_date, modified_date, author, content, title) values (?, ?, ?, ?, ?)
Hibernate: select posts0_.id as id1_0_, posts0_.created_date as created_2_0_, posts0_.modified_date as modified3_0_, posts0_.author as author4_0_, posts0_.content as content5_0_, posts0_.title as title6_0_ from posts posts0_
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; createDate=2020-12-02T15:35:14.402599, modifiedDate=2020-12-02T15:35:14.402599
Hibernate: select posts0_.id as id1_0_, posts0_.created_date as created_2_0_, posts0_.modified_date as modified3_0_, posts0_.author as author4_0_, posts0_.content as content5_0_, posts0_.title as title6_0_ from posts posts0_
Hibernate: delete from posts where id=?
</pre>
</span>
</div>
</div>
<div id="footer">
<p>
<div>
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 6.5</a> at 2020. 12. 2. 오후 3:35:17</p>
</div>
</div>
</body>
</html>