Advertisement
Guest User

Untitled

a guest
May 12th, 2016
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.12 KB | None | 0 0
  1. "C:\Program Files\Java\jdk1.7.0_67\bin\java" "-Dmaven.home=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.1.1\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.1.1\plugins\maven\lib\maven3\bin\m2.conf" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.1.1\plugins\maven\lib\maven3\boot\plexus-classworlds-2.4.jar" org.codehaus.classworlds.Launcher -Didea.version=2016.1.1 clean install
  2. [INFO] Scanning for projects...
  3. [WARNING]
  4. [WARNING] Some problems were encountered while building the effective model for cz.muni.pb138.annotationsystem:frontend:war:1.0-SNAPSHOT
  5. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ cz.muni.pb138.annotationsystem:base:1.0-SNAPSHOT, C:\Users\Matthew\pb138\project\pom.xml, line 22, column 21
  6. [WARNING]
  7. [WARNING] Some problems were encountered while building the effective model for cz.muni.pb138.annotationsystem:backend:jar:1.0-SNAPSHOT
  8. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ cz.muni.pb138.annotationsystem:base:1.0-SNAPSHOT, C:\Users\Matthew\pb138\project\pom.xml, line 22, column 21
  9. [WARNING]
  10. [WARNING] Some problems were encountered while building the effective model for cz.muni.pb138.annotationsystem:base:pom:1.0-SNAPSHOT
  11. [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 22, column 21
  12. [WARNING]
  13. [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
  14. [WARNING]
  15. [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
  16. [WARNING]
  17. [INFO] ------------------------------------------------------------------------
  18. [INFO] Reactor Build Order:
  19. [INFO]
  20. [INFO] Annotation system
  21. [INFO] backend
  22. [INFO] frontend
  23. [INFO]
  24. [INFO] ------------------------------------------------------------------------
  25. [INFO] Building Annotation system 1.0-SNAPSHOT
  26. [INFO] ------------------------------------------------------------------------
  27. [INFO]
  28. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ base ---
  29. [INFO]
  30. [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ base ---
  31. [INFO] Installing C:\Users\Matthew\pb138\project\pom.xml to C:\Users\Matthew\.m2\repository\cz\muni\pb138\annotationsystem\base\1.0-SNAPSHOT\base-1.0-SNAPSHOT.pom
  32. [INFO]
  33. [INFO] ------------------------------------------------------------------------
  34. [INFO] Building backend 1.0-SNAPSHOT
  35. [INFO] ------------------------------------------------------------------------
  36. [INFO]
  37. [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ backend ---
  38. [INFO] Deleting C:\Users\Matthew\pb138\project\backend\target
  39. [INFO]
  40. [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ backend ---
  41. [debug] execute contextualize
  42. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  43. [INFO] Copying 5 resources
  44. [INFO]
  45. [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ backend ---
  46. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  47. [INFO] Compiling 34 source files to C:\Users\Matthew\pb138\project\backend\target\classes
  48. [INFO]
  49. [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ backend ---
  50. [debug] execute contextualize
  51. [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
  52. [INFO] skip non existing resourceDirectory C:\Users\Matthew\pb138\project\backend\src\test\resources
  53. [INFO]
  54. [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ backend ---
  55. [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
  56. [INFO] Compiling 3 source files to C:\Users\Matthew\pb138\project\backend\target\test-classes
  57. [INFO]
  58. [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ backend ---
  59. [INFO] Surefire report directory: C:\Users\Matthew\pb138\project\backend\target\surefire-reports
  60.  
  61. -------------------------------------------------------
  62. T E S T S
  63. -------------------------------------------------------
  64. Running cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest
  65. 23:30:04.669 [main] DEBUG o.s.t.c.j.SpringJUnit4ClassRunner - SpringJUnit4ClassRunner constructor called with [class cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  66. 23:30:04.700 [main] DEBUG o.s.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
  67. 23:30:04.707 [main] DEBUG o.s.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
  68. 23:30:04.718 [main] DEBUG o.s.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest] from class [org.springframework.test.context.support.DefaultTestContextBootstrapper]
  69. 23:30:04.753 [main] DEBUG o.s.t.c.s.AbstractDelegatingSmartContextLoader - Delegating to AnnotationConfigContextLoader to process context configuration [ContextConfigurationAttributes@391ba64d declaringClass = 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', locations = '{}', inheritLocations = true, initializers = '{}', inheritInitializers = true, name = [null], contextLoaderClass = 'org.springframework.test.context.ContextLoader'].
  70. 23:30:04.756 [main] DEBUG o.s.t.c.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  71. 23:30:04.762 [main] DEBUG o.s.t.c.s.DefaultTestContextBootstrapper - @TestExecutionListeners is not present for class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]: using defaults.
  72. 23:30:04.769 [main] 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.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]
  73. 23:30:04.778 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Could not instantiate TestExecutionListener [org.springframework.test.context.web.ServletTestExecutionListener]. Specify custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [javax/servlet/ServletContext]
  74. 23:30:04.787 [main] INFO o.s.t.c.s.DefaultTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@62db5e9c, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@30208678, org.springframework.test.context.support.DirtiesContextTestExecutionListener@275c48f7, org.springframework.test.context.transaction.TransactionalTestExecutionListener@1bba6451, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@6a10100f]
  75. 23:30:04.790 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  76. 23:30:04.790 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  77. 23:30:04.791 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  78. 23:30:04.792 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  79. 23:30:04.795 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null].
  80. 23:30:04.796 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  81. 23:30:04.796 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  82. 23:30:04.798 [main] DEBUG o.s.t.c.s.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@280352ec, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
  83. 23:30:04.798 [main] DEBUG o.s.t.c.s.AbstractDelegatingSmartContextLoader - Delegating to AnnotationConfigContextLoader to load context from [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]].
  84. 23:30:04.799 [main] DEBUG o.s.t.c.s.AbstractGenericContextLoader - Loading ApplicationContext for merged context configuration [[MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]].
  85. 23:30:04.957 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
  86. 23:30:04.961 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
  87. 23:30:04.961 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
  88. 23:30:04.962 [main] DEBUG o.s.t.c.s.AnnotationConfigContextLoader - Registering annotated classes: {class cz.muni.pb138.annotationsystem.backend.config.TestConfig}
  89. 23:30:05.006 [main] INFO o.s.c.s.GenericApplicationContext - Refreshing org.springframework.context.support.GenericApplicationContext@659a1fae: startup date [Thu May 12 23:30:05 CEST 2016]; root of context hierarchy
  90. 23:30:05.006 [main] DEBUG o.s.c.s.GenericApplicationContext - Bean factory for org.springframework.context.support.GenericApplicationContext@659a1fae: org.springframework.beans.factory.support.DefaultListableBeanFactory@6dfee2b4: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,testConfig]; root of factory hierarchy
  91. 23:30:05.024 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
  92. 23:30:05.024 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
  93. 23:30:05.044 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor' to allow for resolving potential circular references
  94. 23:30:05.046 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
  95. 23:30:05.076 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [class path resource [dataSource.properties]] PropertySource with lowest search precedence
  96. 23:30:05.080 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
  97. 23:30:05.080 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
  98. 23:30:05.080 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
  99. 23:30:05.083 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
  100. 23:30:05.086 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [C:\Users\Matthew\pb138\project\backend\target\test-classes\cz\muni\pb138\annotationsystem\backend\api]
  101. 23:30:05.086 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [C:\Users\Matthew\pb138\project\backend\target\test-classes\cz\muni\pb138\annotationsystem\backend\api] for files matching pattern [C:/Users/Matthew/pb138/project/backend/target/test-classes/cz/muni/pb138/annotationsystem/backend/api/**/*.class]
  102. 23:30:05.090 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\api]
  103. 23:30:05.090 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\api] for files matching pattern [C:/Users/Matthew/pb138/project/backend/target/classes/cz/muni/pb138/annotationsystem/backend/api/**/*.class]
  104. 23:30:05.092 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath*:cz/muni/pb138/annotationsystem/backend/api/**/*.class] to resources [file [C:\Users\Matthew\pb138\project\backend\target\test-classes\cz\muni\pb138\annotationsystem\backend\api\AnswerManagerTest.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\api\AnswerManager.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\api\EvaluationManager.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\api\PackManager.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\api\PersonManager.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\api\StatisticsManager.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\api\SubpackManager.class]]
  105. 23:30:05.110 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business]
  106. 23:30:05.110 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business] for files matching pattern [C:/Users/Matthew/pb138/project/backend/target/classes/cz/muni/pb138/annotationsystem/backend/business/**/*.class]
  107. 23:30:05.112 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath*:cz/muni/pb138/annotationsystem/backend/business/**/*.class] to resources [file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\AnswerManagerImpl.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\EvaluationManagerImpl.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\PackManagerImpl.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\PersonManagerImpl.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\StatisticsManagerImpl.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\SubpackManagerImpl.class]]
  108. 23:30:05.113 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\AnswerManagerImpl.class]
  109. 23:30:05.114 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\EvaluationManagerImpl.class]
  110. 23:30:05.115 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\PackManagerImpl.class]
  111. 23:30:05.115 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\PersonManagerImpl.class]
  112. 23:30:05.116 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\StatisticsManagerImpl.class]
  113. 23:30:05.117 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\business\SubpackManagerImpl.class]
  114. 23:30:05.119 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [C:\Users\Matthew\pb138\project\backend\target\test-classes\cz\muni\pb138\annotationsystem\backend\dao]
  115. 23:30:05.119 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [C:\Users\Matthew\pb138\project\backend\target\test-classes\cz\muni\pb138\annotationsystem\backend\dao] for files matching pattern [C:/Users/Matthew/pb138/project/backend/target/test-classes/cz/muni/pb138/annotationsystem/backend/dao/**/*.class]
  116. 23:30:05.120 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Looking for matching resources in directory tree [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao]
  117. 23:30:05.120 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Searching directory [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao] for files matching pattern [C:/Users/Matthew/pb138/project/backend/target/classes/cz/muni/pb138/annotationsystem/backend/dao/**/*.class]
  118. 23:30:05.122 [main] DEBUG o.s.c.i.s.PathMatchingResourcePatternResolver - Resolved location pattern [classpath*:cz/muni/pb138/annotationsystem/backend/dao/**/*.class] to resources [file [C:\Users\Matthew\pb138\project\backend\target\test-classes\cz\muni\pb138\annotationsystem\backend\dao\SubpackDaoTest.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\AnswerDao.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\AnswerDaoImpl.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\Dao.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\EvaluationDao.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\Main.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\PackDao.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\PersonDao.class], file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\SubpackDao.class]]
  119. 23:30:05.126 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\AnswerDaoImpl.class]
  120. 23:30:05.128 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\EvaluationDao.class]
  121. 23:30:05.129 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\PackDao.class]
  122. 23:30:05.131 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\PersonDao.class]
  123. 23:30:05.132 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - Identified candidate component class: file [C:\Users\Matthew\pb138\project\backend\target\classes\cz\muni\pb138\annotationsystem\backend\dao\SubpackDao.class]
  124. 23:30:05.140 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registered bean definition for imported class 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig'
  125. 23:30:05.142 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method cz.muni.pb138.annotationsystem.backend.config.BackendConfig.dataSource()
  126. 23:30:05.143 [main] DEBUG o.s.c.a.ConfigurationClassBeanDefinitionReader - Registering bean definition for @Bean method cz.muni.pb138.annotationsystem.backend.config.TestConfig.dataSource()
  127. 23:30:05.143 [main] INFO o.s.b.f.s.DefaultListableBeanFactory - Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=cz.muni.pb138.annotationsystem.backend.config.BackendConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class cz.muni.pb138.annotationsystem.backend.config.BackendConfig] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=testConfig; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in cz.muni.pb138.annotationsystem.backend.config.TestConfig]
  128. 23:30:05.261 [main] DEBUG o.s.c.a.ConfigurationClassEnhancer - Successfully enhanced cz.muni.pb138.annotationsystem.backend.config.TestConfig; enhanced class name is: cz.muni.pb138.annotationsystem.backend.config.TestConfig$$EnhancerBySpringCGLIB$$d60b429d
  129. 23:30:05.261 [main] DEBUG o.s.c.a.ConfigurationClassPostProcessor - Replacing bean definition 'testConfig' existing class 'cz.muni.pb138.annotationsystem.backend.config.TestConfig' with enhanced class 'cz.muni.pb138.annotationsystem.backend.config.TestConfig$$EnhancerBySpringCGLIB$$d60b429d'
  130. 23:30:05.267 [main] DEBUG o.s.c.a.ConfigurationClassEnhancer - Successfully enhanced cz.muni.pb138.annotationsystem.backend.config.BackendConfig; enhanced class name is: cz.muni.pb138.annotationsystem.backend.config.BackendConfig$$EnhancerBySpringCGLIB$$38b891df
  131. 23:30:05.267 [main] DEBUG o.s.c.a.ConfigurationClassPostProcessor - Replacing bean definition 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig' existing class 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig' with enhanced class 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig$$EnhancerBySpringCGLIB$$38b891df'
  132. 23:30:05.273 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
  133. 23:30:05.273 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
  134. 23:30:05.274 [main] INFO o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
  135. 23:30:05.274 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor' to allow for resolving potential circular references
  136. 23:30:05.274 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
  137. 23:30:05.275 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
  138. 23:30:05.275 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
  139. 23:30:05.276 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor' to allow for resolving potential circular references
  140. 23:30:05.276 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
  141. 23:30:05.276 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
  142. 23:30:05.276 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
  143. 23:30:05.280 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor' to allow for resolving potential circular references
  144. 23:30:05.280 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
  145. 23:30:05.281 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
  146. 23:30:05.281 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
  147. 23:30:05.281 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor' to allow for resolving potential circular references
  148. 23:30:05.281 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
  149. 23:30:05.281 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
  150. 23:30:05.281 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
  151. 23:30:05.282 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor' to allow for resolving potential circular references
  152. 23:30:05.282 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
  153. 23:30:05.285 [main] DEBUG o.s.c.s.GenericApplicationContext - Unable to locate MessageSource with name 'messageSource': using default [org.springframework.context.support.DelegatingMessageSource@ebc0279]
  154. 23:30:05.288 [main] DEBUG o.s.c.s.GenericApplicationContext - Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster': using default [org.springframework.context.event.SimpleApplicationEventMulticaster@2462ea85]
  155. 23:30:05.290 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6dfee2b4: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,testConfig,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,answerManagerImpl,evaluationManagerImpl,packManagerImpl,personManagerImpl,statisticsManagerImpl,subpackManagerImpl,answerDaoImpl,evaluationDao,packDao,personDao,subpackDao,cz.muni.pb138.annotationsystem.backend.config.BackendConfig,dataSource]; root of factory hierarchy
  156. 23:30:05.291 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalConfigurationAnnotationProcessor'
  157. 23:30:05.291 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalAutowiredAnnotationProcessor'
  158. 23:30:05.291 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalRequiredAnnotationProcessor'
  159. 23:30:05.291 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.internalCommonAnnotationProcessor'
  160. 23:30:05.291 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerProcessor'
  161. 23:30:05.291 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.event.internalEventListenerProcessor'
  162. 23:30:05.298 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.event.internalEventListenerProcessor' to allow for resolving potential circular references
  163. 23:30:05.312 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.event.internalEventListenerProcessor'
  164. 23:30:05.312 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory'
  165. 23:30:05.312 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'org.springframework.context.event.internalEventListenerFactory'
  166. 23:30:05.313 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'org.springframework.context.event.internalEventListenerFactory' to allow for resolving potential circular references
  167. 23:30:05.314 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'org.springframework.context.event.internalEventListenerFactory'
  168. 23:30:05.315 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'testConfig'
  169. 23:30:05.315 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'testConfig'
  170. 23:30:05.315 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'testConfig' to allow for resolving potential circular references
  171. 23:30:05.319 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'testConfig'
  172. 23:30:05.319 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor'
  173. 23:30:05.319 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor'
  174. 23:30:05.319 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'answerManagerImpl'
  175. 23:30:05.319 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'answerManagerImpl'
  176. 23:30:05.324 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.AnswerManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.AnswerDao cz.muni.pb138.annotationsystem.backend.business.AnswerManagerImpl.answerDao
  177. 23:30:05.324 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.AnswerManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.SubpackManager cz.muni.pb138.annotationsystem.backend.business.AnswerManagerImpl.subpackManager
  178. 23:30:05.324 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'answerManagerImpl' to allow for resolving potential circular references
  179. 23:30:05.326 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'answerManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.AnswerDao cz.muni.pb138.annotationsystem.backend.business.AnswerManagerImpl.answerDao
  180. 23:30:05.328 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'answerDaoImpl'
  181. 23:30:05.328 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'answerDaoImpl'
  182. 23:30:05.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'dataSource'
  183. 23:30:05.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'dataSource'
  184. 23:30:05.339 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'testConfig'
  185. 23:30:05.593 [main] INFO o.s.j.d.e.EmbeddedDatabaseFactory - Starting embedded database: url='jdbc:derby:memory:testdb;create=true', username='sa'
  186. 23:30:05.599 [main] DEBUG o.s.jdbc.datasource.DataSourceUtils - Fetching JDBC Connection from DataSource
  187. 23:30:05.599 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:derby:memory:testdb;create=true]
  188. 23:30:06.148 [main] DEBUG o.s.jdbc.datasource.DataSourceUtils - Returning JDBC Connection to DataSource
  189. 23:30:06.150 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'dataSource' to allow for resolving potential circular references
  190. 23:30:06.152 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'dataSource'
  191. 23:30:06.153 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Autowiring by type from bean name 'answerDaoImpl' via constructor to bean named 'dataSource'
  192. 23:30:06.154 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'answerDaoImpl' to allow for resolving potential circular references
  193. 23:30:06.157 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'answerDaoImpl'
  194. 23:30:06.157 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'answerManagerImpl' to bean named 'answerDaoImpl'
  195. 23:30:06.158 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'answerManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.SubpackManager cz.muni.pb138.annotationsystem.backend.business.AnswerManagerImpl.subpackManager
  196. 23:30:06.159 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'subpackManagerImpl'
  197. 23:30:06.159 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'subpackManagerImpl'
  198. 23:30:06.160 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.SubpackDao cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl.subpackDao
  199. 23:30:06.160 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.PackManager cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl.packManager
  200. 23:30:06.160 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.AnswerManager cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl.answerManager
  201. 23:30:06.161 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.PersonManager cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl.personManager
  202. 23:30:06.161 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'subpackManagerImpl' to allow for resolving potential circular references
  203. 23:30:06.163 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'subpackManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.SubpackDao cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl.subpackDao
  204. 23:30:06.163 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'subpackDao'
  205. 23:30:06.163 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'subpackDao'
  206. 23:30:06.165 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource'
  207. 23:30:06.166 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Autowiring by type from bean name 'subpackDao' via constructor to bean named 'dataSource'
  208. 23:30:06.166 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'subpackDao' to allow for resolving potential circular references
  209. 23:30:06.168 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'subpackDao'
  210. 23:30:06.168 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'subpackManagerImpl' to bean named 'subpackDao'
  211. 23:30:06.169 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'subpackManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.PackManager cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl.packManager
  212. 23:30:06.169 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'packManagerImpl'
  213. 23:30:06.169 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'packManagerImpl'
  214. 23:30:06.170 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.PackManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.PackDao cz.muni.pb138.annotationsystem.backend.business.PackManagerImpl.packDao
  215. 23:30:06.170 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'packManagerImpl' to allow for resolving potential circular references
  216. 23:30:06.186 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'packManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.PackDao cz.muni.pb138.annotationsystem.backend.business.PackManagerImpl.packDao
  217. 23:30:06.187 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'packDao'
  218. 23:30:06.187 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'packDao'
  219. 23:30:06.224 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource'
  220. 23:30:06.224 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Autowiring by type from bean name 'packDao' via constructor to bean named 'dataSource'
  221. 23:30:06.225 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'packDao' to allow for resolving potential circular references
  222. 23:30:06.227 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'packDao'
  223. 23:30:06.227 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'packManagerImpl' to bean named 'packDao'
  224. 23:30:06.227 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'packManagerImpl'
  225. 23:30:06.227 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'subpackManagerImpl' to bean named 'packManagerImpl'
  226. 23:30:06.227 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'subpackManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.AnswerManager cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl.answerManager
  227. 23:30:06.228 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning eagerly cached instance of singleton bean 'answerManagerImpl' that is not fully initialized yet - a consequence of a circular reference
  228. 23:30:06.228 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'subpackManagerImpl' to bean named 'answerManagerImpl'
  229. 23:30:06.228 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'subpackManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.PersonManager cz.muni.pb138.annotationsystem.backend.business.SubpackManagerImpl.personManager
  230. 23:30:06.229 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'personManagerImpl'
  231. 23:30:06.229 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'personManagerImpl'
  232. 23:30:06.230 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.PersonManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.PersonDao cz.muni.pb138.annotationsystem.backend.business.PersonManagerImpl.personDao
  233. 23:30:06.230 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'personManagerImpl' to allow for resolving potential circular references
  234. 23:30:06.232 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'personManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.PersonDao cz.muni.pb138.annotationsystem.backend.business.PersonManagerImpl.personDao
  235. 23:30:06.232 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'personDao'
  236. 23:30:06.232 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'personDao'
  237. 23:30:06.236 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource'
  238. 23:30:06.236 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Autowiring by type from bean name 'personDao' via constructor to bean named 'dataSource'
  239. 23:30:06.236 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'personDao' to allow for resolving potential circular references
  240. 23:30:06.240 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'personDao'
  241. 23:30:06.240 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'personManagerImpl' to bean named 'personDao'
  242. 23:30:06.240 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'personManagerImpl'
  243. 23:30:06.240 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'subpackManagerImpl' to bean named 'personManagerImpl'
  244. 23:30:06.240 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'subpackManagerImpl'
  245. 23:30:06.240 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'answerManagerImpl' to bean named 'subpackManagerImpl'
  246. 23:30:06.241 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'answerManagerImpl'
  247. 23:30:06.241 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'evaluationManagerImpl'
  248. 23:30:06.241 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'evaluationManagerImpl'
  249. 23:30:06.243 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.EvaluationManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.EvaluationDao cz.muni.pb138.annotationsystem.backend.business.EvaluationManagerImpl.evaluationDao
  250. 23:30:06.243 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.EvaluationManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.PersonManager cz.muni.pb138.annotationsystem.backend.business.EvaluationManagerImpl.personManager
  251. 23:30:06.243 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.business.EvaluationManagerImpl]: AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.AnswerManager cz.muni.pb138.annotationsystem.backend.business.EvaluationManagerImpl.answerManager
  252. 23:30:06.244 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'evaluationManagerImpl' to allow for resolving potential circular references
  253. 23:30:06.245 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'evaluationManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.dao.EvaluationDao cz.muni.pb138.annotationsystem.backend.business.EvaluationManagerImpl.evaluationDao
  254. 23:30:06.246 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'evaluationDao'
  255. 23:30:06.246 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'evaluationDao'
  256. 23:30:06.248 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource'
  257. 23:30:06.248 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Autowiring by type from bean name 'evaluationDao' via constructor to bean named 'dataSource'
  258. 23:30:06.249 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'evaluationDao' to allow for resolving potential circular references
  259. 23:30:06.251 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'evaluationDao'
  260. 23:30:06.251 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'evaluationManagerImpl' to bean named 'evaluationDao'
  261. 23:30:06.251 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'evaluationManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.PersonManager cz.muni.pb138.annotationsystem.backend.business.EvaluationManagerImpl.personManager
  262. 23:30:06.252 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'personManagerImpl'
  263. 23:30:06.252 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'evaluationManagerImpl' to bean named 'personManagerImpl'
  264. 23:30:06.252 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'evaluationManagerImpl': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.AnswerManager cz.muni.pb138.annotationsystem.backend.business.EvaluationManagerImpl.answerManager
  265. 23:30:06.252 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'answerManagerImpl'
  266. 23:30:06.252 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'evaluationManagerImpl' to bean named 'answerManagerImpl'
  267. 23:30:06.252 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'evaluationManagerImpl'
  268. 23:30:06.252 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'packManagerImpl'
  269. 23:30:06.253 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'personManagerImpl'
  270. 23:30:06.253 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'statisticsManagerImpl'
  271. 23:30:06.253 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'statisticsManagerImpl'
  272. 23:30:06.253 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'statisticsManagerImpl' to allow for resolving potential circular references
  273. 23:30:06.255 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'statisticsManagerImpl'
  274. 23:30:06.255 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'subpackManagerImpl'
  275. 23:30:06.255 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'answerDaoImpl'
  276. 23:30:06.255 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'evaluationDao'
  277. 23:30:06.256 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'packDao'
  278. 23:30:06.256 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'personDao'
  279. 23:30:06.256 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'subpackDao'
  280. 23:30:06.256 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating shared instance of singleton bean 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig'
  281. 23:30:06.256 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Creating instance of bean 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig'
  282. 23:30:06.257 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Registered injected element on class [cz.muni.pb138.annotationsystem.backend.config.BackendConfig$$EnhancerBySpringCGLIB$$38b891df]: AutowiredFieldElement for private org.springframework.core.env.Environment cz.muni.pb138.annotationsystem.backend.config.BackendConfig.env
  283. 23:30:06.257 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Eagerly caching bean 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig' to allow for resolving potential circular references
  284. 23:30:06.260 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig': AutowiredFieldElement for private org.springframework.core.env.Environment cz.muni.pb138.annotationsystem.backend.config.BackendConfig.env
  285. 23:30:06.260 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'environment'
  286. 23:30:06.260 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig' to bean named 'environment'
  287. 23:30:06.260 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Finished creating instance of bean 'cz.muni.pb138.annotationsystem.backend.config.BackendConfig'
  288. 23:30:06.261 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource'
  289. 23:30:06.261 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'org.springframework.context.event.internalEventListenerFactory'
  290. 23:30:06.296 [main] DEBUG o.s.c.s.GenericApplicationContext - Unable to locate LifecycleProcessor with name 'lifecycleProcessor': using default [org.springframework.context.support.DefaultLifecycleProcessor@465395a0]
  291. 23:30:06.296 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'lifecycleProcessor'
  292. 23:30:06.298 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemProperties]
  293. 23:30:06.298 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [systemEnvironment]
  294. 23:30:06.299 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.liveBeansView.mbeanDomain' in [class path resource [dataSource.properties]]
  295. 23:30:06.299 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Could not find key 'spring.liveBeansView.mbeanDomain' in any property source. Returning [null]
  296. 23:30:06.300 [main] DEBUG o.s.t.c.c.DefaultCacheAwareContextLoaderDelegate - Storing ApplicationContext in cache under key [[MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
  297. 23:30:06.301 [main] DEBUG o.springframework.test.context.cache - Spring test ApplicationContext cache statistics: [DefaultContextCache@44d37df9 size = 1, parentContextCount = 0, hitCount = 0, missCount = 1]
  298. 23:30:06.305 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest': AutowiredFieldElement for private javax.sql.DataSource cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest.dataSource
  299. 23:30:06.305 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource'
  300. 23:30:06.305 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest' to bean named 'dataSource'
  301. 23:30:06.305 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.AnswerManager cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest.answerManager
  302. 23:30:06.306 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'answerManagerImpl'
  303. 23:30:06.306 [main] DEBUG o.s.b.f.a.AutowiredAnnotationBeanPostProcessor - Autowiring by type from bean name 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest' to bean named 'answerManagerImpl'
  304. 23:30:06.310 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - Before test method: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@280352ec, testMethod = nextAnswer@AnswerManagerTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null], method annotated with @DirtiesContext [false] with mode [null].
  305. 23:30:06.314 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:derby:memory:testdb;create=true]
  306. 23:30:06.323 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [createTables.sql]
  307. 23:30:06.502 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "PERSON" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "USERNAME" VARCHAR(64) NOT NULL, "ISADMIN" BOOLEAN NOT NULL )
  308. 23:30:06.511 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "EVALUATION" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "PERSONID" BIGINT NOT NULL, "ANSWERID" BIGINT NOT NULL, "RATING" CHARACTER(1) NOT NULL, "ELAPSEDTIME" INTEGER NOT NULL )
  309. 23:30:06.520 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "ANSWER" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "SUBPACKID" BIGINT NOT NULL, "ANSWERVALUE" VARCHAR(100) NOT NULL, "ISNOISE" BOOLEAN NOT NULL )
  310. 23:30:06.523 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "ASSIGNEDPERSON" ( "PERSONID" BIGINT NOT NULL, "SUBPACKID" BIGINT NOT NULL )
  311. 23:30:06.531 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "SUBPACK" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "PACKID" BIGINT NOT NULL, "NAME" VARCHAR(30) NOT NULL )
  312. 23:30:06.540 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "PACK" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "QUESTION" VARCHAR(250) NOT NULL, "NAME" VARCHAR(30) NOT NULL, "REPEAT" SMALLINT NOT NULL, "NOISE" SMALLINT NOT NULL )
  313. 23:30:06.543 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "REPEATANSWER" ( "SUBPACKID" BIGINT NOT NULL, "ANSWERID" BIGINT NOT NULL )
  314. 23:30:06.543 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [createTables.sql] in 220 ms.
  315. 23:30:06.544 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:derby:memory:testdb;create=true]
  316. 23:30:06.545 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [dropTables.sql]
  317. 23:30:06.565 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "REPEATANSWER"
  318. 23:30:06.582 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "PACK"
  319. 23:30:06.596 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "SUBPACK"
  320. 23:30:06.604 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "ASSIGNEDPERSON"
  321. 23:30:06.620 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "ANSWER"
  322. 23:30:06.638 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "EVALUATION"
  323. 23:30:06.655 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "PERSON"
  324. 23:30:06.655 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [dropTables.sql] in 110 ms.
  325. 23:30:06.656 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - After test method: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@280352ec, testMethod = nextAnswer@AnswerManagerTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null], method annotated with @DirtiesContext [false] with mode [null].
  326. 23:30:06.657 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  327. 23:30:06.657 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  328. 23:30:06.657 [main] DEBUG o.s.t.c.s.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@7851de9b, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
  329. 23:30:06.657 [main] DEBUG o.s.t.c.c.DefaultCacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
  330. 23:30:06.658 [main] DEBUG o.springframework.test.context.cache - Spring test ApplicationContext cache statistics: [DefaultContextCache@44d37df9 size = 1, parentContextCount = 0, hitCount = 1, missCount = 1]
  331. 23:30:06.658 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest': AutowiredFieldElement for private javax.sql.DataSource cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest.dataSource
  332. 23:30:06.658 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource'
  333. 23:30:06.658 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.AnswerManager cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest.answerManager
  334. 23:30:06.658 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'answerManagerImpl'
  335. 23:30:06.658 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - Before test method: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@7851de9b, testMethod = getAnswersInPack@AnswerManagerTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null], method annotated with @DirtiesContext [false] with mode [null].
  336. 23:30:06.659 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:derby:memory:testdb;create=true]
  337. 23:30:06.660 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [createTables.sql]
  338. 23:30:06.671 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "PERSON" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "USERNAME" VARCHAR(64) NOT NULL, "ISADMIN" BOOLEAN NOT NULL )
  339. 23:30:06.681 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "EVALUATION" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "PERSONID" BIGINT NOT NULL, "ANSWERID" BIGINT NOT NULL, "RATING" CHARACTER(1) NOT NULL, "ELAPSEDTIME" INTEGER NOT NULL )
  340. 23:30:06.691 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "ANSWER" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "SUBPACKID" BIGINT NOT NULL, "ANSWERVALUE" VARCHAR(100) NOT NULL, "ISNOISE" BOOLEAN NOT NULL )
  341. 23:30:06.696 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "ASSIGNEDPERSON" ( "PERSONID" BIGINT NOT NULL, "SUBPACKID" BIGINT NOT NULL )
  342. 23:30:06.704 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "SUBPACK" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "PACKID" BIGINT NOT NULL, "NAME" VARCHAR(30) NOT NULL )
  343. 23:30:06.712 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "PACK" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "QUESTION" VARCHAR(250) NOT NULL, "NAME" VARCHAR(30) NOT NULL, "REPEAT" SMALLINT NOT NULL, "NOISE" SMALLINT NOT NULL )
  344. 23:30:06.715 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "REPEATANSWER" ( "SUBPACKID" BIGINT NOT NULL, "ANSWERID" BIGINT NOT NULL )
  345. 23:30:06.715 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [createTables.sql] in 55 ms.
  346. 23:30:06.715 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:derby:memory:testdb;create=true]
  347. 23:30:06.716 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [dropTables.sql]
  348. 23:30:06.723 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "REPEATANSWER"
  349. 23:30:06.741 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "PACK"
  350. 23:30:06.752 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "SUBPACK"
  351. 23:30:06.757 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "ASSIGNEDPERSON"
  352. 23:30:06.767 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "ANSWER"
  353. 23:30:06.779 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "EVALUATION"
  354. 23:30:06.792 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "PERSON"
  355. 23:30:06.793 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [dropTables.sql] in 77 ms.
  356. 23:30:06.793 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - After test method: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@7851de9b, testMethod = getAnswersInPack@AnswerManagerTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null], method annotated with @DirtiesContext [false] with mode [null].
  357. 23:30:06.793 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  358. 23:30:06.794 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  359. 23:30:06.794 [main] DEBUG o.s.t.c.s.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@2747ebcb, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
  360. 23:30:06.794 [main] DEBUG o.s.t.c.c.DefaultCacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
  361. 23:30:06.794 [main] DEBUG o.springframework.test.context.cache - Spring test ApplicationContext cache statistics: [DefaultContextCache@44d37df9 size = 1, parentContextCount = 0, hitCount = 2, missCount = 1]
  362. 23:30:06.794 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest': AutowiredFieldElement for private javax.sql.DataSource cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest.dataSource
  363. 23:30:06.794 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource'
  364. 23:30:06.794 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.AnswerManager cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest.answerManager
  365. 23:30:06.795 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'answerManagerImpl'
  366. 23:30:06.795 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - Before test method: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@2747ebcb, testMethod = getAnswersInSubpack@AnswerManagerTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null], method annotated with @DirtiesContext [false] with mode [null].
  367. 23:30:06.796 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:derby:memory:testdb;create=true]
  368. 23:30:06.797 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [createTables.sql]
  369. 23:30:06.808 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "PERSON" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "USERNAME" VARCHAR(64) NOT NULL, "ISADMIN" BOOLEAN NOT NULL )
  370. 23:30:06.816 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "EVALUATION" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "PERSONID" BIGINT NOT NULL, "ANSWERID" BIGINT NOT NULL, "RATING" CHARACTER(1) NOT NULL, "ELAPSEDTIME" INTEGER NOT NULL )
  371. 23:30:06.824 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "ANSWER" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "SUBPACKID" BIGINT NOT NULL, "ANSWERVALUE" VARCHAR(100) NOT NULL, "ISNOISE" BOOLEAN NOT NULL )
  372. 23:30:06.828 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "ASSIGNEDPERSON" ( "PERSONID" BIGINT NOT NULL, "SUBPACKID" BIGINT NOT NULL )
  373. 23:30:06.836 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "SUBPACK" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "PACKID" BIGINT NOT NULL, "NAME" VARCHAR(30) NOT NULL )
  374. 23:30:06.845 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "PACK" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "QUESTION" VARCHAR(250) NOT NULL, "NAME" VARCHAR(30) NOT NULL, "REPEAT" SMALLINT NOT NULL, "NOISE" SMALLINT NOT NULL )
  375. 23:30:06.848 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "REPEATANSWER" ( "SUBPACKID" BIGINT NOT NULL, "ANSWERID" BIGINT NOT NULL )
  376. 23:30:06.849 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [createTables.sql] in 52 ms.
  377. 23:30:06.849 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:derby:memory:testdb;create=true]
  378. 23:30:06.850 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [dropTables.sql]
  379. 23:30:06.857 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "REPEATANSWER"
  380. 23:30:06.873 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "PACK"
  381. 23:30:06.884 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "SUBPACK"
  382. 23:30:06.888 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "ASSIGNEDPERSON"
  383. 23:30:06.899 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "ANSWER"
  384. 23:30:06.909 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "EVALUATION"
  385. 23:30:06.918 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "PERSON"
  386. 23:30:06.918 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [dropTables.sql] in 68 ms.
  387. 23:30:06.918 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - After test method: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@2747ebcb, testMethod = getAnswersInSubpack@AnswerManagerTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null], method annotated with @DirtiesContext [false] with mode [null].
  388. 23:30:06.919 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved @ProfileValueSourceConfiguration [null] for test class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  389. 23:30:06.919 [main] DEBUG o.s.t.annotation.ProfileValueUtils - Retrieved ProfileValueSource type [class org.springframework.test.annotation.SystemProfileValueSource] for class [cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  390. 23:30:06.919 [main] DEBUG o.s.t.c.s.DependencyInjectionTestExecutionListener - Performing dependency injection for test context [[DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@43f69b79, testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]].
  391. 23:30:06.919 [main] DEBUG o.s.t.c.c.DefaultCacheAwareContextLoaderDelegate - Retrieved ApplicationContext from cache with key [[MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]]
  392. 23:30:06.920 [main] DEBUG o.springframework.test.context.cache - Spring test ApplicationContext cache statistics: [DefaultContextCache@44d37df9 size = 1, parentContextCount = 0, hitCount = 3, missCount = 1]
  393. 23:30:06.920 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest': AutowiredFieldElement for private javax.sql.DataSource cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest.dataSource
  394. 23:30:06.920 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'dataSource'
  395. 23:30:06.920 [main] DEBUG o.s.b.f.annotation.InjectionMetadata - Processing injected element of bean 'cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest': AutowiredFieldElement for private cz.muni.pb138.annotationsystem.backend.api.AnswerManager cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest.answerManager
  396. 23:30:06.920 [main] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'answerManagerImpl'
  397. 23:30:06.921 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - Before test method: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@43f69b79, testMethod = getAnswerById@AnswerManagerTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null], method annotated with @DirtiesContext [false] with mode [null].
  398. 23:30:06.921 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:derby:memory:testdb;create=true]
  399. 23:30:06.922 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [createTables.sql]
  400. 23:30:06.930 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "PERSON" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "USERNAME" VARCHAR(64) NOT NULL, "ISADMIN" BOOLEAN NOT NULL )
  401. 23:30:06.937 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "EVALUATION" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "PERSONID" BIGINT NOT NULL, "ANSWERID" BIGINT NOT NULL, "RATING" CHARACTER(1) NOT NULL, "ELAPSEDTIME" INTEGER NOT NULL )
  402. 23:30:06.943 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "ANSWER" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "SUBPACKID" BIGINT NOT NULL, "ANSWERVALUE" VARCHAR(100) NOT NULL, "ISNOISE" BOOLEAN NOT NULL )
  403. 23:30:06.946 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "ASSIGNEDPERSON" ( "PERSONID" BIGINT NOT NULL, "SUBPACKID" BIGINT NOT NULL )
  404. 23:30:06.952 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "SUBPACK" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "PACKID" BIGINT NOT NULL, "NAME" VARCHAR(30) NOT NULL )
  405. 23:30:06.958 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "PACK" ( "ID" BIGINT NOT NULL PRIMARY KEY GENERATED ALWAYS AS IDENTITY, "QUESTION" VARCHAR(250) NOT NULL, "NAME" VARCHAR(30) NOT NULL, "REPEAT" SMALLINT NOT NULL, "NOISE" SMALLINT NOT NULL )
  406. 23:30:06.962 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: CREATE TABLE "REPEATANSWER" ( "SUBPACKID" BIGINT NOT NULL, "ANSWERID" BIGINT NOT NULL )
  407. 23:30:06.962 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [createTables.sql] in 40 ms.
  408. 23:30:06.962 [main] DEBUG o.s.j.d.SimpleDriverDataSource - Creating new JDBC Driver Connection to [jdbc:derby:memory:testdb;create=true]
  409. 23:30:06.963 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executing SQL script from class path resource [dropTables.sql]
  410. 23:30:06.968 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "REPEATANSWER"
  411. 23:30:06.977 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "PACK"
  412. 23:30:06.986 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "SUBPACK"
  413. 23:30:06.990 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "ASSIGNEDPERSON"
  414. 23:30:07.002 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "ANSWER"
  415. 23:30:07.016 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "EVALUATION"
  416. 23:30:07.048 [main] DEBUG o.s.jdbc.datasource.init.ScriptUtils - 0 returned as updateCount for SQL: DROP TABLE "PERSON"
  417. 23:30:07.048 [main] INFO o.s.jdbc.datasource.init.ScriptUtils - Executed SQL script from class path resource [dropTables.sql] in 85 ms.
  418. 23:30:07.049 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - After test method: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest@43f69b79, testMethod = getAnswerById@AnswerManagerTest, testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null], method annotated with @DirtiesContext [false] with mode [null].
  419. 23:30:07.049 [main] DEBUG o.s.t.c.s.AbstractDirtiesContextTestExecutionListener - After test class: context [DefaultTestContext@1f8dbaa6 testClass = AnswerManagerTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [MergedContextConfiguration@11d8f879 testClass = AnswerManagerTest, locations = '{}', classes = '{class cz.muni.pb138.annotationsystem.backend.config.TestConfig}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{}', contextLoader = 'org.springframework.test.context.support.DelegatingSmartContextLoader', parent = [null]]], class annotated with @DirtiesContext [false] with mode [null].
  420. Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.608 sec
  421. Running cz.muni.pb138.annotationsystem.backend.dao.SubpackDaoTest
  422. getById
  423. create
  424. delete
  425. update
  426. Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.037 sec <<< FAILURE!
  427. 23:30:07.122 [Thread-2] INFO o.s.c.s.GenericApplicationContext - Closing org.springframework.context.support.GenericApplicationContext@659a1fae: startup date [Thu May 12 23:30:05 CEST 2016]; root of context hierarchy
  428. 23:30:07.123 [Thread-2] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Returning cached instance of singleton bean 'lifecycleProcessor'
  429. 23:30:07.123 [Thread-2] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6dfee2b4: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.event.internalEventListenerProcessor,org.springframework.context.event.internalEventListenerFactory,testConfig,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor,org.springframework.context.annotation.ConfigurationClassPostProcessor.enhancedConfigurationProcessor,answerManagerImpl,evaluationManagerImpl,packManagerImpl,personManagerImpl,statisticsManagerImpl,subpackManagerImpl,answerDaoImpl,evaluationDao,packDao,personDao,subpackDao,cz.muni.pb138.annotationsystem.backend.config.BackendConfig,dataSource]; root of factory hierarchy
  430. 23:30:07.124 [Thread-2] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Retrieved dependent beans for bean 'answerManagerImpl': [subpackManagerImpl, cz.muni.pb138.annotationsystem.backend.api.AnswerManagerTest]
  431. 23:30:07.124 [Thread-2] DEBUG o.s.b.f.s.DefaultListableBeanFactory - Retrieved dependent beans for bean 'subpackManagerImpl': [answerManagerImpl]
  432. 23:30:07.124 [Thread-2] DEBUG o.s.b.f.s.DisposableBeanAdapter - Invoking destroy method 'shutdown' on bean with name 'dataSource'
  433. 23:30:07.125 [Thread-2] INFO o.s.j.d.e.EmbeddedDatabaseFactory - Shutting down embedded database: url='jdbc:derby:memory:testdb;create=true'
  434.  
  435. Results :
  436.  
  437. Tests in error:
  438. testGetById(cz.muni.pb138.annotationsystem.backend.dao.SubpackDaoTest)
  439. testCreate(cz.muni.pb138.annotationsystem.backend.dao.SubpackDaoTest)
  440. testDelete(cz.muni.pb138.annotationsystem.backend.dao.SubpackDaoTest)
  441. testUpdate(cz.muni.pb138.annotationsystem.backend.dao.SubpackDaoTest)
  442.  
  443. Tests run: 8, Failures: 0, Errors: 4, Skipped: 0
  444.  
  445. [INFO] ------------------------------------------------------------------------
  446. [INFO] Reactor Summary:
  447. [INFO]
  448. [INFO] Annotation system ................................. SUCCESS [0.514s]
  449. [INFO] backend ........................................... FAILURE [6.180s]
  450. [INFO] frontend .......................................... SKIPPED
  451. [INFO] ------------------------------------------------------------------------
  452. [INFO] BUILD FAILURE
  453. [INFO] ------------------------------------------------------------------------
  454. [INFO] Total time: 6.816s
  455. [INFO] Finished at: Thu May 12 23:30:07 CEST 2016
  456. [INFO] Final Memory: 18M/231M
  457. [INFO] ------------------------------------------------------------------------
  458. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.10:test (default-test) on project backend: There are test failures.
  459. [ERROR]
  460. [ERROR] Please refer to C:\Users\Matthew\pb138\project\backend\target\surefire-reports for the individual test results.
  461. [ERROR] -> [Help 1]
  462. [ERROR]
  463. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  464. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  465. [ERROR]
  466. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  467. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  468. [ERROR]
  469. [ERROR] After correcting the problems, you can resume the build with the command
  470. [ERROR] mvn <goals> -rf :backend
  471. [ERROR] Maven execution terminated abnormally (exit code 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement