Add unit tests
authorJan Dittberner <jandd@cacert.org>
Sun, 12 Jun 2016 22:24:25 +0000 (00:24 +0200)
committerJan Dittberner <jandd@cacert.org>
Sun, 12 Jun 2016 22:24:25 +0000 (00:24 +0200)
commitf9dd1d81e1ae8d4fac8340cea0bd198badeb5e87
treea536200a2f317a52d6e68f639f85ff6df3f0f5e7
parentd359d4697784147de1245940477af041c2817c13
Add unit tests

This commit adds a first set of unit tests for exception classes, the
VoteType enum method and the CAcertVoteMechanics class.
src/test/java/org/cacert/votebot/shared/CAcertVoteMechanicsTest.java [new file with mode: 0644]
src/test/java/org/cacert/votebot/shared/VoteTypeTest.java [new file with mode: 0644]
src/test/java/org/cacert/votebot/shared/exceptions/IRCClientExceptionTest.java [new file with mode: 0644]
src/test/java/org/cacert/votebot/shared/exceptions/InvalidChannelNameTest.java [new file with mode: 0644]
src/test/java/org/cacert/votebot/shared/exceptions/InvalidNickNameTest.java [new file with mode: 0644]
src/test/java/org/cacert/votebot/shared/exceptions/NoBotAssignedTest.java [new file with mode: 0644]