add unit test for DefaultSecuritySystem

This commit is contained in:
Sebastian Sdorra
2013-05-02 18:29:00 +02:00
parent c0eb4c3859
commit 62bfcbc78f
4 changed files with 363 additions and 4 deletions

View File

@@ -151,6 +151,7 @@ public class AbstractTestBase
try
{
preTearDown();
clearSubject();
}
finally
{
@@ -179,7 +180,7 @@ public class AbstractTestBase
//~--- methods --------------------------------------------------------------
/**
* Clears Shiro's thread state, ensuring the thread remains clean for
* Clears Shiro's thread state, ensuring the thread remains clean for
* future test execution.
*/
protected void clearSubject()