Commit Graph

18 Commits

Author SHA1 Message Date
AymericDu a8cada6f9e Template method on ChatMessage 2016-03-19 15:37:28 +01:00
Jeremy MATHIAS ca82ad5e4e Add unit tests for SkillSet 2016-03-07 16:14:52 +01:00
Major b99b20fbb4 Merge pull request #171 from ryleykimmel/consistent-tests
Make test class and method names consistent
2016-02-09 16:10:43 +00:00
Major 3e08a62672 Merge pull request #167 from ryleykimmel/issue165
Fix String attribute encoding delimiter
2016-02-09 16:09:12 +00:00
atomicint 38486f9e3e Add unit test for Attribute#encode
Fix typo in Attribute unit test

Ensure test method names are consistent with others in Apollo

More clear tests
2016-02-09 11:06:21 -05:00
atomicint d2b54bde4d Made test class names consistent with other tests
Make test classes final

Ensure all test method names are consistent
2016-02-09 10:21:34 -05:00
atomicint 2e9a7ddaaf Fix issue #142
Add unit test for MobRepository#remove(null)

Add explicit null check

Remove empty line, change useless exception message
2016-02-05 12:23:13 -05:00
atomicint 5156e0bc19 Removed inline comments 2016-01-22 15:55:40 -05:00
atomicint 637a18d155 Fixes issue #98 (also adds unit test for MobRepository) 2016-01-22 01:11:03 -05:00
Gary Tierney 80be2691ca Remove ItemVerificationHandler test to account for #32 2015-09-13 16:06:20 +01:00
Gary Tierney c65d533288 Add tests around ItemOnObjectVerificationHandler
Add various tests around ItemOnObject messages to verify that a valid
object needs to be given as well as a valid item in order for the
message to be passed down the MessageHandlerChain.
2015-09-13 02:20:37 +01:00
Gary Tierney 15f5d4a36e Change @BeforeClass to @Before to prevent tests failing 2015-09-13 01:46:59 +01:00
Gary Tierney 0c074bd123 Add tests around ObjectActionVerificationHandler
Add a test which verifies an ObjectActionMessage is terminated if its
not within the specified distance of the player.

Additionally add a test which verifies that an ObjectActionMessage is
terminated if there is no object with the given id nearby.
2015-09-13 01:42:12 +01:00
Gary Tierney ef398dc098 Add a test around ChatMessageHandler, update imports
Update the previous ItemOnItemVerificationHandler test to use static
imports of PowerMockito and Assert.
2015-09-13 01:25:00 +01:00
Gary Tierney 82801df436 Add a test around the target of ItemOnItemMessage
Check that the message is terminated() if an ItemOnItemMessage
is received with an invalid target item.
2015-09-13 01:17:41 +01:00
Gary Tierney c9b702bcfb Get ItemOnItemVerificationHandlerTest passing 2015-09-13 01:14:04 +01:00
Gary Tierney a5f8b1f9fd Test messages with an invalid source are terminated 2015-09-13 01:08:11 +01:00
atomicint 592b993d9b Fixes issue #70 2015-08-24 21:29:50 -04:00