162 lines
13 KiB
HTML
162 lines
13 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> >
|
|
<a href="../packages/com.banjjoknim.book.springboot.domain.posts.html">com.banjjoknim.book.springboot.domain.posts</a> > 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.162s</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.013s</td>
|
|
<td class="success">passed</td>
|
|
</tr>
|
|
<tr>
|
|
<td class="success">게시글저장_불러오기</td>
|
|
<td class="success">0.149s</td>
|
|
<td class="success">passed</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div id="tab1" class="tab">
|
|
<h2>Standard output</h2>
|
|
<span class="code">
|
|
<pre>2020-11-30 15:14:06.005 INFO 10792 --- [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest], using SpringBootContextLoader
|
|
2020-11-30 15:14:06.005 INFO 10792 --- [ Test worker] o.s.t.c.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}.
|
|
2020-11-30 15:14:06.005 INFO 10792 --- [ Test worker] t.c.s.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.
|
|
2020-11-30 15:14:06.005 INFO 10792 --- [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.banjjoknim.book.springboot.Application for test class com.banjjoknim.book.springboot.domain.posts.PostsRepositoryTest
|
|
2020-11-30 15:14:06.005 INFO 10792 --- [ Test worker] .b.t.c.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]
|
|
2020-11-30 15:14:06.005 INFO 10792 --- [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@494eea6b, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@ad78062, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@70262cf, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@78856d4d, org.springframework.test.context.support.DirtiesContextTestExecutionListener@46a6dd84, org.springframework.test.context.transaction.TransactionalTestExecutionListener@70c481a2, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6444816f, org.springframework.security.test.context.support.WithSecurityContextTestExecutionListener@377877af, org.springframework.security.test.context.support.ReactorContextTestExecutionListener@47c2c639, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@135f86f2, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@53d0220f, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@27e1e2d5, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@76c30b1e, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@19c47b22]
|
|
|
|
. ____ _ __ _ _
|
|
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
|
|
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
|
|
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
|
|
' |____| .__|_| |_|_| |_\__, | / / / /
|
|
=========|_|==============|___/=/_/_/_/
|
|
:: Spring Boot :: (v2.1.7.RELEASE)
|
|
|
|
2020-11-30 15:14:06.020 INFO 10792 --- [ Test worker] c.b.b.s.d.posts.PostsRepositoryTest : Starting PostsRepositoryTest on DESKTOP-FSO9NHB with PID 10792 (started by User in C:\Users\User\IdeaProjects\TIL(Today-I-Learned)\WebServiceBySpringBootAndAWS)
|
|
2020-11-30 15:14:06.036 INFO 10792 --- [ Test worker] c.b.b.s.d.posts.PostsRepositoryTest : No active profile set, falling back to default profiles: default
|
|
2020-11-30 15:14:06.333 INFO 10792 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
|
|
2020-11-30 15:14:06.380 INFO 10792 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 47ms. Found 2 repository interfaces.
|
|
2020-11-30 15:14:06.583 INFO 10792 --- [ Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$d029599b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
|
|
2020-11-30 15:14:06.723 INFO 10792 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
|
|
2020-11-30 15:14:06.879 INFO 10792 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
|
|
2020-11-30 15:14:06.942 INFO 10792 --- [ Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
|
|
name: default
|
|
...]
|
|
2020-11-30 15:14:07.020 INFO 10792 --- [ Test worker] org.hibernate.Version : HHH000412: Hibernate Core {5.3.10.Final}
|
|
2020-11-30 15:14:07.020 INFO 10792 --- [ Test worker] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
|
|
2020-11-30 15:14:07.067 INFO 10792 --- [ Test worker] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.4.Final}
|
|
2020-11-30 15:14:07.223 INFO 10792 --- [ 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-11-30 15:14:07.739 INFO 10792 --- [ Test worker] o.h.t.schema.internal.SchemaCreatorImpl : HHH000476: Executing import script 'org.hibernate.tool.schema.internal.exec.ScriptSourceInputNonExistentImpl@69028332'
|
|
2020-11-30 15:14:07.739 INFO 10792 --- [ Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
|
|
2020-11-30 15:14:08.145 INFO 10792 --- [ Test worker] o.h.h.i.QueryTranslatorFactoryInitiator : HHH000397: Using ASTQueryTranslatorFactory
|
|
2020-11-30 15:14:08.410 INFO 10792 --- [ Test worker] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@585acae0, org.springframework.security.web.context.SecurityContextPersistenceFilter@1f9038fa, org.springframework.security.web.header.HeaderWriterFilter@707a5e43, org.springframework.security.web.authentication.logout.LogoutFilter@6938b66c, org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@3f52e612, org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter@5f02912e, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@77710790, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@27a49d1f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@1d81f472, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3f2b39c7, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@5efb96f4, org.springframework.security.web.session.SessionManagementFilter@3f0ee399, org.springframework.security.web.access.ExceptionTranslationFilter@1572fc36, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@2626e73f]
|
|
2020-11-30 15:14:08.676 INFO 10792 --- [ Test worker] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
|
|
2020-11-30 15:14:08.692 WARN 10792 --- [ 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-11-30 15:14:08.723 INFO 10792 --- [ Test worker] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
|
|
2020-11-30 15:14:09.051 INFO 10792 --- [ Test worker] s.a.ScheduledAnnotationBeanPostProcessor : No TaskScheduler/ScheduledExecutorService bean found for scheduled processing
|
|
2020-11-30 15:14:09.066 INFO 10792 --- [ Test worker] c.b.b.s.d.posts.PostsRepositoryTest : Started PostsRepositoryTest in 3.061 seconds (JVM running for 6.138)
|
|
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_
|
|
>>>>>>>>>> createDate=2020-11-30T15:14:09.223147, modifiedDate=2020-11-30T15:14:09.223147
|
|
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. 11. 30. 오후 3:14:11</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|