Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JUnit bump 4 -> 5 #616

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bvfalcon
Copy link

@bvfalcon bvfalcon commented Aug 8, 2022

Unit-tests use JUnit 5 instead of JUnit 4

Copy link
Contributor

@lukasj lukasj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not compile:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[19,24] package org.junit does not exist
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[19,1] static import only from classes and interfaces
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[20,24] package org.junit does not exist
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[20,1] static import only from classes and interfaces
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[24,17] package org.junit does not exist
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[28,6] cannot find symbol
  symbol:   class Test
  location: class jakarta.mail.HeaderTest
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[34,9] cannot find symbol
  symbol:   method assertEquals(jakarta.mail.Header,jakarta.mail.Header)
  location: class jakarta.mail.HeaderTest
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[35,9] cannot find symbol
  symbol:   method assertEquals(jakarta.mail.Header,jakarta.mail.Header)
  location: class jakarta.mail.HeaderTest
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[36,9] cannot find symbol
  symbol:   method assertNotEquals(jakarta.mail.Header,jakarta.mail.Header)
  location: class jakarta.mail.HeaderTest
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[37,9] cannot find symbol
  symbol:   method assertNotEquals(jakarta.mail.Header,<nulltype>)
  location: class jakarta.mail.HeaderTest
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[38,9] cannot find symbol
  symbol:   method assertNotEquals(jakarta.mail.Header,jakarta.mail.Header)
  location: class jakarta.mail.HeaderTest
[ERROR] /home/jenkins/agent/workspace/mail_PR-616/api/src/test/java/jakarta/mail/HeaderTest.java:[39,9] cannot find symbol
  symbol:   method assertNotEquals(jakarta.mail.Header,java.util.Date)
  location: class jakarta.mail.HeaderTest
[INFO] 12 errors 
[INFO] -------------------------------------------------------------

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants