46.15 s

CategoryServiceTest and 9 more: 29 total, 29 passed

  • Collapse |
  • Expand
    "C:\Program Files\Java\jdk1.8.0_201\bin\java.exe" -ea -javaagent:C:\Users\Xue_Feng\AppData\Local\JetBrains\IntelliJIdea2020.1\testAgent\intellij-coverage-agent-1.0.508.jar=C:\Users\Xue_Feng\AppData\Local\Temp\coverageargs -Didea.test.cyclic.buffer.size=1048576 "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.1\lib\idea_rt.jar=50186:C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.1\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.1\lib\idea_rt.jar;C:\Users\Xue_Feng\.m2\repository\org\junit\platform\junit-platform-launcher\1.5.2\junit-platform-launcher-1.5.2.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.1\plugins\junit\lib\junit5-rt.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2019.3.1\plugins\junit\lib\junit-rt.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_201\jre\lib\rt.jar;D:\IntelliJ IDEA Projects\ANOP\backend\target\test-classes;D:\IntelliJ IDEA Projects\ANOP\backend\target\classes;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-security\2.2.6.RELEASE\spring-boot-starter-security-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter\2.2.6.RELEASE\spring-boot-starter-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.2.6.RELEASE\spring-boot-starter-logging-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\Xue_Feng\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\Xue_Feng\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.12.1\log4j-to-slf4j-2.12.1.jar;C:\Users\Xue_Feng\.m2\repository\org\apache\logging\log4j\log4j-api\2.12.1\log4j-api-2.12.1.jar;C:\Users\Xue_Feng\.m2\repository\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;C:\Users\Xue_Feng\.m2\repository\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;C:\Users\Xue_Feng\.m2\repository\org\yaml\snakeyaml\1.25\snakeyaml-1.25.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-aop\5.2.5.RELEASE\spring-aop-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-beans\5.2.5.RELEASE\spring-beans-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\security\spring-security-config\5.2.2.RELEASE\spring-security-config-5.2.2.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-context\5.2.5.RELEASE\spring-context-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\security\spring-security-web\5.2.2.RELEASE\spring-security-web-5.2.2.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-expression\5.2.5.RELEASE\spring-expression-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.2.6.RELEASE\spring-boot-starter-web-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.2.6.RELEASE\spring-boot-starter-json-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.10.3\jackson-databind-2.10.3.jar;C:\Users\Xue_Feng\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.10.3\jackson-core-2.10.3.jar;C:\Users\Xue_Feng\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.10.3\jackson-datatype-jdk8-2.10.3.jar;C:\Users\Xue_Feng\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.10.3\jackson-datatype-jsr310-2.10.3.jar;C:\Users\Xue_Feng\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.10.3\jackson-module-parameter-names-2.10.3.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.2.6.RELEASE\spring-boot-starter-tomcat-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\9.0.33\tomcat-embed-core-9.0.33.jar;C:\Users\Xue_Feng\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\9.0.33\tomcat-embed-el-9.0.33.jar;C:\Users\Xue_Feng\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.33\tomcat-embed-websocket-9.0.33.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-validation\2.2.6.RELEASE\spring-boot-starter-validation-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\jakarta\validation\jakarta.validation-api\2.0.2\jakarta.validation-api-2.0.2.jar;C:\Users\Xue_Feng\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.18.Final\hibernate-validator-6.0.18.Final.jar;C:\Users\Xue_Feng\.m2\repository\org\jboss\logging\jboss-logging\3.4.1.Final\jboss-logging-3.4.1.Final.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-web\5.2.5.RELEASE\spring-web-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-webmvc\5.2.5.RELEASE\spring-webmvc-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\mybatis\spring\boot\mybatis-spring-boot-starter\2.1.2\mybatis-spring-boot-starter-2.1.2.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.2.6.RELEASE\spring-boot-starter-jdbc-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\com\zaxxer\HikariCP\3.4.2\HikariCP-3.4.2.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-jdbc\5.2.5.RELEASE\spring-jdbc-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-tx\5.2.5.RELEASE\spring-tx-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\mybatis\spring\boot\mybatis-spring-boot-autoconfigure\2.1.2\mybatis-spring-boot-autoconfigure-2.1.2.jar;C:\Users\Xue_Feng\.m2\repository\org\mybatis\mybatis\3.5.4\mybatis-3.5.4.jar;C:\Users\Xue_Feng\.m2\repository\org\mybatis\mybatis-spring\2.0.4\mybatis-spring-2.0.4.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-devtools\2.2.6.RELEASE\spring-boot-devtools-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot\2.2.6.RELEASE\spring-boot-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.2.6.RELEASE\spring-boot-autoconfigure-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\mysql\mysql-connector-java\8.0.19\mysql-connector-java-8.0.19.jar;C:\Users\Xue_Feng\.m2\repository\org\projectlombok\lombok\1.18.12\lombok-1.18.12.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.2.6.RELEASE\spring-boot-starter-test-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-test\2.2.6.RELEASE\spring-boot-test-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.2.6.RELEASE\spring-boot-test-autoconfigure-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;C:\Users\Xue_Feng\.m2\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar;C:\Users\Xue_Feng\.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;C:\Users\Xue_Feng\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;C:\Users\Xue_Feng\.m2\repository\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;C:\Users\Xue_Feng\.m2\repository\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;C:\Users\Xue_Feng\.m2\repository\org\junit\jupiter\junit-jupiter\5.5.2\junit-jupiter-5.5.2.jar;C:\Users\Xue_Feng\.m2\repository\org\junit\jupiter\junit-jupiter-api\5.5.2\junit-jupiter-api-5.5.2.jar;C:\Users\Xue_Feng\.m2\repository\org\apiguardian\apiguardian-api\1.1.0\apiguardian-api-1.1.0.jar;C:\Users\Xue_Feng\.m2\repository\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;C:\Users\Xue_Feng\.m2\repository\org\junit\platform\junit-platform-commons\1.5.2\junit-platform-commons-1.5.2.jar;C:\Users\Xue_Feng\.m2\repository\org\junit\jupiter\junit-jupiter-params\5.5.2\junit-jupiter-params-5.5.2.jar;C:\Users\Xue_Feng\.m2\repository\org\junit\jupiter\junit-jupiter-engine\5.5.2\junit-jupiter-engine-5.5.2.jar;C:\Users\Xue_Feng\.m2\repository\org\junit\platform\junit-platform-engine\1.5.2\junit-platform-engine-1.5.2.jar;C:\Users\Xue_Feng\.m2\repository\org\mockito\mockito-junit-jupiter\3.1.0\mockito-junit-jupiter-3.1.0.jar;C:\Users\Xue_Feng\.m2\repository\org\hamcrest\hamcrest\2.1\hamcrest-2.1.jar;C:\Users\Xue_Feng\.m2\repository\org\mockito\mockito-core\3.1.0\mockito-core-3.1.0.jar;C:\Users\Xue_Feng\.m2\repository\net\bytebuddy\byte-buddy-agent\1.10.8\byte-buddy-agent-1.10.8.jar;C:\Users\Xue_Feng\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;C:\Users\Xue_Feng\.m2\repository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;C:\Users\Xue_Feng\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-core\5.2.5.RELEASE\spring-core-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-jcl\5.2.5.RELEASE\spring-jcl-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-test\5.2.5.RELEASE\spring-test-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\xmlunit\xmlunit-core\2.6.4\xmlunit-core-2.6.4.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\security\spring-security-test\5.2.2.RELEASE\spring-security-test-5.2.2.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\security\spring-security-core\5.2.2.RELEASE\spring-security-core-5.2.2.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\com\github\pagehelper\pagehelper-spring-boot-starter\1.2.12\pagehelper-spring-boot-starter-1.2.12.jar;C:\Users\Xue_Feng\.m2\repository\com\github\pagehelper\pagehelper-spring-boot-autoconfigure\1.2.12\pagehelper-spring-boot-autoconfigure-1.2.12.jar;C:\Users\Xue_Feng\.m2\repository\com\github\pagehelper\pagehelper\5.1.10\pagehelper-5.1.10.jar;C:\Users\Xue_Feng\.m2\repository\com\github\jsqlparser\jsqlparser\2.0\jsqlparser-2.0.jar;C:\Users\Xue_Feng\.m2\repository\io\springfox\springfox-swagger2\2.9.2\springfox-swagger2-2.9.2.jar;C:\Users\Xue_Feng\.m2\repository\io\swagger\swagger-annotations\1.5.20\swagger-annotations-1.5.20.jar;C:\Users\Xue_Feng\.m2\repository\io\swagger\swagger-models\1.5.20\swagger-models-1.5.20.jar;C:\Users\Xue_Feng\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.10.3\jackson-annotations-2.10.3.jar;C:\Users\Xue_Feng\.m2\repository\io\springfox\springfox-spi\2.9.2\springfox-spi-2.9.2.jar;C:\Users\Xue_Feng\.m2\repository\io\springfox\springfox-core\2.9.2\springfox-core-2.9.2.jar;C:\Users\Xue_Feng\.m2\repository\io\springfox\springfox-schema\2.9.2\springfox-schema-2.9.2.jar;C:\Users\Xue_Feng\.m2\repository\io\springfox\springfox-swagger-common\2.9.2\springfox-swagger-common-2.9.2.jar;C:\Users\Xue_Feng\.m2\repository\io\springfox\springfox-spring-web\2.9.2\springfox-spring-web-2.9.2.jar;C:\Users\Xue_Feng\.m2\repository\com\fasterxml\classmate\1.5.1\classmate-1.5.1.jar;C:\Users\Xue_Feng\.m2\repository\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\plugin\spring-plugin-metadata\1.2.0.RELEASE\spring-plugin-metadata-1.2.0.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\mapstruct\mapstruct\1.2.0.Final\mapstruct-1.2.0.Final.jar;C:\Users\Xue_Feng\.m2\repository\io\springfox\springfox-swagger-ui\2.9.2\springfox-swagger-ui-2.9.2.jar;C:\Users\Xue_Feng\.m2\repository\org\assertj\assertj-core\3.15.0\assertj-core-3.15.0.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-mail\2.2.6.RELEASE\spring-boot-starter-mail-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\spring-context-support\5.2.5.RELEASE\spring-context-support-5.2.5.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\com\sun\mail\jakarta.mail\1.6.5\jakarta.mail-1.6.5.jar;C:\Users\Xue_Feng\.m2\repository\com\sun\activation\jakarta.activation\1.2.2\jakarta.activation-1.2.2.jar;C:\Users\Xue_Feng\.m2\repository\org\springframework\boot\spring-boot-starter-freemarker\2.2.6.RELEASE\spring-boot-starter-freemarker-2.2.6.RELEASE.jar;C:\Users\Xue_Feng\.m2\repository\org\freemarker\freemarker\2.3.30\freemarker-2.3.30.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-java\3.141.59\selenium-java-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-api\3.141.59\selenium-api-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-chrome-driver\3.141.59\selenium-chrome-driver-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-edge-driver\3.141.59\selenium-edge-driver-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-firefox-driver\3.141.59\selenium-firefox-driver-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-ie-driver\3.141.59\selenium-ie-driver-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-opera-driver\3.141.59\selenium-opera-driver-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-remote-driver\3.141.59\selenium-remote-driver-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-safari-driver\3.141.59\selenium-safari-driver-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\org\seleniumhq\selenium\selenium-support\3.141.59\selenium-support-3.141.59.jar;C:\Users\Xue_Feng\.m2\repository\net\bytebuddy\byte-buddy\1.10.8\byte-buddy-1.10.8.jar;C:\Users\Xue_Feng\.m2\repository\org\apache\commons\commons-exec\1.3\commons-exec-1.3.jar;C:\Users\Xue_Feng\.m2\repository\com\squareup\okhttp3\okhttp\3.14.7\okhttp-3.14.7.jar;C:\Users\Xue_Feng\.m2\repository\com\squareup\okio\okio\1.14.0\okio-1.14.0.jar;C:\Users\Xue_Feng\.m2\repository\com\google\guava\guava\28.2-jre\guava-28.2-jre.jar;C:\Users\Xue_Feng\.m2\repository\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;C:\Users\Xue_Feng\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\Xue_Feng\.m2\repository\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;C:\Users\Xue_Feng\.m2\repository\org\checkerframework\checker-qual\2.10.0\checker-qual-2.10.0.jar;C:\Users\Xue_Feng\.m2\repository\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;C:\Users\Xue_Feng\.m2\repository\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar" com.intellij.rt.junit.JUnitStarter -ideVersion5 -junit5 @w@C:\Users\Xue_Feng\AppData\Local\Temp\idea_working_dirs_junit.tmp @C:\Users\Xue_Feng\AppData\Local\Temp\idea_junit.tmp -socket50185 ---- IntelliJ IDEA coverage runner ---- sampling ... include patterns: exclude patterns: Class transformation time: 4.555202004s for 11129 classes or 4.0930919255997844E-4s per class 2020-05-08 09:51:15.665 INFO 12672 --- [extShutdownHook] o.s.s.c.ThreadPoolTaskScheduler : Shutting down ExecutorService 'taskScheduler' 2020-05-08 09:51:15.675 INFO 12672 --- [extShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' 2020-05-08 09:51:15.687 INFO 12672 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2020-05-08 09:51:15.747 INFO 12672 --- [extShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. Process finished with exit code 0
  • 3.70 s
    CategoryServiceTest
    • 2.78 s
      passeddeleteCategory()
      • 2020-05-08 09:50:29.081 INFO 12672 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
        2020-05-08 09:50:29.677 INFO 12672 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
        2020-05-08 09:50:29.704 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@1a245833 testClass = CategoryServiceTest, testInstance = edu.fzu.anop.CategoryServiceTest@4bf8b77, testMethod = deleteCategory@CategoryServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@673fdbce testClass = CategoryServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:31.403 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Preparing: select id, user_id, type_name from todo_category where id = ?
        2020-05-08 09:50:31.420 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:31.434 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:31.436 DEBUG 12672 --- [ main] e.f.a.m.C.deleteByPrimaryKey : ==> Preparing: delete from todo_category where id = ?
        2020-05-08 09:50:31.437 DEBUG 12672 --- [ main] e.f.a.m.C.deleteByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:31.450 DEBUG 12672 --- [ main] e.f.a.m.C.deleteByPrimaryKey : <== Updates: 1
        2020-05-08 09:50:31.452 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Preparing: select id, user_id, type_name from todo_category where id = ?
        2020-05-08 09:50:31.453 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:31.456 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : <== Total: 0
        2020-05-08 09:50:31.701 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Preparing: select id, user_id, type_name from todo_category where id = ?
        2020-05-08 09:50:31.702 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Parameters: 3(Integer)
        2020-05-08 09:50:31.728 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:31.804 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@1a245833 testClass = CategoryServiceTest, testInstance = edu.fzu.anop.CategoryServiceTest@4bf8b77, testMethod = deleteCategory@CategoryServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@673fdbce testClass = CategoryServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 182 ms
      passedlistAllCategory()
      • 2020-05-08 09:50:31.940 DEBUG 12672 --- [ main] e.f.a.m.C.listCategories : ==> Preparing: SELECT tc.id, tc.type_name, (SELECT COUNT(todo.id) FROM todo WHERE todo.category_id = tc.id AND todo.is_completed = 0) as todo_num FROM todo_category as tc JOIN user_info as ui WHERE tc.user_id = ui.user_id AND ui.user_id = ?
        2020-05-08 09:50:31.941 DEBUG 12672 --- [ main] e.f.a.m.C.listCategories : ==> Parameters: 1(Integer)
        2020-05-08 09:50:31.957 DEBUG 12672 --- [ main] e.f.a.m.C.listCategories : <== Total: 3
    • 374 ms
      passedlistTodoByCategoryId()
      • 2020-05-08 09:50:32.350 DEBUG 12672 --- [ main] e.f.a.m.T.selectByExample_COUNT : ==> Preparing: SELECT count(0) FROM todo WHERE (user_id = ? AND category_id = ?)
        2020-05-08 09:50:32.351 DEBUG 12672 --- [ main] e.f.a.m.T.selectByExample_COUNT : ==> Parameters: 1(Integer), 1(Integer)
        2020-05-08 09:50:32.355 DEBUG 12672 --- [ main] e.f.a.m.T.selectByExample_COUNT : <== Total: 1
        2020-05-08 09:50:32.365 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo WHERE ( user_id = ? and category_id = ? ) LIMIT ?
        2020-05-08 09:50:32.368 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.selectByExample : ==> Parameters: 1(Integer), 1(Integer), 5(Integer)
        2020-05-08 09:50:32.376 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.selectByExample : <== Total: 2
    • 155 ms
      passedaddCategory()
      • 2020-05-08 09:50:32.388 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@1a245833 testClass = CategoryServiceTest, testInstance = edu.fzu.anop.CategoryServiceTest@73da303e, testMethod = addCategory@CategoryServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@673fdbce testClass = CategoryServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:32.411 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Category.setClass(java.lang.Class)
        2020-05-08 09:50:32.412 DEBUG 12672 --- [ main] e.fzu.anop.mapper.CategoryMapper.insert : ==> Preparing: insert into todo_category (user_id, type_name) values (?, ?)
        2020-05-08 09:50:32.415 DEBUG 12672 --- [ main] e.fzu.anop.mapper.CategoryMapper.insert : ==> Parameters: 1(Integer), 新分类(String)
        2020-05-08 09:50:32.421 DEBUG 12672 --- [ main] e.fzu.anop.mapper.CategoryMapper.insert : <== Updates: 1
        2020-05-08 09:50:32.539 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@1a245833 testClass = CategoryServiceTest, testInstance = edu.fzu.anop.CategoryServiceTest@73da303e, testMethod = addCategory@CategoryServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@673fdbce testClass = CategoryServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 85 ms
      passedlistCategories()
      • 2020-05-08 09:50:32.588 DEBUG 12672 --- [ main] e.f.a.m.C.listCategories_COUNT : ==> Preparing: SELECT count(0) FROM todo_category AS tc JOIN user_info AS ui WHERE tc.user_id = ui.user_id AND ui.user_id = ?
        2020-05-08 09:50:32.589 DEBUG 12672 --- [ main] e.f.a.m.C.listCategories_COUNT : ==> Parameters: 1(Integer)
        2020-05-08 09:50:32.620 DEBUG 12672 --- [ main] e.f.a.m.C.listCategories_COUNT : <== Total: 1
        2020-05-08 09:50:32.622 DEBUG 12672 --- [ main] e.f.a.m.C.listCategories : ==> Preparing: SELECT tc.id, tc.type_name, (SELECT COUNT(todo.id) FROM todo WHERE todo.category_id = tc.id AND todo.is_completed = 0) as todo_num FROM todo_category as tc JOIN user_info as ui WHERE tc.user_id = ui.user_id AND ui.user_id = ? LIMIT ?
        2020-05-08 09:50:32.623 DEBUG 12672 --- [ main] e.f.a.m.C.listCategories : ==> Parameters: 1(Integer), 5(Integer)
        2020-05-08 09:50:32.626 DEBUG 12672 --- [ main] e.f.a.m.C.listCategories : <== Total: 3
    • 75 ms
      passedupdateCategory()
      • 2020-05-08 09:50:32.639 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@1a245833 testClass = CategoryServiceTest, testInstance = edu.fzu.anop.CategoryServiceTest@1fa18f87, testMethod = updateCategory@CategoryServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@673fdbce testClass = CategoryServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:32.651 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Preparing: select id, user_id, type_name from todo_category where id = ?
        2020-05-08 09:50:32.652 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:32.655 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:32.656 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Category.setClass(java.lang.Class)
        2020-05-08 09:50:32.658 DEBUG 12672 --- [ main] e.f.a.m.C.updateByPrimaryKeySelective : ==> Preparing: update todo_category SET type_name = ? where id = ?
        2020-05-08 09:50:32.660 DEBUG 12672 --- [ main] e.f.a.m.C.updateByPrimaryKeySelective : ==> Parameters: 新名称(String), 1(Integer)
        2020-05-08 09:50:32.662 DEBUG 12672 --- [ main] e.f.a.m.C.updateByPrimaryKeySelective : <== Updates: 1
        2020-05-08 09:50:32.665 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Preparing: select id, user_id, type_name from todo_category where id = ?
        2020-05-08 09:50:32.666 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:32.669 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:32.670 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Preparing: select id, user_id, type_name from todo_category where id = ?
        2020-05-08 09:50:32.671 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Parameters: 3(Integer)
        2020-05-08 09:50:32.673 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:32.709 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@1a245833 testClass = CategoryServiceTest, testInstance = edu.fzu.anop.CategoryServiceTest@1fa18f87, testMethod = updateCategory@CategoryServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@673fdbce testClass = CategoryServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 47 ms
      passedgetCategory()
      • 2020-05-08 09:50:32.737 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Preparing: select id, user_id, type_name from todo_category where id = ?
        2020-05-08 09:50:32.738 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:32.741 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:32.747 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Preparing: select id, user_id, type_name from todo_category where id = ?
        2020-05-08 09:50:32.749 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : ==> Parameters: 7(Integer)
        2020-05-08 09:50:32.753 DEBUG 12672 --- [ main] e.f.a.m.C.selectByPrimaryKey : <== Total: 0
  • 597 ms
    GroupServiceTest
    • 478 ms
      passedTestAcceptOperation()
      • 2020-05-08 09:50:32.850 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@68f9e807 testClass = GroupServiceTest, testInstance = edu.fzu.anop.GroupServiceTest@23708f14, testMethod = TestAcceptOperation@GroupServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@3dfc59c5 testClass = GroupServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:32.874 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Group.setClass(java.lang.Class)
        2020-05-08 09:50:32.875 DEBUG 12672 --- [ main] edu.fzu.anop.mapper.GroupMapper.insert : ==> Preparing: insert into noti_group (user_id, title, remark, creation_date, permission) values (?, ?, ?, ?, ?)
        2020-05-08 09:50:32.895 DEBUG 12672 --- [ main] edu.fzu.anop.mapper.GroupMapper.insert : ==> Parameters: 2(Integer), 123(String), 123(String), 2020-05-08 09:50:32.874(Timestamp), 0(Byte)
        2020-05-08 09:50:32.935 DEBUG 12672 --- [ main] edu.fzu.anop.mapper.GroupMapper.insert : <== Updates: 1
        2020-05-08 09:50:32.948 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:32.949 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 16(Integer)
        2020-05-08 09:50:32.953 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:32.960 DEBUG 12672 --- [ main] e.f.a.m.C.selectGroupByPrimary : ==> Preparing: select g.id, g.user_id, u.nickname, u.avatar_url, g.title, g.remark, g.creation_date, g.permission from noti_group as g join user_info as u on g.user_id = u.user_id where g.id = ?
        2020-05-08 09:50:32.961 DEBUG 12672 --- [ main] e.f.a.m.C.selectGroupByPrimary : ==> Parameters: 16(Integer)
        2020-05-08 09:50:32.964 DEBUG 12672 --- [ main] e.f.a.m.C.selectGroupByPrimary : <== Total: 1
        2020-05-08 09:50:32.975 DEBUG 12672 --- [ main] e.f.a.m.C.listUserGroup_COUNT : ==> Preparing: SELECT count(0) FROM noti_group AS g JOIN noti_group_user AS gu ON g.id = gu.group_id AND gu.user_id = ? AND gu.is_admin = ? JOIN user_info AS u ON g.user_id = u.user_id
        2020-05-08 09:50:32.976 DEBUG 12672 --- [ main] e.f.a.m.C.listUserGroup_COUNT : ==> Parameters: 2(Integer), 0(Byte)
        2020-05-08 09:50:33.048 DEBUG 12672 --- [ main] e.f.a.m.C.listUserGroup_COUNT : <== Total: 1
        2020-05-08 09:50:33.051 DEBUG 12672 --- [ main] e.f.a.m.CustomGroupMapper.listUserGroup : ==> Preparing: select g.id, g.user_id, u.nickname, u.avatar_url, g.title, g.remark, g.creation_date, g.permission from noti_group as g join noti_group_user as gu on g.id = gu.group_id and gu.user_id = ? and gu.is_admin = ? join user_info as u on g.user_id = u.user_id LIMIT ?
        2020-05-08 09:50:33.053 DEBUG 12672 --- [ main] e.f.a.m.CustomGroupMapper.listUserGroup : ==> Parameters: 2(Integer), 0(Byte), 5(Integer)
        2020-05-08 09:50:33.057 DEBUG 12672 --- [ main] e.f.a.m.CustomGroupMapper.listUserGroup : <== Total: 1
        2020-05-08 09:50:33.064 DEBUG 12672 --- [ main] e.f.a.m.C.listUserCreateGroup_COUNT : ==> Preparing: SELECT count(0) FROM noti_group AS g JOIN user_info AS u ON g.user_id = u.user_id WHERE g.user_id = ?
        2020-05-08 09:50:33.064 DEBUG 12672 --- [ main] e.f.a.m.C.listUserCreateGroup_COUNT : ==> Parameters: 2(Integer)
        2020-05-08 09:50:33.066 DEBUG 12672 --- [ main] e.f.a.m.C.listUserCreateGroup_COUNT : <== Total: 1
        2020-05-08 09:50:33.067 DEBUG 12672 --- [ main] e.f.a.m.C.listUserCreateGroup : ==> Preparing: select g.id, g.user_id, u.nickname, u.avatar_url, g.title, g.remark, g.creation_date, g.permission from noti_group as g join user_info as u on g.user_id = u.user_id where g.user_id = ? LIMIT ?
        2020-05-08 09:50:33.069 DEBUG 12672 --- [ main] e.f.a.m.C.listUserCreateGroup : ==> Parameters: 2(Integer), 5(Integer)
        2020-05-08 09:50:33.073 DEBUG 12672 --- [ main] e.f.a.m.C.listUserCreateGroup : <== Total: 3
        2020-05-08 09:50:33.082 DEBUG 12672 --- [ main] e.f.a.m.C.listUserGroup_COUNT : ==> Preparing: SELECT count(0) FROM noti_group AS g JOIN noti_group_user AS gu ON g.id = gu.group_id AND gu.user_id = ? AND gu.is_admin = ? JOIN user_info AS u ON g.user_id = u.user_id
        2020-05-08 09:50:33.083 DEBUG 12672 --- [ main] e.f.a.m.C.listUserGroup_COUNT : ==> Parameters: 2(Integer), 1(Byte)
        2020-05-08 09:50:33.085 DEBUG 12672 --- [ main] e.f.a.m.C.listUserGroup_COUNT : <== Total: 1
        2020-05-08 09:50:33.086 DEBUG 12672 --- [ main] e.f.a.m.CustomGroupMapper.listUserGroup : ==> Preparing: select g.id, g.user_id, u.nickname, u.avatar_url, g.title, g.remark, g.creation_date, g.permission from noti_group as g join noti_group_user as gu on g.id = gu.group_id and gu.user_id = ? and gu.is_admin = ? join user_info as u on g.user_id = u.user_id LIMIT ?
        2020-05-08 09:50:33.087 DEBUG 12672 --- [ main] e.f.a.m.CustomGroupMapper.listUserGroup : ==> Parameters: 2(Integer), 1(Byte), 5(Integer)
        2020-05-08 09:50:33.090 DEBUG 12672 --- [ main] e.f.a.m.CustomGroupMapper.listUserGroup : <== Total: 1
        2020-05-08 09:50:33.103 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.104 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 1(Integer), 2(Integer)
        2020-05-08 09:50:33.109 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:33.116 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.deleteByExample : ==> Preparing: delete from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.117 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.deleteByExample : ==> Parameters: 1(Integer), 2(Integer)
        2020-05-08 09:50:33.140 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.deleteByExample : <== Updates: 1
        2020-05-08 09:50:33.144 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.147 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 16(Integer)
        2020-05-08 09:50:33.151 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.169 DEBUG 12672 --- [ main] e.f.a.m.U.updateByExampleSelective : ==> Preparing: update noti_user_request SET is_accepted = ? WHERE ( group_id = ? and is_accepted = ? )
        2020-05-08 09:50:33.170 DEBUG 12672 --- [ main] e.f.a.m.U.updateByExampleSelective : ==> Parameters: 2(Byte), 16(Integer), 0(Byte)
        2020-05-08 09:50:33.190 DEBUG 12672 --- [ main] e.f.a.m.U.updateByExampleSelective : <== Updates: 0
        2020-05-08 09:50:33.191 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Group.setClass(java.lang.Class)
        2020-05-08 09:50:33.194 DEBUG 12672 --- [ main] e.f.a.m.G.updateByPrimaryKeySelective : ==> Preparing: update noti_group SET permission = ? where id = ?
        2020-05-08 09:50:33.195 DEBUG 12672 --- [ main] e.f.a.m.G.updateByPrimaryKeySelective : ==> Parameters: 2(Byte), 16(Integer)
        2020-05-08 09:50:33.197 DEBUG 12672 --- [ main] e.f.a.m.G.updateByPrimaryKeySelective : <== Updates: 1
        2020-05-08 09:50:33.200 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.201 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 16(Integer)
        2020-05-08 09:50:33.204 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.205 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.deleteByPrimaryKey : ==> Preparing: delete from noti_group where id = ?
        2020-05-08 09:50:33.206 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.deleteByPrimaryKey : ==> Parameters: 16(Integer)
        2020-05-08 09:50:33.245 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.deleteByPrimaryKey : <== Updates: 1
        2020-05-08 09:50:33.309 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@68f9e807 testClass = GroupServiceTest, testInstance = edu.fzu.anop.GroupServiceTest@23708f14, testMethod = TestAcceptOperation@GroupServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@3dfc59c5 testClass = GroupServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 119 ms
      passedTestDenyOperation()
      • 2020-05-08 09:50:33.318 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@68f9e807 testClass = GroupServiceTest, testInstance = edu.fzu.anop.GroupServiceTest@2ec92631, testMethod = TestDenyOperation@GroupServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@3dfc59c5 testClass = GroupServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:33.391 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.392 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 14(Integer), 2(Integer)
        2020-05-08 09:50:33.398 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:50:33.402 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.403 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 14(Integer)
        2020-05-08 09:50:33.406 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.412 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.413 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 9(Integer)
        2020-05-08 09:50:33.416 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.419 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.420 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 9(Integer), 2(Integer)
        2020-05-08 09:50:33.422 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:33.423 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.424 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:33.426 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.433 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@68f9e807 testClass = GroupServiceTest, testInstance = edu.fzu.anop.GroupServiceTest@2ec92631, testMethod = TestDenyOperation@GroupServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@3dfc59c5 testClass = GroupServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
  • 242 ms
    GroupUserServiceTest
    • 181 ms
      passedTestAcceptOperation()
      • 2020-05-08 09:50:33.462 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@1aa59698 testClass = GroupUserServiceTest, testInstance = edu.fzu.anop.GroupUserServiceTest@2cacb445, testMethod = TestAcceptOperation@GroupUserServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@1e7cfd49 testClass = GroupUserServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:33.485 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.486 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 1(Integer), 3(Integer)
        2020-05-08 09:50:33.492 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:33.508 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.509 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 1(Integer), 2(Integer)
        2020-05-08 09:50:33.525 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:33.527 DEBUG 12672 --- [ main] e.f.a.m.C.selectGroupUser : ==> Preparing: select gu.group_id, gu.user_id, u.nickname, u.avatar_url, gu.is_admin from noti_group_user as gu join user_info as u on gu.user_id = u.user_id where gu.group_id = ? and gu.user_id = ?
        2020-05-08 09:50:33.528 DEBUG 12672 --- [ main] e.f.a.m.C.selectGroupUser : ==> Parameters: 1(Integer), 3(Integer)
        2020-05-08 09:50:33.537 DEBUG 12672 --- [ main] e.f.a.m.C.selectGroupUser : <== Total: 1
        2020-05-08 09:50:33.540 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.541 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 8(Integer), 2(Integer)
        2020-05-08 09:50:33.545 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:50:33.547 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.548 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 8(Integer)
        2020-05-08 09:50:33.550 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.556 DEBUG 12672 --- [ main] e.f.a.m.C.listGroupUser_COUNT : ==> Preparing: SELECT count(0) FROM noti_group_user AS gu JOIN user_info AS u ON gu.user_id = u.user_id WHERE gu.group_id = ?
        2020-05-08 09:50:33.556 DEBUG 12672 --- [ main] e.f.a.m.C.listGroupUser_COUNT : ==> Parameters: 8(Integer)
        2020-05-08 09:50:33.559 DEBUG 12672 --- [ main] e.f.a.m.C.listGroupUser_COUNT : <== Total: 1
        2020-05-08 09:50:33.560 DEBUG 12672 --- [ main] e.f.a.m.C.listGroupUser : ==> Preparing: select gu.group_id, gu.user_id, u.nickname, u.avatar_url, gu.is_admin from noti_group_user as gu join user_info as u on gu.user_id = u.user_id where gu.group_id = ? LIMIT ?
        2020-05-08 09:50:33.560 DEBUG 12672 --- [ main] e.f.a.m.C.listGroupUser : ==> Parameters: 8(Integer), 5(Integer)
        2020-05-08 09:50:33.564 DEBUG 12672 --- [ main] e.f.a.m.C.listGroupUser : <== Total: 3
        2020-05-08 09:50:33.567 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.568 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:33.570 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.573 DEBUG 12672 --- [ main] e.f.a.m.G.deleteByPrimaryKey : ==> Preparing: delete from noti_group_user where id = ?
        2020-05-08 09:50:33.574 DEBUG 12672 --- [ main] e.f.a.m.G.deleteByPrimaryKey : ==> Parameters: 15(Integer)
        2020-05-08 09:50:33.576 DEBUG 12672 --- [ main] e.f.a.m.G.deleteByPrimaryKey : <== Updates: 1
        2020-05-08 09:50:33.577 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.578 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 8(Integer)
        2020-05-08 09:50:33.580 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.581 DEBUG 12672 --- [ main] e.f.a.m.G.deleteByPrimaryKey : ==> Preparing: delete from noti_group_user where id = ?
        2020-05-08 09:50:33.582 DEBUG 12672 --- [ main] e.f.a.m.G.deleteByPrimaryKey : ==> Parameters: 5(Integer)
        2020-05-08 09:50:33.582 DEBUG 12672 --- [ main] e.f.a.m.G.deleteByPrimaryKey : <== Updates: 1
        2020-05-08 09:50:33.584 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.585 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 8(Integer)
        2020-05-08 09:50:33.588 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.588 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.GroupUser.setClass(java.lang.Class)
        2020-05-08 09:50:33.590 DEBUG 12672 --- [ main] e.f.a.m.G.updateByPrimaryKeySelective : ==> Preparing: update noti_group_user SET is_admin = ? where id = ?
        2020-05-08 09:50:33.592 DEBUG 12672 --- [ main] e.f.a.m.G.updateByPrimaryKeySelective : ==> Parameters: 1(Byte), 10(Integer)
        2020-05-08 09:50:33.592 DEBUG 12672 --- [ main] e.f.a.m.G.updateByPrimaryKeySelective : <== Updates: 1
        2020-05-08 09:50:33.639 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@1aa59698 testClass = GroupUserServiceTest, testInstance = edu.fzu.anop.GroupUserServiceTest@2cacb445, testMethod = TestAcceptOperation@GroupUserServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@1e7cfd49 testClass = GroupUserServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 61 ms
      passedTestDenyOperation()
      • 2020-05-08 09:50:33.648 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@1aa59698 testClass = GroupUserServiceTest, testInstance = edu.fzu.anop.GroupUserServiceTest@56b751b1, testMethod = TestDenyOperation@GroupUserServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@1e7cfd49 testClass = GroupUserServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:33.663 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.664 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 14(Integer), 2(Integer)
        2020-05-08 09:50:33.672 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:50:33.673 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.674 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 14(Integer)
        2020-05-08 09:50:33.677 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.685 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.686 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 9(Integer)
        2020-05-08 09:50:33.688 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.691 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.692 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 9(Integer), 2(Integer)
        2020-05-08 09:50:33.694 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:33.703 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@1aa59698 testClass = GroupUserServiceTest, testInstance = edu.fzu.anop.GroupUserServiceTest@56b751b1, testMethod = TestDenyOperation@GroupUserServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@1e7cfd49 testClass = GroupUserServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
  • 524 ms
    NotificationServiceTest
    • 335 ms
      passedTestAcceptOperation()
      • 2020-05-08 09:50:33.730 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@76e9eed8 testClass = NotificationServiceTest, testInstance = edu.fzu.anop.NotificationServiceTest@30ef32eb, testMethod = TestAcceptOperation@NotificationServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@474619d9 testClass = NotificationServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:33.747 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.749 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 8(Integer), 2(Integer)
        2020-05-08 09:50:33.756 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:50:33.758 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.759 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 8(Integer)
        2020-05-08 09:50:33.781 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.783 DEBUG 12672 --- [ main] e.f.a.m.C.selectNotification : ==> Preparing: select n.id, n.group_id, n.user_id, n.title, n.content, n.creation_date, u.nickname, u.avatar_url from notification as n join user_info as u on n.user_id = u.user_id where n.id = ? and n.group_id = ?
        2020-05-08 09:50:33.784 DEBUG 12672 --- [ main] e.f.a.m.C.selectNotification : ==> Parameters: 8(Integer), 8(Integer)
        2020-05-08 09:50:33.798 DEBUG 12672 --- [ main] e.f.a.m.C.selectNotification : <== Total: 1
        2020-05-08 09:50:33.803 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.804 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 9(Integer), 2(Integer)
        2020-05-08 09:50:33.807 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:33.808 DEBUG 12672 --- [ main] e.f.a.m.C.selectReceiverNotification : ==> Preparing: select n.id, n.group_id, n.user_id, u.nickname, u.avatar_url, n.title, n.content, n.creation_date, r.is_read from notification as n JOIN user_info as u on n.user_id = u.user_id LEFT JOIN noti_receiver as r on r.notification_id = n.id and r.user_id = ? where n.id = ? and n.group_id = ?
        2020-05-08 09:50:33.821 DEBUG 12672 --- [ main] e.f.a.m.C.selectReceiverNotification : ==> Parameters: 2(Integer), 18(Integer), 9(Integer)
        2020-05-08 09:50:33.829 DEBUG 12672 --- [ main] e.f.a.m.C.selectReceiverNotification : <== Total: 1
        2020-05-08 09:50:33.832 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.833 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 1(Integer), 2(Integer)
        2020-05-08 09:50:33.841 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:33.847 DEBUG 12672 --- [ main] e.f.a.m.C.listNotification_COUNT : ==> Preparing: SELECT count(0) FROM notification AS n JOIN user_info AS u ON n.user_id = u.user_id WHERE n.group_id = ?
        2020-05-08 09:50:33.848 DEBUG 12672 --- [ main] e.f.a.m.C.listNotification_COUNT : ==> Parameters: 1(Integer)
        2020-05-08 09:50:33.850 DEBUG 12672 --- [ main] e.f.a.m.C.listNotification_COUNT : <== Total: 1
        2020-05-08 09:50:33.851 DEBUG 12672 --- [ main] e.f.a.m.C.listNotification : ==> Preparing: select n.id, n.group_id, n.user_id, n.title, n.content, n.creation_date, u.nickname, u.avatar_url from notification as n join user_info as u on n.user_id = u.user_id where n.group_id = ? LIMIT ?
        2020-05-08 09:50:33.852 DEBUG 12672 --- [ main] e.f.a.m.C.listNotification : ==> Parameters: 1(Integer), 5(Integer)
        2020-05-08 09:50:33.855 DEBUG 12672 --- [ main] e.f.a.m.C.listNotification : <== Total: 2
        2020-05-08 09:50:33.865 DEBUG 12672 --- [ main] e.f.a.m.C.listReceiverNotification_COUNT : ==> Preparing: SELECT count(0) FROM notification AS n JOIN user_info AS u ON n.user_id = u.user_id LEFT JOIN noti_receiver AS r ON r.notification_id = n.id AND r.user_id = ? WHERE n.group_id = ?
        2020-05-08 09:50:33.866 DEBUG 12672 --- [ main] e.f.a.m.C.listReceiverNotification_COUNT : ==> Parameters: 2(Integer), 9(Integer)
        2020-05-08 09:50:33.868 DEBUG 12672 --- [ main] e.f.a.m.C.listReceiverNotification_COUNT : <== Total: 1
        2020-05-08 09:50:33.868 DEBUG 12672 --- [ main] e.f.a.m.C.listReceiverNotification : ==> Preparing: select n.id, n.group_id, n.user_id, u.nickname, u.avatar_url, n.title, n.content, n.creation_date, r.is_read from notification as n JOIN user_info as u on n.user_id = u.user_id LEFT JOIN noti_receiver as r on r.notification_id = n.id and r.user_id = ? where n.group_id = ? LIMIT ?
        2020-05-08 09:50:33.869 DEBUG 12672 --- [ main] e.f.a.m.C.listReceiverNotification : ==> Parameters: 2(Integer), 9(Integer), 5(Integer)
        2020-05-08 09:50:33.875 DEBUG 12672 --- [ main] e.f.a.m.C.listReceiverNotification : <== Total: 4
        2020-05-08 09:50:33.879 DEBUG 12672 --- [ main] e.f.a.m.C.countGroupUnreadNotification : ==> Preparing: select count(*) from notification as n left join noti_receiver as r on n.id=r.notification_id and r.user_id = ? where n.group_id = ? and r.is_read is NULL or r.is_read = 0
        2020-05-08 09:50:33.880 DEBUG 12672 --- [ main] e.f.a.m.C.countGroupUnreadNotification : ==> Parameters: 2(Integer), 9(Integer)
        2020-05-08 09:50:33.882 DEBUG 12672 --- [ main] e.f.a.m.C.countGroupUnreadNotification : <== Total: 1
        2020-05-08 09:50:33.884 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.885 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:33.888 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.891 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Notification.setClass(java.lang.Class)
        2020-05-08 09:50:33.892 DEBUG 12672 --- [ main] e.f.a.mapper.NotificationMapper.insert : ==> Preparing: insert into notification (group_id, user_id, title, content, creation_date) values (?, ?, ?, ?, ?)
        2020-05-08 09:50:33.893 DEBUG 12672 --- [ main] e.f.a.mapper.NotificationMapper.insert : ==> Parameters: 1(Integer), 2(Integer), 231(String), 121(String), 2020-05-08 09:50:33.891(Timestamp)
        2020-05-08 09:50:33.895 DEBUG 12672 --- [ main] e.f.a.mapper.NotificationMapper.insert : <== Updates: 1
        2020-05-08 09:50:33.898 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.898 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 8(Integer)
        2020-05-08 09:50:33.901 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.911 DEBUG 12672 --- [ main] e.f.a.m.R.updateByExampleSelective : ==> Preparing: update noti_receiver SET is_read = ? WHERE ( notification_id = ? )
        2020-05-08 09:50:33.913 DEBUG 12672 --- [ main] e.f.a.m.R.updateByExampleSelective : ==> Parameters: 1(Byte), 9(Integer)
        2020-05-08 09:50:33.914 DEBUG 12672 --- [ main] e.f.a.m.R.updateByExampleSelective : <== Updates: 0
        2020-05-08 09:50:33.915 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Notification.setClass(java.lang.Class)
        2020-05-08 09:50:33.916 DEBUG 12672 --- [ main] e.f.a.m.N.updateByPrimaryKeySelective : ==> Preparing: update notification SET content = ?, creation_date = ? where id = ?
        2020-05-08 09:50:33.918 DEBUG 12672 --- [ main] e.f.a.m.N.updateByPrimaryKeySelective : ==> Parameters: 123(String), 2020-05-08 09:50:33.915(Timestamp), 9(Integer)
        2020-05-08 09:50:33.919 DEBUG 12672 --- [ main] e.f.a.m.N.updateByPrimaryKeySelective : <== Updates: 1
        2020-05-08 09:50:33.921 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:33.922 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 8(Integer)
        2020-05-08 09:50:33.926 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.927 DEBUG 12672 --- [ main] e.f.a.m.N.deleteByPrimaryKey : ==> Preparing: delete from notification where id = ?
        2020-05-08 09:50:33.928 DEBUG 12672 --- [ main] e.f.a.m.N.deleteByPrimaryKey : ==> Parameters: 9(Integer)
        2020-05-08 09:50:33.929 DEBUG 12672 --- [ main] e.f.a.m.N.deleteByPrimaryKey : <== Updates: 1
        2020-05-08 09:50:33.931 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, title, content, creation_date from notification where id = ?
        2020-05-08 09:50:33.931 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Parameters: 17(Integer)
        2020-05-08 09:50:33.933 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:33.937 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:33.938 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 9(Integer), 2(Integer)
        2020-05-08 09:50:33.940 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:33.942 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Todo.setClass(java.lang.Class)
        2020-05-08 09:50:33.943 DEBUG 12672 --- [ main] edu.fzu.anop.mapper.TodoMapper.insert : ==> Preparing: insert into todo (user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
        2020-05-08 09:50:33.945 DEBUG 12672 --- [ main] edu.fzu.anop.mapper.TodoMapper.insert : ==> Parameters: 2(Integer), 578578(String), 587578(String), null, null, null, null, 0(Byte), 0(Byte), 0(Byte)
        2020-05-08 09:50:33.947 DEBUG 12672 --- [ main] edu.fzu.anop.mapper.TodoMapper.insert : <== Updates: 1
        2020-05-08 09:50:34.059 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@76e9eed8 testClass = NotificationServiceTest, testInstance = edu.fzu.anop.NotificationServiceTest@30ef32eb, testMethod = TestAcceptOperation@NotificationServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@474619d9 testClass = NotificationServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 189 ms
      passedTestDenyOperation()
      • 2020-05-08 09:50:34.080 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@76e9eed8 testClass = NotificationServiceTest, testInstance = edu.fzu.anop.NotificationServiceTest@18b3db6e, testMethod = TestDenyOperation@NotificationServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@474619d9 testClass = NotificationServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:34.145 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, title, content, creation_date from notification where id = ?
        2020-05-08 09:50:34.146 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Parameters: 8(Integer)
        2020-05-08 09:50:34.151 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.154 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.155 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 14(Integer), 2(Integer)
        2020-05-08 09:50:34.160 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:50:34.161 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:34.162 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 14(Integer)
        2020-05-08 09:50:34.166 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.169 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.170 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 8(Integer), 2(Integer)
        2020-05-08 09:50:34.174 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:50:34.180 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.181 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 1(Integer), 2(Integer)
        2020-05-08 09:50:34.208 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:34.212 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:34.213 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 9(Integer)
        2020-05-08 09:50:34.216 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.220 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.221 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 9(Integer), 2(Integer)
        2020-05-08 09:50:34.232 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:34.254 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@76e9eed8 testClass = NotificationServiceTest, testInstance = edu.fzu.anop.NotificationServiceTest@18b3db6e, testMethod = TestDenyOperation@NotificationServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@474619d9 testClass = NotificationServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
  • 249 ms
    ReceiverServiceTest
    • 203 ms
      passedTestAcceptOperation()
      • 2020-05-08 09:50:34.412 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@448892f1 testClass = ReceiverServiceTest, testInstance = edu.fzu.anop.ReceiverServiceTest@1626bddf, testMethod = TestAcceptOperation@ReceiverServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@29532e91 testClass = ReceiverServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:34.440 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, title, content, creation_date from notification where id = ?
        2020-05-08 09:50:34.441 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Parameters: 9(Integer)
        2020-05-08 09:50:34.444 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.450 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.451 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 8(Integer), 1(Integer)
        2020-05-08 09:50:34.453 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:34.456 DEBUG 12672 --- [ main] e.f.a.m.ReceiverMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, notification_id, user_id, is_read from noti_receiver WHERE ( notification_id = ? and user_id = ? )
        2020-05-08 09:50:34.457 DEBUG 12672 --- [ main] e.f.a.m.ReceiverMapper.selectByExample : ==> Parameters: 9(Integer), 1(Integer)
        2020-05-08 09:50:34.468 DEBUG 12672 --- [ main] e.f.a.m.ReceiverMapper.selectByExample : <== Total: 0
        2020-05-08 09:50:34.469 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Receiver.setGroupId(java.lang.Integer)
        2020-05-08 09:50:34.473 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Receiver.setClass(java.lang.Class)
        2020-05-08 09:50:34.476 DEBUG 12672 --- [ main] e.fzu.anop.mapper.ReceiverMapper.insert : ==> Preparing: insert into noti_receiver (notification_id, user_id, is_read ) values (?, ?, ? )
        2020-05-08 09:50:34.480 DEBUG 12672 --- [ main] e.fzu.anop.mapper.ReceiverMapper.insert : ==> Parameters: 9(Integer), 1(Integer), 1(Byte)
        2020-05-08 09:50:34.489 DEBUG 12672 --- [ main] e.fzu.anop.mapper.ReceiverMapper.insert : <== Updates: 1
        2020-05-08 09:50:34.490 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, title, content, creation_date from notification where id = ?
        2020-05-08 09:50:34.491 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Parameters: 7(Integer)
        2020-05-08 09:50:34.493 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.496 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.497 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 8(Integer), 1(Integer)
        2020-05-08 09:50:34.500 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:34.502 DEBUG 12672 --- [ main] e.f.a.m.ReceiverMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, notification_id, user_id, is_read from noti_receiver WHERE ( notification_id = ? and user_id = ? )
        2020-05-08 09:50:34.502 DEBUG 12672 --- [ main] e.f.a.m.ReceiverMapper.selectByExample : ==> Parameters: 7(Integer), 1(Integer)
        2020-05-08 09:50:34.505 DEBUG 12672 --- [ main] e.f.a.m.ReceiverMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:34.516 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, title, content, creation_date from notification where id = ?
        2020-05-08 09:50:34.517 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Parameters: 6(Integer)
        2020-05-08 09:50:34.519 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.521 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.522 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 8(Integer), 4(Integer)
        2020-05-08 09:50:34.527 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:34.529 DEBUG 12672 --- [ main] e.f.a.m.ReceiverMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, notification_id, user_id, is_read from noti_receiver WHERE ( notification_id = ? and user_id = ? )
        2020-05-08 09:50:34.530 DEBUG 12672 --- [ main] e.f.a.m.ReceiverMapper.selectByExample : ==> Parameters: 6(Integer), 4(Integer)
        2020-05-08 09:50:34.532 DEBUG 12672 --- [ main] e.f.a.m.ReceiverMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:34.533 DEBUG 12672 --- [ main] e.f.a.m.R.updateByPrimaryKey : ==> Preparing: update noti_receiver set notification_id = ?, user_id = ?, is_read = ? where id = ?
        2020-05-08 09:50:34.533 DEBUG 12672 --- [ main] e.f.a.m.R.updateByPrimaryKey : ==> Parameters: 6(Integer), 4(Integer), 1(Byte), 2(Integer)
        2020-05-08 09:50:34.535 DEBUG 12672 --- [ main] e.f.a.m.R.updateByPrimaryKey : <== Updates: 1
        2020-05-08 09:50:34.545 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, title, content, creation_date from notification where id = ?
        2020-05-08 09:50:34.546 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:34.548 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.550 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:34.551 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:50:34.554 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.556 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.557 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 1(Integer), 2(Integer)
        2020-05-08 09:50:34.561 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:34.563 DEBUG 12672 --- [ main] e.f.a.m.C.listReceiver : ==> Preparing: select gu.user_id, u.nickname, u.avatar_url, r.is_read from noti_group_user as gu join user_info as u on gu.user_id = u.user_id left join noti_receiver as r on r.user_id=gu.user_id and r.notification_id = ? where gu.group_id = ? and gu.is_admin = 0
        2020-05-08 09:50:34.563 DEBUG 12672 --- [ main] e.f.a.m.C.listReceiver : ==> Parameters: 1(Integer), 1(Integer)
        2020-05-08 09:50:34.565 DEBUG 12672 --- [ main] e.f.a.m.C.listReceiver : <== Total: 1
        2020-05-08 09:50:34.607 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@448892f1 testClass = ReceiverServiceTest, testInstance = edu.fzu.anop.ReceiverServiceTest@1626bddf, testMethod = TestAcceptOperation@ReceiverServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@29532e91 testClass = ReceiverServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 46 ms
      passedTestDenyOperation()
      • 2020-05-08 09:50:34.614 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@448892f1 testClass = ReceiverServiceTest, testInstance = edu.fzu.anop.ReceiverServiceTest@5d74507c, testMethod = TestDenyOperation@ReceiverServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@29532e91 testClass = ReceiverServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:34.625 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, title, content, creation_date from notification where id = ?
        2020-05-08 09:50:34.626 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Parameters: 4(Integer)
        2020-05-08 09:50:34.628 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.631 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.631 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 8(Integer), 2(Integer)
        2020-05-08 09:50:34.635 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:50:34.637 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, title, content, creation_date from notification where id = ?
        2020-05-08 09:50:34.637 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : ==> Parameters: 16(Integer)
        2020-05-08 09:50:34.639 DEBUG 12672 --- [ main] e.f.a.m.N.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.641 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:50:34.641 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 9(Integer)
        2020-05-08 09:50:34.643 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:50:34.645 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:50:34.646 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 9(Integer), 2(Integer)
        2020-05-08 09:50:34.649 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:50:34.656 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@448892f1 testClass = ReceiverServiceTest, testInstance = edu.fzu.anop.ReceiverServiceTest@5d74507c, testMethod = TestDenyOperation@ReceiverServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@29532e91 testClass = ReceiverServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
  • 39.23 s
    SignUpServiceTest
    • 427 ms
      passedsignUpTest()
      • 2020-05-08 09:50:34.711 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@2b62475a testClass = SignUpServiceTest, testInstance = edu.fzu.anop.SignUpServiceTest@4990b335, testMethod = signUpTest@SignUpServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@624d778e testClass = SignUpServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:34.753 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Preparing: select 'false' as QUERYID, id, email, code, expire, is_valid from valid_email WHERE ( email = ? )
        2020-05-08 09:50:34.754 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Parameters: test2@qq.com(String)
        2020-05-08 09:50:34.786 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : <== Total: 1
        2020-05-08 09:50:34.791 DEBUG 12672 --- [ main] e.f.a.m.C.selectByUsername : ==> Preparing: select * from user where username = ?;
        2020-05-08 09:50:34.792 DEBUG 12672 --- [ main] e.f.a.m.C.selectByUsername : ==> Parameters: admin(String)
        2020-05-08 09:50:34.797 DEBUG 12672 --- [ main] e.f.a.m.C.selectByUsername : <== Total: 1
        2020-05-08 09:50:34.799 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Preparing: select 'false' as QUERYID, id, email, code, expire, is_valid from valid_email WHERE ( email = ? )
        2020-05-08 09:50:34.801 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Parameters: test1@qq.com(String)
        2020-05-08 09:50:34.803 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : <== Total: 1
        2020-05-08 09:50:34.804 DEBUG 12672 --- [ main] e.f.a.m.C.selectByUsername : ==> Preparing: select * from user where username = ?;
        2020-05-08 09:50:34.813 DEBUG 12672 --- [ main] e.f.a.m.C.selectByUsername : ==> Parameters: newUser(String)
        2020-05-08 09:50:34.855 DEBUG 12672 --- [ main] e.f.a.m.C.selectByUsername : <== Total: 0
        2020-05-08 09:50:34.860 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Preparing: select 'false' as QUERYID, id, email, code, expire, is_valid from valid_email WHERE ( email = ? )
        2020-05-08 09:50:34.861 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Parameters: zhaoweinan@qq.com(String)
        2020-05-08 09:50:34.865 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : <== Total: 1
        2020-05-08 09:50:34.868 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Preparing: select 'false' as QUERYID, id, email, code, expire, is_valid from valid_email WHERE ( email = ? )
        2020-05-08 09:50:34.869 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Parameters: newemail@qq.com(String)
        2020-05-08 09:50:34.871 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : <== Total: 0
        2020-05-08 09:50:34.875 DEBUG 12672 --- [ main] e.f.a.m.V.insertSelective : ==> Preparing: insert into valid_email ( email, code, expire ) values ( ?, ?, ? )
        2020-05-08 09:50:34.876 DEBUG 12672 --- [ main] e.f.a.m.V.insertSelective : ==> Parameters: newemail@qq.com(String), QWERT(String), 2020-05-08 10:00:34.872(Timestamp)
        2020-05-08 09:50:34.886 DEBUG 12672 --- [ main] e.f.a.m.V.insertSelective : <== Updates: 1
        2020-05-08 09:50:34.887 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.security.user.User.setCode(java.lang.String)
        2020-05-08 09:50:34.888 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.security.user.User.setClass(java.lang.Class)
        2020-05-08 09:50:34.892 DEBUG 12672 --- [ main] e.f.a.m.C.insertSelective : ==> Preparing: insert into user ( username, email, password, status ) values ( ?, ?, ?, ? )
        2020-05-08 09:50:34.893 DEBUG 12672 --- [ main] e.f.a.m.C.insertSelective : ==> Parameters: newUser(String), newemail@qq.com(String), 5f4dcc3b5aa765d61d8327deb882cf99(String), 0(Integer)
        2020-05-08 09:50:34.894 DEBUG 12672 --- [ main] e.f.a.m.C.insertSelective : <== Updates: 1
        2020-05-08 09:50:34.897 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.insertSelective : ==> Preparing: insert into user_info ( user_id, nickname, creation_time, avatar_url ) values ( ?, ?, ?, ? )
        2020-05-08 09:50:34.900 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.insertSelective : ==> Parameters: 8(Integer), User8(String), 2020-05-08 09:50:34.895(Timestamp), (String)
        2020-05-08 09:50:34.901 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.insertSelective : <== Updates: 1
        2020-05-08 09:50:34.903 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Preparing: select 'false' as QUERYID, id, email, code, expire, is_valid from valid_email WHERE ( email = ? )
        2020-05-08 09:50:34.904 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Parameters: newemail@qq.com(String)
        2020-05-08 09:50:34.906 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : <== Total: 1
        2020-05-08 09:50:34.907 DEBUG 12672 --- [ main] e.f.a.m.V.updateByPrimaryKey : ==> Preparing: update valid_email set email = ?, code = ?, expire = ?, is_valid = ? where id = ?
        2020-05-08 09:50:34.908 DEBUG 12672 --- [ main] e.f.a.m.V.updateByPrimaryKey : ==> Parameters: newemail@qq.com(String), QWERT(String), 2020-05-08 10:00:34.0(Timestamp), 1(Byte), 10(Integer)
        2020-05-08 09:50:34.909 DEBUG 12672 --- [ main] e.f.a.m.V.updateByPrimaryKey : <== Updates: 1
        2020-05-08 09:50:35.117 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@2b62475a testClass = SignUpServiceTest, testInstance = edu.fzu.anop.SignUpServiceTest@4990b335, testMethod = signUpTest@SignUpServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@624d778e testClass = SignUpServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 38.81 s
      passedvalidEmailTest()
      • 2020-05-08 09:50:35.146 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@2b62475a testClass = SignUpServiceTest, testInstance = edu.fzu.anop.SignUpServiceTest@4746fb8c, testMethod = validEmailTest@SignUpServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@624d778e testClass = SignUpServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:50:35.210 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Preparing: select 'false' as QUERYID, id, email, code, expire, is_valid from valid_email WHERE ( email = ? )
        2020-05-08 09:50:35.211 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Parameters: zhaoweinan@qq.com(String)
        2020-05-08 09:50:35.213 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : <== Total: 1
        2020-05-08 09:50:35.216 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Preparing: select 'false' as QUERYID, id, email, code, expire, is_valid from valid_email WHERE ( email = ? )
        2020-05-08 09:50:35.217 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Parameters: newemail@qq.com(String)
        2020-05-08 09:50:35.227 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : <== Total: 0
        2020-05-08 09:51:13.769 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Preparing: select 'false' as QUERYID, id, email, code, expire, is_valid from valid_email WHERE ( email = ? )
        2020-05-08 09:51:13.771 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Parameters: saveEmail@163.com(String)
        2020-05-08 09:51:13.772 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : <== Total: 0
        2020-05-08 09:51:13.773 DEBUG 12672 --- [ main] e.f.a.m.V.insertSelective : ==> Preparing: insert into valid_email ( email, code, expire ) values ( ?, ?, ? )
        2020-05-08 09:51:13.774 DEBUG 12672 --- [ main] e.f.a.m.V.insertSelective : ==> Parameters: saveEmail@163.com(String), 123AB(String), 2020-05-08 10:01:13.773(Timestamp)
        2020-05-08 09:51:13.869 DEBUG 12672 --- [ main] e.f.a.m.V.insertSelective : <== Updates: 1
        2020-05-08 09:51:13.871 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Preparing: select 'false' as QUERYID, id, email, code, expire, is_valid from valid_email WHERE ( email = ? )
        2020-05-08 09:51:13.871 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : ==> Parameters: saveEmail@163.com(String)
        2020-05-08 09:51:13.873 DEBUG 12672 --- [ main] e.f.a.m.V.selectByExample : <== Total: 1
        2020-05-08 09:51:13.929 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@2b62475a testClass = SignUpServiceTest, testInstance = edu.fzu.anop.SignUpServiceTest@4746fb8c, testMethod = validEmailTest@SignUpServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@624d778e testClass = SignUpServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
  • 717 ms
    TodoServiceTest
    • 84 ms
      passedlistHistoryTodo()
      • 2020-05-08 09:51:13.981 DEBUG 12672 --- [ main] e.f.a.m.T.selectByExample_COUNT : ==> Preparing: SELECT count(0) FROM todo WHERE (user_id = ?)
        2020-05-08 09:51:13.982 DEBUG 12672 --- [ main] e.f.a.m.T.selectByExample_COUNT : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.003 DEBUG 12672 --- [ main] e.f.a.m.T.selectByExample_COUNT : <== Total: 1
        2020-05-08 09:51:14.009 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo WHERE ( user_id = ? ) LIMIT ?
        2020-05-08 09:51:14.010 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.selectByExample : ==> Parameters: 1(Integer), 10(Integer)
        2020-05-08 09:51:14.021 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.selectByExample : <== Total: 6
    • 68 ms
      passedaddTodo()
      • 2020-05-08 09:51:14.045 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@7641ed02 testClass = TodoServiceTest, testInstance = edu.fzu.anop.TodoServiceTest@4ebed2b3, testMethod = addTodo@TodoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@11069eac testClass = TodoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:51:14.056 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Todo.setClass(java.lang.Class)
        2020-05-08 09:51:14.057 DEBUG 12672 --- [ main] edu.fzu.anop.mapper.TodoMapper.insert : ==> Preparing: insert into todo (user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
        2020-05-08 09:51:14.060 DEBUG 12672 --- [ main] edu.fzu.anop.mapper.TodoMapper.insert : ==> Parameters: 1(Integer), 新的待办(String), 内容(String), null, null, null, null, 0(Byte), 0(Byte), 0(Byte)
        2020-05-08 09:51:14.072 DEBUG 12672 --- [ main] edu.fzu.anop.mapper.TodoMapper.insert : <== Updates: 1
        2020-05-08 09:51:14.109 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@7641ed02 testClass = TodoServiceTest, testInstance = edu.fzu.anop.TodoServiceTest@4ebed2b3, testMethod = addTodo@TodoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@11069eac testClass = TodoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 216 ms
      passedupdateTodo()
      • 2020-05-08 09:51:14.116 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@7641ed02 testClass = TodoServiceTest, testInstance = edu.fzu.anop.TodoServiceTest@42cd0fc6, testMethod = updateTodo@TodoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@11069eac testClass = TodoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:51:14.127 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.128 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.130 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.132 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.Todo.setClass(java.lang.Class)
        2020-05-08 09:51:14.134 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.updateByExample : ==> Preparing: update todo set id = ?, user_id = ?, title = ?, content = ?, begin_date = ?, end_date = ?, remind_date = ?, category_id = ?, is_completed = ?, is_important = ?, is_favorite = ? WHERE ( id = ? )
        2020-05-08 09:51:14.135 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.updateByExample : ==> Parameters: 1(Integer), 1(Integer), newTitle(String), newContent(String), null, null, null, null, 0(Byte), 1(Byte), 0(Byte), 1(Integer)
        2020-05-08 09:51:14.138 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.updateByExample : <== Updates: 1
        2020-05-08 09:51:14.140 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.140 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.143 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.150 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.151 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 2(Integer)
        2020-05-08 09:51:14.153 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.328 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@7641ed02 testClass = TodoServiceTest, testInstance = edu.fzu.anop.TodoServiceTest@42cd0fc6, testMethod = updateTodo@TodoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@11069eac testClass = TodoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 22 ms
      passedgetTodo()
      • 2020-05-08 09:51:14.344 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.344 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.346 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.348 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.349 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 100(Integer)
        2020-05-08 09:51:14.350 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 0
    • 154 ms
      passedcheckTodo()
      • 2020-05-08 09:51:14.360 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@7641ed02 testClass = TodoServiceTest, testInstance = edu.fzu.anop.TodoServiceTest@1397b141, testMethod = checkTodo@TodoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@11069eac testClass = TodoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:51:14.370 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.371 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.377 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.402 DEBUG 12672 --- [ main] e.f.a.m.T.updateByExampleSelective : ==> Preparing: update todo SET id = ?, user_id = ?, title = ?, content = ?, begin_date = ?, remind_date = ?, category_id = ?, is_completed = ?, is_important = ?, is_favorite = ? WHERE ( id = ? )
        2020-05-08 09:51:14.406 DEBUG 12672 --- [ main] e.f.a.m.T.updateByExampleSelective : ==> Parameters: 1(Integer), 1(Integer), 我的待办(String), 阿道夫就安分的链接克隆。。。。(String), 2020-04-01 19:00:00.0(Timestamp), 2020-04-30 19:00:00.0(Timestamp), 1(Integer), 1(Byte), 1(Byte), 1(Byte), 1(Integer)
        2020-05-08 09:51:14.426 DEBUG 12672 --- [ main] e.f.a.m.T.updateByExampleSelective : <== Updates: 1
        2020-05-08 09:51:14.428 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.428 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.432 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.437 DEBUG 12672 --- [ main] e.f.a.m.T.updateByExampleSelective : ==> Preparing: update todo SET id = ?, user_id = ?, title = ?, content = ?, begin_date = ?, remind_date = ?, category_id = ?, is_completed = ?, is_important = ?, is_favorite = ? WHERE ( id = ? )
        2020-05-08 09:51:14.439 DEBUG 12672 --- [ main] e.f.a.m.T.updateByExampleSelective : ==> Parameters: 1(Integer), 1(Integer), 我的待办(String), 阿道夫就安分的链接克隆。。。。(String), 2020-04-01 19:00:00.0(Timestamp), 2020-04-30 19:00:00.0(Timestamp), 1(Integer), 1(Byte), 0(Byte), 1(Byte), 1(Integer)
        2020-05-08 09:51:14.442 DEBUG 12672 --- [ main] e.f.a.m.T.updateByExampleSelective : <== Updates: 1
        2020-05-08 09:51:14.443 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.444 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.447 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.450 DEBUG 12672 --- [ main] e.f.a.m.T.updateByExampleSelective : ==> Preparing: update todo SET id = ?, user_id = ?, title = ?, content = ?, begin_date = ?, remind_date = ?, category_id = ?, is_completed = ?, is_important = ?, is_favorite = ? WHERE ( id = ? )
        2020-05-08 09:51:14.452 DEBUG 12672 --- [ main] e.f.a.m.T.updateByExampleSelective : ==> Parameters: 1(Integer), 1(Integer), 我的待办(String), 阿道夫就安分的链接克隆。。。。(String), 2020-04-01 19:00:00.0(Timestamp), 2020-04-30 19:00:00.0(Timestamp), 1(Integer), 1(Byte), 0(Byte), 0(Byte), 1(Integer)
        2020-05-08 09:51:14.453 DEBUG 12672 --- [ main] e.f.a.m.T.updateByExampleSelective : <== Updates: 1
        2020-05-08 09:51:14.454 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.455 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.459 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.460 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.462 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 2(Integer)
        2020-05-08 09:51:14.463 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.511 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@7641ed02 testClass = TodoServiceTest, testInstance = edu.fzu.anop.TodoServiceTest@1397b141, testMethod = checkTodo@TodoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@11069eac testClass = TodoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 48 ms
      passedlistUserTodo()
      • 2020-05-08 09:51:14.540 DEBUG 12672 --- [ main] e.f.a.m.T.selectByExample_COUNT : ==> Preparing: SELECT count(0) FROM todo WHERE (user_id = ? AND is_completed = ? AND end_date > ?) OR (user_id = ? AND is_completed = ? AND end_date IS NULL)
        2020-05-08 09:51:14.541 DEBUG 12672 --- [ main] e.f.a.m.T.selectByExample_COUNT : ==> Parameters: 1(Integer), 0(Byte), 2020-05-08 09:51:14.525(Timestamp), 1(Integer), 0(Byte)
        2020-05-08 09:51:14.543 DEBUG 12672 --- [ main] e.f.a.m.T.selectByExample_COUNT : <== Total: 1
        2020-05-08 09:51:14.553 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.selectByExample : ==> Preparing: SELECT 'false' AS QUERYID, id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite FROM todo WHERE (user_id = ? AND is_completed = ? AND end_date > ?) OR (user_id = ? AND is_completed = ? AND end_date IS NULL) order by id desc LIMIT ?
        2020-05-08 09:51:14.554 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.selectByExample : ==> Parameters: 1(Integer), 0(Byte), 2020-05-08 09:51:14.525(Timestamp), 1(Integer), 0(Byte), 5(Integer)
        2020-05-08 09:51:14.557 DEBUG 12672 --- [ main] e.f.a.mapper.TodoMapper.selectByExample : <== Total: 3
    • 125 ms
      passeddeleteTodo()
      • 2020-05-08 09:51:14.573 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@7641ed02 testClass = TodoServiceTest, testInstance = edu.fzu.anop.TodoServiceTest@37c74e4e, testMethod = deleteTodo@TodoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@11069eac testClass = TodoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:51:14.587 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.587 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.590 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.592 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.deleteByPrimaryKey : ==> Preparing: delete from todo where id = ?
        2020-05-08 09:51:14.593 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.deleteByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.597 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.deleteByPrimaryKey : <== Updates: 1
        2020-05-08 09:51:14.598 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.599 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:14.600 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 0
        2020-05-08 09:51:14.602 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, content, begin_date, end_date, remind_date, category_id, is_completed, is_important, is_favorite from todo where id = ?
        2020-05-08 09:51:14.603 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : ==> Parameters: 2(Integer)
        2020-05-08 09:51:14.605 DEBUG 12672 --- [ main] e.f.a.m.TodoMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.691 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@7641ed02 testClass = TodoServiceTest, testInstance = edu.fzu.anop.TodoServiceTest@37c74e4e, testMethod = deleteTodo@TodoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@11069eac testClass = TodoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
  • 165 ms
    UserInfoServiceTest
    • 39 ms
      passedgetInfoTest()
      • 2020-05-08 09:51:14.720 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@696298ea testClass = UserInfoServiceTest, testInstance = edu.fzu.anop.UserInfoServiceTest@de0c402, testMethod = getInfoTest@UserInfoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@24955144 testClass = UserInfoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:51:14.739 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, user_id, nickname, creation_time, avatar_url from user_info WHERE ( user_id = ? )
        2020-05-08 09:51:14.740 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : ==> Parameters: 7(Integer)
        2020-05-08 09:51:14.743 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : <== Total: 1
        2020-05-08 09:51:14.746 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, user_id, nickname, creation_time, avatar_url from user_info WHERE ( user_id = ? )
        2020-05-08 09:51:14.746 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : ==> Parameters: 8(Integer)
        2020-05-08 09:51:14.748 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : <== Total: 0
        2020-05-08 09:51:14.755 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@696298ea testClass = UserInfoServiceTest, testInstance = edu.fzu.anop.UserInfoServiceTest@de0c402, testMethod = getInfoTest@UserInfoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@24955144 testClass = UserInfoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 126 ms
      passedupdateInfoTest()
      • 2020-05-08 09:51:14.765 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@696298ea testClass = UserInfoServiceTest, testInstance = edu.fzu.anop.UserInfoServiceTest@61bf405d, testMethod = updateInfoTest@UserInfoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@24955144 testClass = UserInfoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:51:14.777 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, user_id, nickname, creation_time, avatar_url from user_info WHERE ( user_id = ? )
        2020-05-08 09:51:14.778 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : ==> Parameters: 7(Integer)
        2020-05-08 09:51:14.780 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : <== Total: 1
        2020-05-08 09:51:14.781 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.UserInfo.setClass(java.lang.Class)
        2020-05-08 09:51:14.782 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKeySelective : ==> Preparing: update user_info SET nickname = ?, avatar_url = ? where id = ?
        2020-05-08 09:51:14.783 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKeySelective : ==> Parameters: Honey(String), url(String), 7(Integer)
        2020-05-08 09:51:14.790 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKeySelective : <== Updates: 1
        2020-05-08 09:51:14.792 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, user_id, nickname, creation_time, avatar_url from user_info WHERE ( user_id = ? )
        2020-05-08 09:51:14.793 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : ==> Parameters: 7(Integer)
        2020-05-08 09:51:14.795 DEBUG 12672 --- [ main] e.f.a.m.UserInfoMapper.selectByExample : <== Total: 1
        2020-05-08 09:51:14.886 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@696298ea testClass = UserInfoServiceTest, testInstance = edu.fzu.anop.UserInfoServiceTest@61bf405d, testMethod = updateInfoTest@UserInfoServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@24955144 testClass = UserInfoServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
  • 625 ms
    UserRequestServiceTest
    • 511 ms
      passedTestAcceptOperation()
      • 2020-05-08 09:51:14.904 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@b90c5a5 testClass = UserRequestServiceTest, testInstance = edu.fzu.anop.UserRequestServiceTest@1786150f, testMethod = TestAcceptOperation@UserRequestServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@bd28c86 testClass = UserRequestServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:51:14.915 DEBUG 12672 --- [ main] e.f.a.m.U.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, is_accepted, request_time from noti_user_request where id = ?
        2020-05-08 09:51:14.916 DEBUG 12672 --- [ main] e.f.a.m.U.selectByPrimaryKey : ==> Parameters: 2(Integer)
        2020-05-08 09:51:14.937 DEBUG 12672 --- [ main] e.f.a.m.U.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.949 DEBUG 12672 --- [ main] e.f.a.m.C.listUserRequest_COUNT : ==> Preparing: SELECT count(0) FROM noti_user_request AS req JOIN noti_group AS g ON req.group_id = g.id JOIN user_info AS u ON u.user_id = req.user_id WHERE g.user_id = ? AND req.is_accepted = 0
        2020-05-08 09:51:14.949 DEBUG 12672 --- [ main] e.f.a.m.C.listUserRequest_COUNT : ==> Parameters: 2(Integer)
        2020-05-08 09:51:14.952 DEBUG 12672 --- [ main] e.f.a.m.C.listUserRequest_COUNT : <== Total: 1
        2020-05-08 09:51:14.953 DEBUG 12672 --- [ main] e.f.a.m.C.listUserRequest : ==> Preparing: select req.id, req.group_id, g.title, req.user_id, u.nickname, u.avatar_url, req.is_accepted, req.request_time from noti_user_request as req join noti_group as g on req.group_id = g.id join user_info as u on u.user_id = req.user_id where g.user_id = ? and req.is_accepted = 0 LIMIT ?
        2020-05-08 09:51:14.954 DEBUG 12672 --- [ main] e.f.a.m.C.listUserRequest : ==> Parameters: 2(Integer), 5(Integer)
        2020-05-08 09:51:14.958 DEBUG 12672 --- [ main] e.f.a.m.C.listUserRequest : <== Total: 2
        2020-05-08 09:51:14.971 DEBUG 12672 --- [ main] e.f.a.m.C.listManageUserRequest_COUNT : ==> Preparing: SELECT count(0) FROM noti_user_request AS req JOIN noti_group_user AS gu ON req.group_id = gu.group_id AND gu.user_id = ? AND gu.is_admin = 1 JOIN noti_group AS g ON req.group_id = g.id JOIN user_info AS u ON u.user_id = req.user_id WHERE req.is_accepted = 0
        2020-05-08 09:51:14.971 DEBUG 12672 --- [ main] e.f.a.m.C.listManageUserRequest_COUNT : ==> Parameters: 2(Integer)
        2020-05-08 09:51:14.978 DEBUG 12672 --- [ main] e.f.a.m.C.listManageUserRequest_COUNT : <== Total: 1
        2020-05-08 09:51:14.978 DEBUG 12672 --- [ main] e.f.a.m.C.listManageUserRequest : ==> Preparing: select req.id, req.group_id, g.title, req.user_id, u.nickname, u.avatar_url, req.is_accepted, req.request_time from noti_user_request as req join noti_group_user as gu on req.group_id = gu.group_id and gu.user_id = ? and gu.is_admin = 1 join noti_group as g on req.group_id = g.id join user_info as u on u.user_id = req.user_id where req.is_accepted = 0 LIMIT ?
        2020-05-08 09:51:14.979 DEBUG 12672 --- [ main] e.f.a.m.C.listManageUserRequest : ==> Parameters: 2(Integer), 5(Integer)
        2020-05-08 09:51:14.982 DEBUG 12672 --- [ main] e.f.a.m.C.listManageUserRequest : <== Total: 2
        2020-05-08 09:51:14.984 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:14.984 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 6(Integer)
        2020-05-08 09:51:14.986 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:14.989 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:14.990 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 6(Integer), 2(Integer)
        2020-05-08 09:51:14.992 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:51:14.995 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.GroupUser.setClass(java.lang.Class)
        2020-05-08 09:51:14.996 DEBUG 12672 --- [ main] e.f.anop.mapper.GroupUserMapper.insert : ==> Preparing: insert into noti_group_user (group_id, user_id, is_admin ) values (?, ?, ? )
        2020-05-08 09:51:14.997 DEBUG 12672 --- [ main] e.f.anop.mapper.GroupUserMapper.insert : ==> Parameters: 6(Integer), 2(Integer), 0(Byte)
        2020-05-08 09:51:15.032 DEBUG 12672 --- [ main] e.f.anop.mapper.GroupUserMapper.insert : <== Updates: 1
        2020-05-08 09:51:15.034 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:15.034 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 14(Integer)
        2020-05-08 09:51:15.036 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.039 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:15.040 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 14(Integer), 2(Integer)
        2020-05-08 09:51:15.044 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:51:15.047 DEBUG 12672 --- [ main] e.f.a.m.U.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_accepted, request_time from noti_user_request WHERE ( user_id = ? and group_id = ? )
        2020-05-08 09:51:15.048 DEBUG 12672 --- [ main] e.f.a.m.U.selectByExample : ==> Parameters: 2(Integer), 14(Integer)
        2020-05-08 09:51:15.050 DEBUG 12672 --- [ main] e.f.a.m.U.selectByExample : <== Total: 1
        2020-05-08 09:51:15.051 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:15.052 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 10(Integer)
        2020-05-08 09:51:15.054 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.056 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:15.056 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 10(Integer), 2(Integer)
        2020-05-08 09:51:15.058 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:51:15.061 DEBUG 12672 --- [ main] e.f.a.m.U.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_accepted, request_time from noti_user_request WHERE ( user_id = ? and group_id = ? )
        2020-05-08 09:51:15.062 DEBUG 12672 --- [ main] e.f.a.m.U.selectByExample : ==> Parameters: 2(Integer), 10(Integer)
        2020-05-08 09:51:15.064 DEBUG 12672 --- [ main] e.f.a.m.U.selectByExample : <== Total: 1
        2020-05-08 09:51:15.065 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : ==> Preparing: update noti_user_request set group_id = ?, user_id = ?, is_accepted = ?, request_time = ? where id = ?
        2020-05-08 09:51:15.066 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : ==> Parameters: 10(Integer), 2(Integer), 0(Byte), 2020-05-08 09:51:15.064(Timestamp), 11(Integer)
        2020-05-08 09:51:15.068 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : <== Updates: 1
        2020-05-08 09:51:15.068 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:15.069 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 4(Integer)
        2020-05-08 09:51:15.072 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.074 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:15.075 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 4(Integer), 2(Integer)
        2020-05-08 09:51:15.076 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:51:15.078 DEBUG 12672 --- [ main] e.f.a.m.U.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_accepted, request_time from noti_user_request WHERE ( user_id = ? and group_id = ? )
        2020-05-08 09:51:15.079 DEBUG 12672 --- [ main] e.f.a.m.U.selectByExample : ==> Parameters: 2(Integer), 4(Integer)
        2020-05-08 09:51:15.080 DEBUG 12672 --- [ main] e.f.a.m.U.selectByExample : <== Total: 0
        2020-05-08 09:51:15.081 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.UserRequest.setClass(java.lang.Class)
        2020-05-08 09:51:15.082 DEBUG 12672 --- [ main] e.f.a.mapper.UserRequestMapper.insert : ==> Preparing: insert into noti_user_request (group_id, user_id, is_accepted, request_time) values (?, ?, ?, ?)
        2020-05-08 09:51:15.083 DEBUG 12672 --- [ main] e.f.a.mapper.UserRequestMapper.insert : ==> Parameters: 4(Integer), 2(Integer), 0(Byte), 2020-05-08 09:51:15.081(Timestamp)
        2020-05-08 09:51:15.084 DEBUG 12672 --- [ main] e.f.a.mapper.UserRequestMapper.insert : <== Updates: 1
        2020-05-08 09:51:15.086 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:15.087 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:15.089 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.091 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:15.091 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 1(Integer), 2(Integer)
        2020-05-08 09:51:15.207 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:51:15.210 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:15.212 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 1(Integer), 4(Integer)
        2020-05-08 09:51:15.217 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:51:15.219 INFO 12672 --- [ main] edu.fzu.anop.util.PropertyMapperUtil : mapping failed:edu.fzu.anop.pojo.GroupUser.setClass(java.lang.Class)
        2020-05-08 09:51:15.220 DEBUG 12672 --- [ main] e.f.anop.mapper.GroupUserMapper.insert : ==> Preparing: insert into noti_group_user (group_id, user_id, is_admin ) values (?, ?, ? )
        2020-05-08 09:51:15.222 DEBUG 12672 --- [ main] e.f.anop.mapper.GroupUserMapper.insert : ==> Parameters: 1(Integer), 4(Integer), 0(Byte)
        2020-05-08 09:51:15.224 DEBUG 12672 --- [ main] e.f.anop.mapper.GroupUserMapper.insert : <== Updates: 1
        2020-05-08 09:51:15.226 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : ==> Preparing: update noti_user_request set group_id = ?, user_id = ?, is_accepted = ?, request_time = ? where id = ?
        2020-05-08 09:51:15.227 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : ==> Parameters: 1(Integer), 4(Integer), 1(Byte), 2020-04-08 16:41:59.0(Timestamp), 2(Integer)
        2020-05-08 09:51:15.230 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : <== Updates: 1
        2020-05-08 09:51:15.231 DEBUG 12672 --- [ main] e.f.a.m.U.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, is_accepted, request_time from noti_user_request where id = ?
        2020-05-08 09:51:15.232 DEBUG 12672 --- [ main] e.f.a.m.U.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:15.243 DEBUG 12672 --- [ main] e.f.a.m.U.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.247 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : ==> Preparing: update noti_user_request set group_id = ?, user_id = ?, is_accepted = ?, request_time = ? where id = ?
        2020-05-08 09:51:15.252 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : ==> Parameters: 1(Integer), 3(Integer), 2(Byte), 2020-04-08 16:26:58.0(Timestamp), 1(Integer)
        2020-05-08 09:51:15.271 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : <== Updates: 1
        2020-05-08 09:51:15.272 DEBUG 12672 --- [ main] e.f.a.m.U.selectByPrimaryKey : ==> Preparing: select id, group_id, user_id, is_accepted, request_time from noti_user_request where id = ?
        2020-05-08 09:51:15.275 DEBUG 12672 --- [ main] e.f.a.m.U.selectByPrimaryKey : ==> Parameters: 6(Integer)
        2020-05-08 09:51:15.278 DEBUG 12672 --- [ main] e.f.a.m.U.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.280 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:15.283 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 8(Integer)
        2020-05-08 09:51:15.293 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.296 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:15.297 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 8(Integer), 3(Integer)
        2020-05-08 09:51:15.302 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:51:15.302 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : ==> Preparing: update noti_user_request set group_id = ?, user_id = ?, is_accepted = ?, request_time = ? where id = ?
        2020-05-08 09:51:15.303 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : ==> Parameters: 8(Integer), 3(Integer), 1(Byte), 2020-04-17 23:17:49.0(Timestamp), 6(Integer)
        2020-05-08 09:51:15.305 DEBUG 12672 --- [ main] e.f.a.m.U.updateByPrimaryKey : <== Updates: 1
        2020-05-08 09:51:15.410 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@b90c5a5 testClass = UserRequestServiceTest, testInstance = edu.fzu.anop.UserRequestServiceTest@1786150f, testMethod = TestAcceptOperation@UserRequestServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@bd28c86 testClass = UserRequestServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
    • 114 ms
      passedTestDenyOperation()
      • 2020-05-08 09:51:15.424 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@b90c5a5 testClass = UserRequestServiceTest, testInstance = edu.fzu.anop.UserRequestServiceTest@84a9f65, testMethod = TestDenyOperation@UserRequestServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@bd28c86 testClass = UserRequestServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:51:15.450 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:15.451 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 99(Integer)
        2020-05-08 09:51:15.452 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 0
        2020-05-08 09:51:15.461 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:15.462 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 1(Integer)
        2020-05-08 09:51:15.464 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.467 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:15.473 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 1(Integer), 2(Integer)
        2020-05-08 09:51:15.500 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:51:15.501 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:15.503 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 5(Integer)
        2020-05-08 09:51:15.506 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.511 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:15.512 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 5(Integer), 2(Integer)
        2020-05-08 09:51:15.514 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 0
        2020-05-08 09:51:15.517 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Preparing: select id, user_id, title, remark, creation_date, permission from noti_group where id = ?
        2020-05-08 09:51:15.517 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : ==> Parameters: 9(Integer)
        2020-05-08 09:51:15.519 DEBUG 12672 --- [ main] e.f.a.m.GroupMapper.selectByPrimaryKey : <== Total: 1
        2020-05-08 09:51:15.521 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Preparing: select 'false' as QUERYID, id, group_id, user_id, is_admin from noti_group_user WHERE ( group_id = ? and user_id = ? )
        2020-05-08 09:51:15.522 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : ==> Parameters: 9(Integer), 2(Integer)
        2020-05-08 09:51:15.525 DEBUG 12672 --- [ main] e.f.a.m.GroupUserMapper.selectByExample : <== Total: 1
        2020-05-08 09:51:15.531 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@b90c5a5 testClass = UserRequestServiceTest, testInstance = edu.fzu.anop.UserRequestServiceTest@84a9f65, testMethod = TestDenyOperation@UserRequestServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@bd28c86 testClass = UserRequestServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]
  • 91 ms
    UserServiceTest
    • 91 ms
      passedresetPasswordTest()
      • 2020-05-08 09:51:15.552 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@49153009 testClass = UserServiceTest, testInstance = edu.fzu.anop.UserServiceTest@a1b7549, testMethod = resetPasswordTest@UserServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@7aa63f50 testClass = UserServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]; transaction manager [org.springframework.jdbc.datasource.DataSourceTransactionManager@1b409a79]; rollback [true]
        2020-05-08 09:51:15.564 DEBUG 12672 --- [ main] e.f.a.m.C.updateByPrimaryKeySelective : ==> Preparing: update user SET password = ?, status = ? where id = ?
        2020-05-08 09:51:15.564 DEBUG 12672 --- [ main] e.f.a.m.C.updateByPrimaryKeySelective : ==> Parameters: c33367701511b4f6020ec61ded352059(String), 0(Integer), 7(Integer)
        2020-05-08 09:51:15.567 DEBUG 12672 --- [ main] e.f.a.m.C.updateByPrimaryKeySelective : <== Updates: 1
        2020-05-08 09:51:15.568 DEBUG 12672 --- [ main] e.f.a.m.C.selectByUsername : ==> Preparing: select * from user where username = ?;
        2020-05-08 09:51:15.569 DEBUG 12672 --- [ main] e.f.a.m.C.selectByUsername : ==> Parameters: zwn(String)
        2020-05-08 09:51:15.570 DEBUG 12672 --- [ main] e.f.a.m.C.selectByUsername : <== Total: 1
        2020-05-08 09:51:15.639 INFO 12672 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@49153009 testClass = UserServiceTest, testInstance = edu.fzu.anop.UserServiceTest@a1b7549, testMethod = resetPasswordTest@UserServiceTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@7aa63f50 testClass = UserServiceTest, locations = '{}', classes = '{class edu.fzu.anop.AnopApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5fdcaa40, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@32eff876, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@4a94ee4, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@35cabb2a], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true]]

Generated by IntelliJ IDEA on 2020/5/8 上午9:52