jbossas/jboss-as — pull request #1078 by jlanik (2012-01-11 15:22:34+00:00)
Title: refactoring login modules tests

This pull request contains huge refactoring of login module tests

the original version had a very nasty design, e.g. the test cases were named like this:

UserRolesLoginModuleTestCase1
UserRolesLoginModuleTestCase2
UserRolesLoginModuleTestCase3
UserRolesLoginModuleTestCase4
...

In this refactoring I moved all tests from SomethingTextCaseX.java to SomethingTestCase.java so instead of 14 test cases we have 3. I also removed a number of Abstract classes which are not needed any more and added some help classes which are used in the tests.