Advertisement
aironman

twin project

Jul 10th, 2019
100
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ~/j/twin> git status
  2. En la rama master
  3. Tu rama está actualizada con 'origin/master'.
  4.  
  5. nada para hacer commit, el árbol de trabajo está limpio
  6. aironman@MacBook-Pro-Retina-de-Alonso ~/j/twin>
  7. ~/j/twin> echo $JAVA_HOME
  8. /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home
  9. aironman@MacBook-Pro-Retina-de-Alonso ~/j/twin> mvn package
  10. [INFO] Scanning for projects...
  11. [INFO]
  12. [INFO] -------------------------< com.iluwatar:twin >--------------------------
  13. [INFO] Building twin 1.21.0-SNAPSHOT
  14. [INFO] --------------------------------[ jar ]---------------------------------
  15. [INFO]
  16. [INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ twin ---
  17. [INFO] Starting audit...
  18. Audit done.
  19. [INFO]
  20. [INFO] --- jacoco-maven-plugin:0.7.2.201409121644:prepare-agent (prepare-agent) @ twin ---
  21. [INFO] argLine set to -javaagent:/Users/aironman/.m2/repository/org/jacoco/org.jacoco.agent/0.7.2.201409121644/org.jacoco.agent-0.7.2.201409121644-runtime.jar=destfile=/Users/aironman/java-design-patterns/twin/target/jacoco.exec
  22. [INFO]
  23. [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ twin ---
  24. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  25. [INFO] skip non existing resourceDirectory /Users/aironman/java-design-patterns/twin/src/main/resources
  26. [INFO]
  27. [INFO] --- maven-compiler-plugin:3.0:compile (default-compile) @ twin ---
  28. [INFO] Changes detected - recompiling the module!
  29. [INFO] Compiling 4 source files to /Users/aironman/java-design-patterns/twin/target/classes
  30. [INFO]
  31. [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ twin ---
  32. [INFO] Using 'UTF-8' encoding to copy filtered resources.
  33. [INFO] skip non existing resourceDirectory /Users/aironman/java-design-patterns/twin/src/test/resources
  34. [INFO]
  35. [INFO] --- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ twin ---
  36. [INFO] Changes detected - recompiling the module!
  37. [INFO] Compiling 3 source files to /Users/aironman/java-design-patterns/twin/target/test-classes
  38. [INFO]
  39. [INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ twin ---
  40.  
  41. -------------------------------------------------------
  42. T E S T S
  43. -------------------------------------------------------
  44. Running com.iluwatar.twin.AppTest
  45. 13:09:19.663 [Thread-2] INFO com.iluwatar.twin.GameItem - draw
  46. 13:09:19.666 [Thread-2] INFO com.iluwatar.twin.BallItem - doDraw
  47. 13:09:19.667 [Thread-2] INFO com.iluwatar.twin.BallItem - move
  48. 13:09:19.922 [Thread-2] INFO com.iluwatar.twin.GameItem - draw
  49. 13:09:19.922 [Thread-2] INFO com.iluwatar.twin.BallItem - doDraw
  50. 13:09:19.922 [Thread-2] INFO com.iluwatar.twin.BallItem - move
  51. 13:09:20.175 [Thread-2] INFO com.iluwatar.twin.GameItem - draw
  52. 13:09:20.175 [Thread-2] INFO com.iluwatar.twin.BallItem - doDraw
  53. 13:09:20.175 [Thread-2] INFO com.iluwatar.twin.BallItem - move
  54. 13:09:20.412 [main] INFO com.iluwatar.twin.BallThread - Begin to suspend BallThread
  55. 13:09:21.167 [main] INFO com.iluwatar.twin.BallThread - Begin to resume BallThread
  56. 13:09:21.184 [Thread-2] INFO com.iluwatar.twin.GameItem - draw
  57. 13:09:21.185 [Thread-2] INFO com.iluwatar.twin.BallItem - doDraw
  58. 13:09:21.185 [Thread-2] INFO com.iluwatar.twin.BallItem - move
  59. 13:09:21.439 [Thread-2] INFO com.iluwatar.twin.GameItem - draw
  60. 13:09:21.439 [Thread-2] INFO com.iluwatar.twin.BallItem - doDraw
  61. 13:09:21.439 [Thread-2] INFO com.iluwatar.twin.BallItem - move
  62. 13:09:21.694 [Thread-2] INFO com.iluwatar.twin.GameItem - draw
  63. 13:09:21.694 [Thread-2] INFO com.iluwatar.twin.BallItem - doDraw
  64. 13:09:21.694 [Thread-2] INFO com.iluwatar.twin.BallItem - move
  65. Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.443 sec - in com.iluwatar.twin.AppTest
  66. Running com.iluwatar.twin.BallItemTest
  67. 13:09:22.157 [main] INFO com.iluwatar.twin.BallItem - move
  68. LOGBACK: No context given for com.iluwatar.twin.BallItemTest$InMemoryAppender[null]
  69. 13:09:22.166 [main] INFO com.iluwatar.twin.GameItem - draw
  70. LOGBACK: No context given for com.iluwatar.twin.BallItemTest$InMemoryAppender[null]
  71. 13:09:22.166 [main] INFO com.iluwatar.twin.BallItem - doDraw
  72. Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.224 sec - in com.iluwatar.twin.BallItemTest
  73. Running com.iluwatar.twin.BallThreadTest
  74. 13:09:22.194 [main] INFO com.iluwatar.twin.BallThread - Begin to suspend BallThread
  75. LOGBACK: No context given for com.iluwatar.twin.BallItemTest$InMemoryAppender[null]
  76. 13:09:23.196 [main] INFO com.iluwatar.twin.BallThread - Begin to resume BallThread
  77. Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 1.05 sec <<< FAILURE! - in com.iluwatar.twin.BallThreadTest
  78. testResume() Time elapsed: 1.023 sec <<< ERROR!
  79. java.lang.VerifyError: (class: org/mockito/internal/verification/VerificationOverTimeImpl, method: verify signature: (Lorg/mockito/internal/verification/api/VerificationData;)V) Incompatible argument to function
  80. at com.iluwatar.twin.BallThreadTest.lambda$testResume$1(BallThreadTest.java:91)
  81. at com.iluwatar.twin.BallThreadTest.testResume(BallThreadTest.java:77)
  82.  
  83. testSuspend() Time elapsed: 0.001 sec <<< ERROR!
  84. java.lang.VerifyError: (class: org/mockito/internal/verification/VerificationOverTimeImpl, method: verify signature: (Lorg/mockito/internal/verification/api/VerificationData;)V) Incompatible argument to function
  85. at com.iluwatar.twin.BallThreadTest.lambda$testSuspend$0(BallThreadTest.java:59)
  86. at com.iluwatar.twin.BallThreadTest.testSuspend(BallThreadTest.java:51)
  87.  
  88.  
  89. Results :
  90.  
  91. Tests in error:
  92. BallThreadTest.testResume:77->lambda$testResume$1:91 » Verify (class: org/mock...
  93. BallThreadTest.testSuspend:51->lambda$testSuspend$0:59 » Verify (class: org/mo...
  94.  
  95. Tests run: 7, Failures: 0, Errors: 2, Skipped: 0
  96.  
  97. [INFO] ------------------------------------------------------------------------
  98. [INFO] BUILD FAILURE
  99. [INFO] ------------------------------------------------------------------------
  100. [INFO] Total time: 9.552 s
  101. [INFO] Finished at: 2019-07-10T13:09:23+02:00
  102. [INFO] ------------------------------------------------------------------------
  103. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19.1:test (default-test) on project twin: There are test failures.
  104. [ERROR]
  105. [ERROR] Please refer to /Users/aironman/java-design-patterns/twin/target/surefire-reports for the individual test results.
  106. [ERROR] -> [Help 1]
  107. [ERROR]
  108. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  109. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  110. [ERROR]
  111. [ERROR] For more information about the errors and possible solutions, please read the following articles:
  112. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
  113. aironman@MacBook-Pro-Retina-de-Alonso ~/j/twin>
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement