Class com.company.selfjoin.core.SampleIntegrationTest

1

tests

0

failures

0

ignored

1.601s

duration

100%

successful

Tests

Test Duration Result
testSelfJoin 1.601s passed

Standard output

19:56:01,303 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [test-logback.xml] at [jar:file:/C:/Users/alexey.prudnikov/.gradle/caches/modules-2/files-2.1/com.haulmont.cuba/cuba-core-tests/6.10.8/f011605d15b570c1209a2ff2c849ff2cde21bf74/cuba-core-tests-6.10.8.jar!/test-logback.xml]
19:56:01,316 |-INFO in ch.qos.logback.core.joran.spi.ConfigurationWatchList@7db63ba5 - URL [jar:file:/C:/Users/alexey.prudnikov/.gradle/caches/modules-2/files-2.1/com.haulmont.cuba/cuba-core-tests/6.10.8/f011605d15b570c1209a2ff2c849ff2cde21bf74/cuba-core-tests-6.10.8.jar!/test-logback.xml] is not of type file
19:56:01,389 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
19:56:01,392 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
19:56:01,400 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
19:56:01,427 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to DEBUG
19:56:01,427 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]
19:56:01,428 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba] to DEBUG
19:56:01,428 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.sys.CubaDefaultListableBeanFactory] to WARN
19:56:01,428 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.haulmont.cuba.core.sys.CubaCoreApplicationContext] to INFO
19:56:01,428 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework] to WARN
19:56:01,428 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [eclipselink] to WARN
19:56:01,428 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [eclipselink.sql] to DEBUG
19:56:01,428 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework] to WARN
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.activiti] to INFO
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [freemarker] to INFO
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.docx4j] to INFO
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate] to WARN
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [sun] to INFO
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.sun] to INFO
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [javax] to INFO
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.apache] to INFO
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.perf4j.TimingLogger] to OFF
19:56:01,429 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
19:56:01,430 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@4ee273a - Registering current configuration as safe fallback point
19:56:01.468 INFO  com.haulmont.cuba.testsupport.TestContainer - Starting test container com.company.selfjoin.SelfjoinTestContainer$Common@6d894d1a
19:56:01.505 INFO  com.haulmont.cuba.core.sys.AppComponents - Using app components: [com.haulmont.cuba]
19:56:01.625 INFO  com.haulmont.cuba.core.sys.persistence.PersistenceConfigProcessor - Creating file C:\Git\TEST\self-join\modules\core\test-home\cuba\work\persistence.xml
19:56:01.698 INFO  com.haulmont.cuba.core.sys.CubaCoreApplicationContext - Refreshing com.haulmont.cuba.core.sys.CubaCoreApplicationContext@4bef4781: startup date [Mon Apr 01 19:56:01 MSK 2019]; root of context hierarchy
19:56:03.278 DEBUG com.haulmont.cuba.core.sys.CubaJndiDataSourceFactoryBean - Located object with JNDI name [java:comp/env/jdbc/CubaDS]
19:56:04.678 DEBUG com.haulmont.cuba.core.sys.AbstractMessages - Main message pack: com.haulmont.cuba.core com.company.selfjoin.core
19:56:06.214 INFO  com.haulmont.cuba.core.sys.CubaThreadPoolTaskScheduler - Initializing ExecutorService  'scheduler'
19:56:06.366 INFO  com.haulmont.cuba.core.sys.MetadataImpl - Initializing metadata
19:56:06.514 INFO  com.haulmont.cuba.core.sys.MetadataImpl - Metadata initialized in 148 ms
19:56:06.524 DEBUG com.haulmont.cuba.core.app.StoreFactory - No implementation is specified for _MAIN_ store, using RdbmsStore
19:56:06.562 DEBUG com.haulmont.cuba.core.app.RdbmsStore - commit: commitInstances=[com.company.selfjoin.entity.TestEntity-1 [new]], removeInstances=[]
19:56:07.463 INFO  com.haulmont.cuba.core.app.ConfigStorage - Loading DB-stored app properties cache
19:56:07.484 DEBUG com.haulmont.cuba.security.app.EntityLog - Loading entities
19:56:07.554 DEBUG com.haulmont.cuba.core.sys.QueryImpl - select e from sec$LoggedEntity e where e.auto = true or e.manual = true
19:56:07.748 DEBUG eclipselink.sql - <t 1178098266, conn 1100536758> SELECT ID, AUTO, CREATE_TS, CREATED_BY, MANUAL, NAME FROM SEC_LOGGED_ENTITY WHERE ((AUTO = ?) OR (MANUAL = ?))
	bind => [true, true]
19:56:07.751 DEBUG eclipselink.sql - <t 1178098266, conn 1100536758> [3 ms] spent
19:56:07.754 DEBUG com.haulmont.cuba.security.app.EntityLog - Loaded: entitiesAuto=0, entitiesManual=0
19:56:07.769 DEBUG eclipselink.sql - <t 1178098266, conn 376211728> INSERT INTO SELFJOIN_TEST_ENTITY (CODE, PARENT_CODE) VALUES (?, ?)
	bind => [1, null]
19:56:07.771 DEBUG eclipselink.sql - <t 1178098266, conn 376211728> [2 ms] spent
19:56:07.776 DEBUG com.haulmont.cuba.core.app.RdbmsStore - commit: commitInstances=[com.company.selfjoin.entity.TestEntity-2 [new]], removeInstances=[]
19:56:07.779 DEBUG eclipselink.sql - <t 1178098266, conn 1502312825> SELECT CODE FROM SELFJOIN_TEST_ENTITY WHERE (CODE = ?)
	bind => [1]
