Skip to content

Conversation

chrjohn
Copy link
Member

@chrjohn chrjohn commented Feb 8, 2018

No description provided.

@chrjohn chrjohn added this to the QFJ 2.0.1 milestone Feb 8, 2018
@chrjohn chrjohn merged commit 2ec570e into master Feb 9, 2018
@chrjohn chrjohn deleted the minor-minor-unittest-changes branch February 9, 2018 08:59
chrjohn added a commit that referenced this pull request Feb 9, 2018
handler.processMessage(mockIoSession, message);
} catch (Exception e) {
fail("No exception should be thrown!");
fail("No exception should be thrown! " + e);

Choose a reason for hiding this comment

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

Hi @chrjohn - A little late and a minor point, but there isn't any need to catch an Exception here. If the exception is thrown the unit test will fail and by not catching the exception you will benefit from seeing the full stacktrace.

Cheers!

Copy link
Member Author

Choose a reason for hiding this comment

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

Hi @alphafoobar , you are of course right.
That happens when you don't think about what you're doing. ;)

Thanks,
Chris.

@chrjohn chrjohn modified the milestones: QFJ 2.0.1, QFJ 2.1.0 Jul 31, 2018
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