summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorEdGruberman <ed@rjump.com>2013-03-11 01:39:14 -0700
committerEdGruberman <ed@rjump.com>2013-03-11 02:48:56 -0700
commita49a47eebdce821521109736bf5b043975cd90ed (patch)
treefd524cebd1aab459ca2b543b6e29807e268d1cf5 /README.md
parentf6399fde39ddabe8bee437d6f99951e00392f964 (diff)
downloadbukkit-a49a47eebdce821521109736bf5b043975cd90ed.tar
bukkit-a49a47eebdce821521109736bf5b043975cd90ed.tar.gz
bukkit-a49a47eebdce821521109736bf5b043975cd90ed.tar.lz
bukkit-a49a47eebdce821521109736bf5b043975cd90ed.tar.xz
bukkit-a49a47eebdce821521109736bf5b043975cd90ed.zip
Test PluginManager.removePermission
Static methods are death to testability. However, irrelevant static methods can be negotiated with until a later time in which they can be removed. When instantiating a new Permission object, static calls are made to the Bukkit class during a recalculatePermissibles logic path. This recalculatePermissibles call should probably be moved appropriately, but until the time such testing can be accomplished itself, these tests work around that situation by simply verifying the static Bukkit server references are satisfied since what is called as a result is irrelevant currently. This commit also updates a few other tests for PluginManagerTest to work towards the standard of using the Hamcrest unit testing library.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions