Class co.paan.service.impl.PostServiceImplTest
14 | 17 |
21 |
22 |
51 |
|
52 |
53 |
54 |
57 | 100%
55 | successful 56 | |
58 |
-
63 |
- 64 | Tests 65 | 66 |
- 67 | Standard output 68 | 69 |
Tests
72 |Test | 76 |Duration | 77 |Result | 78 |
---|---|---|
testFindByTagsName | 82 |0.431s | 83 |passed | 84 |
Standard output
89 | 90 |16:05:47.530 [Test worker] DEBUG o.s.t.c.j.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class co.paan.service.impl.PostServiceImplTest]. 91 | 16:05:47.572 [Test worker] DEBUG o.s.test.context.BootstrapUtils - Instantiating TestContextBootstrapper from class [org.springframework.test.context.support.DefaultTestContextBootstrapper] 92 | 16:05:47.598 [Test worker] DEBUG o.s.t.c.s.DefaultTestContextBootstrapper - Found explicit ContextLoader class [org.springframework.boot.test.SpringApplicationContextLoader] for context configuration attributes [ContextConfigurationAttributes@3e9f8eba declaringClass = 'co.paan.service.impl.PostServiceImplTest', classes = '{class co.paan.application.Application}', locations = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.boot.test.SpringApplicationContextLoader'] 93 | 16:05:47.608 [Test worker] DEBUG o.s.t.c.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [co.paan.service.impl.PostServiceImplTest] 94 | 16:05:47.615 [Test worker] DEBUG o.s.t.c.s.DefaultTestContextBootstrapper - @TestExecutionListeners is not present for class [co.paan.service.impl.PostServiceImplTest]: using defaults. 95 | 16:05:47.632 [Test worker] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] 96 | 16:05:47.676 [Test worker] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@4976d53b, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1571c663, org.springframework.test.context.support.DirtiesContextTestExecutionListener@77cbadb9, org.springframework.test.context.transaction.TransactionalTestExecutionListener@2612e74d, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@593221b9] 97 | 16:05:47.699 [Test worker] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [co.paan.service.impl.PostServiceImplTest] 98 | 16:05:47.703 [Test worker] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [co.paan.service.impl.PostServiceImplTest] 99 | 16:05:47.707 [Test worker] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [co.paan.service.impl.PostServiceImplTest] 100 | 16:05:47.711 [Test worker] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [co.paan.service.impl.PostServiceImplTest] 101 | 16:05:47.716 [Test worker] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [co.paan.service.impl.PostServiceImplTest] 102 | 16:05:47.729 [Test worker] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [co.paan.service.impl.PostServiceImplTest] 103 | 16:05:47.757 [Test worker] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [co.paan.service.impl.PostServiceImplTest] 104 | 16:05:47.758 [Test worker] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [co.paan.service.impl.PostServiceImplTest] 105 | 16:05:47.766 [Test worker] DEBUG o.s.t.c.s.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@78e499c7 testClass = PostServiceImplTest, testInstance = co.paan.service.impl.PostServiceImplTest@6cbc5ac5, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@3cb2ce95 testClass = PostServiceImplTest, locations = '{}', classes = '{class co.paan.application.Application}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.boot.test.SpringApplicationContextLoader', parent = [null]]]]. 106 | 16:05:47.847 [Test worker] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence 107 | 16:05:47.849 [Test worker] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence 108 | 16:05:47.849 [Test worker] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment] 109 | 16:05:47.851 [Test worker] DEBUG o.s.core.env.StandardEnvironment - Adding [integrationTest] PropertySource with search precedence immediately lower than [systemEnvironment] 110 | 111 | . ____ _ __ _ _ 112 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ 113 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ 114 | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) 115 | ' |____| .__|_| |_|_| |_\__, | / / / / 116 | =========|_|==============|___/=/_/_/_/ 117 | :: Spring Boot :: (v1.2.0.RELEASE) 118 | 119 | 2014-12-28 16:05:48.229 INFO 751 --- [ Test worker] o.s.boot.SpringApplication : Starting application on Nguyens-MacBook-Pro.local with PID 751 (/Users/hungnguyen/.gradle/caches/modules-2/files-2.1/org.springframework.boot/spring-boot/1.2.0.RELEASE/78ab52b3b5ec74ee88c608719f26989fbdf7ee5b/spring-boot-1.2.0.RELEASE.jar started by hungnguyen in /Users/hungnguyen/GitHub/spring-data-elasticsearch-sample) 120 | 2014-12-28 16:05:48.295 INFO 751 --- [ Test worker] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@12192971: startup date [Sun Dec 28 16:05:48 ICT 2014]; root of context hierarchy 121 | 2014-12-28 16:05:49.497 INFO 751 --- [ Test worker] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'elasticsearchTemplate': replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=elasticsearchConfiguration; factoryMethodName=elasticsearchTemplate; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [co/paan/configuration/ElasticsearchConfiguration.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchDataAutoConfiguration; factoryMethodName=elasticsearchTemplate; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/elasticsearch/ElasticsearchDataAutoConfiguration.class]] 122 | 2014-12-28 16:05:49.949 INFO 751 --- [ Test worker] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration' of type [class org.springframework.boot.autoconfigure.dao.PersistenceExceptionTranslationAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 123 | 2014-12-28 16:05:50.255 INFO 751 --- [ Test worker] org.elasticsearch.plugins : [Hellrazor] loaded [], sites [] 124 | 2014-12-28 16:05:51.521 INFO 751 --- [ Test worker] org.elasticsearch.node : [Caiera] version[1.3.2], pid[751], build[dee175d/2014-08-13T14:29:30Z] 125 | 2014-12-28 16:05:51.521 INFO 751 --- [ Test worker] org.elasticsearch.node : [Caiera] initializing ... 126 | 2014-12-28 16:05:51.522 INFO 751 --- [ Test worker] org.elasticsearch.plugins : [Caiera] loaded [], sites [] 127 | 2014-12-28 16:05:53.387 INFO 751 --- [ Test worker] org.elasticsearch.node : [Caiera] initialized 128 | 2014-12-28 16:05:53.388 INFO 751 --- [ Test worker] org.elasticsearch.node : [Caiera] starting ... 129 | 2014-12-28 16:05:53.398 INFO 751 --- [ Test worker] org.elasticsearch.transport : [Caiera] bound_address {local[1]}, publish_address {local[1]} 130 | 2014-12-28 16:05:53.413 INFO 751 --- [ Test worker] org.elasticsearch.discovery : [Caiera] elasticsearch/VAinUcpDSwmFjADm24gQjw 131 | 2014-12-28 16:05:53.417 INFO 751 --- [pdateTask][T#1]] org.elasticsearch.cluster.service : [Caiera] new_master [Caiera][VAinUcpDSwmFjADm24gQjw][Nguyens-MacBook-Pro.local][local[1]]{local=true}, reason: local-disco-initial_connect(master) 132 | 2014-12-28 16:05:53.444 INFO 751 --- [ Test worker] org.elasticsearch.node : [Caiera] started 133 | 2014-12-28 16:05:53.521 INFO 751 --- [pdateTask][T#1]] org.elasticsearch.gateway : [Caiera] recovered [0] indices into cluster_state 134 | 2014-12-28 16:05:54.785 INFO 751 --- [ Test worker] o.s.boot.SpringApplication : Started application in 6.928 seconds (JVM running for 8.348) 135 |136 | 137 |