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

Add IMAPReply tests and documentation fixes #165

Merged

Conversation

jkbkupczyk
Copy link
Contributor

  • Updates ImapReply::isContinuation documentation to reflect method contract
  • Fixes some Javadoc typos in AuthenticatingIMAPClient::AUTH_METHOD
  • Migrates IMAPTest to JUnit5
  • Adds IMAPReply tests (all data for tests comes from RFC-3501))

I also wonder, can we maybe add junit-jupiter-params artifact to the project, so we can write parameterized tests?

FYI: @kinow @garydgregory

Copy link
Member

@kinow kinow left a comment

Choose a reason for hiding this comment

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

Changes look good to me. The GH Actions failure has a test failure but that's already happening on master. Thanks @jkbkupczyk

Copy link
Contributor Author

@jkbkupczyk jkbkupczyk left a comment

Choose a reason for hiding this comment

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

question here, are those comments (kate: ident...) necessary?

@garydgregory
Copy link
Member

Let's fix master before we do anything else. I'll look today.

It is ok to add the Junit test dependency for parameterized testing.

@garydgregory
Copy link
Member

@jkbkupczyk

OK, I finally nailed the bulletproofing on the failing test.

Would you please rebase this PR on master? Then we should see a green build...

TY!

Copy link
Member

@garydgregory garydgregory left a comment

Choose a reason for hiding this comment

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

@jkbkupczyk Please rebase on master.

@garydgregory
Copy link
Member

garydgregory commented Jul 19, 2023

Ah, no, got another random failure on master for Java 8 on Windows, which is what I am using locally... still worth it rebase though. @kinow Any ideas?

@garydgregory
Copy link
Member

@jkbkupczyk

OK, now you can rebase.

@kinow
Copy link
Member

kinow commented Jul 19, 2023

Still seeing the same failure I saw yesterday on master. I have a Windows VM at $work, but haven't had much time to set up or test anything on that machine (using that to write docs/sharepoint/etc 😞 ). Maybe someone else can reproduce and try to fix the test on Win.

@garydgregory
Copy link
Member

This PR looks odd, you need to only have your commits in here. Git can be tricky sometimes...

@jkbkupczyk
Copy link
Contributor Author

This PR looks odd, you need to only have your commits in here. Git can be tricky sometimes...

ahh, I did it through Intellij, should have done it manually...

@garydgregory
Copy link
Member

garydgregory commented Jul 19, 2023

😜 time to redo it then

@jkbkupczyk
Copy link
Contributor Author

jkbkupczyk commented Jul 19, 2023

😜 time to redo it then

ok 😁 will close that PR and open a new one, maybe I enhance this change and add parameterized tests 😀

@garydgregory
Copy link
Member

You don't need to close this PR and open a new one, this creates noise on the mailing list and disconnects the history of the issue. It's better to keep it here IMO.

@jkbkupczyk jkbkupczyk force-pushed the add_imap_reply_tests_refactor_imap_test branch from 9485476 to 68a1404 Compare July 19, 2023 20:08
@jkbkupczyk
Copy link
Contributor Author

I think it's good RN. Would you mind looking at this @garydgregory, please?

@garydgregory
Copy link
Member

I kicked off the builds...

@garydgregory garydgregory merged commit 553d10e into apache:master Jul 19, 2023
15 checks passed
@jkbkupczyk
Copy link
Contributor Author

Thank you @garydgregory and @kinow for review 😊

@jkbkupczyk jkbkupczyk deleted the add_imap_reply_tests_refactor_imap_test branch July 19, 2023 21:03
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.

3 participants