19:56:07.781 DEBUG eclipselink.sql - <t 1178098266, conn 1502312825> [1 ms] spent
19:56:07.783 DEBUG eclipselink.sql - <t 1178098266, conn 553982140> INSERT INTO SELFJOIN_TEST_ENTITY (CODE, PARENT_CODE) VALUES (?, ?)
	bind => [2, 1]
19:56:07.784 DEBUG eclipselink.sql - <t 1178098266, conn 553982140> [1 ms] spent
19:56:07.785 INFO  com.haulmont.cuba.core.sys.AbstractViewRepository - Initializing views
19:56:07.787 DEBUG com.haulmont.cuba.core.sys.AbstractViewRepository - Deploying views config: cuba-views.xml
19:56:07.794 DEBUG com.haulmont.cuba.core.sys.AbstractViewRepository - Deploying views config: com/company/selfjoin/views.xml
19:56:07.801 DEBUG com.haulmont.cuba.core.app.RdbmsStore - load: metaClass=selfjoin$TestEntity, id=1, view=com.company.selfjoin.entity.TestEntity/testView
19:56:07.839 DEBUG com.haulmont.cuba.core.sys.QueryImpl - select e from selfjoin$TestEntity e where e.code = :entityId
19:56:07.921 DEBUG com.haulmont.cuba.core.sys.FetchGroupManager - Fetch modes for com.company.selfjoin.entity.TestEntity/testView: <none>
19:56:07.926 DEBUG eclipselink.sql - <t 1178098266, conn 33775214> SELECT CODE FROM SELFJOIN_TEST_ENTITY WHERE (CODE = ?)
	bind => [1]
19:56:07.928 DEBUG eclipselink.sql - <t 1178098266, conn 33775214> [2 ms] spent
19:56:07.934 DEBUG eclipselink.sql - <t 1178098266, conn 13871531> SELECT CODE, PARENT_CODE FROM SELFJOIN_TEST_ENTITY WHERE (PARENT_CODE = ?)
	bind => [1]
19:56:07.937 DEBUG eclipselink.sql - <t 1178098266, conn 13871531> [3 ms] spent
19:56:07.945 DEBUG com.haulmont.cuba.core.app.RdbmsStore - commit: commitInstances=[], removeInstances=[com.company.selfjoin.entity.TestEntity-2 [new]]
19:56:07.946 DEBUG com.haulmont.cuba.core.sys.EntityManagerImpl - merge com.company.selfjoin.entity.TestEntity-2 [new]
19:56:07.947 DEBUG com.haulmont.cuba.core.sys.EntityManagerImpl - find TestEntity by id=2
19:56:07.969 DEBUG eclipselink.sql - <t 1178098266, conn 1568354203> SELECT CODE, PARENT_CODE FROM SELFJOIN_TEST_ENTITY WHERE (CODE = ?)
	bind => [2]
19:56:07.971 DEBUG eclipselink.sql - <t 1178098266, conn 1568354203> [2 ms] spent
19:56:07.972 DEBUG com.haulmont.cuba.core.sys.EntityManagerImpl - remove com.company.selfjoin.entity.TestEntity-2 [managed]
19:56:07.975 DEBUG eclipselink.sql - <t 1178098266, conn 1969970600> UPDATE SELFJOIN_TEST_ENTITY SET PARENT_CODE = ? WHERE (PARENT_CODE = ?)
	bind => [null, 2]
19:56:07.991 DEBUG eclipselink.sql - <t 1178098266, conn 1969970600> [15 ms] spent
19:56:07.991 DEBUG eclipselink.sql - <t 1178098266, conn 1969970600> DELETE FROM SELFJOIN_TEST_ENTITY WHERE (CODE = ?)
	bind => [2]
19:56:07.992 DEBUG eclipselink.sql - <t 1178098266, conn 1969970600> [1 ms] spent
19:56:08.104 DEBUG com.haulmont.cuba.core.app.RdbmsStore - commit: commitInstances=[], removeInstances=[com.company.selfjoin.entity.TestEntity-1 [new]]
19:56:08.105 DEBUG com.haulmont.cuba.core.sys.EntityManagerImpl - merge com.company.selfjoin.entity.TestEntity-1 [new]
19:56:08.105 DEBUG com.haulmont.cuba.core.sys.EntityManagerImpl - find TestEntity by id=1
19:56:08.106 DEBUG eclipselink.sql - <t 1178098266, conn 964157970> SELECT CODE, PARENT_CODE FROM SELFJOIN_TEST_ENTITY WHERE (CODE = ?)
	bind => [1]
19:56:08.108 DEBUG eclipselink.sql - <t 1178098266, conn 964157970> [1 ms] spent
19:56:08.109 DEBUG com.haulmont.cuba.core.sys.EntityManagerImpl - remove com.company.selfjoin.entity.TestEntity-1 [managed]
19:56:08.112 DEBUG eclipselink.sql - <t 1178098266, conn 204001778> UPDATE SELFJOIN_TEST_ENTITY SET PARENT_CODE = ? WHERE (PARENT_CODE = ?)
	bind => [null, 1]
19:56:08.113 DEBUG eclipselink.sql - <t 1178098266, conn 204001778> [1 ms] spent
19:56:08.114 DEBUG eclipselink.sql - <t 1178098266, conn 204001778> DELETE FROM SELFJOIN_TEST_ENTITY WHERE (CODE = ?)
	bind => [1]
19:56:08.115 DEBUG eclipselink.sql - <t 1178098266, conn 204001778> [1 ms] spent