This commit is contained in:
Andrei Stefan 2008-01-26 11:31:49 +00:00
parent 483068d486
commit 0e58e816a2
2 changed files with 7 additions and 4 deletions

View File

@ -10,6 +10,8 @@ import junit.framework.TestCase;
*/ */
public class AclFormattingUtilsTests extends TestCase { public class AclFormattingUtilsTests extends TestCase {
//~ Methods ========================================================================================================
public void testDemergePatternsParametersConstraints() { public void testDemergePatternsParametersConstraints() {
try { try {
AclFormattingUtils.demergePatterns(null, "SOME STRING"); AclFormattingUtils.demergePatterns(null, "SOME STRING");

View File

@ -19,7 +19,9 @@ import org.springframework.security.acls.sid.Sid;
* @author Andrei Stefan * @author Andrei Stefan
*/ */
public class AccessControlEntryTests extends TestCase { public class AccessControlEntryTests extends TestCase {
//~ Methods ========================================================================================================
public void testConstructorRequiredFields() { public void testConstructorRequiredFields() {
// Check Acl field is present // Check Acl field is present
try { try {
@ -98,9 +100,8 @@ public class AccessControlEntryTests extends TestCase {
BasePermission.ADMINISTRATION, true, true, false))); BasePermission.ADMINISTRATION, true, true, false)));
} }
/** //~ Inner Classes ==================================================================================================
* {@link Acl} mock implementation.
*/
private class MockAcl implements Acl { private class MockAcl implements Acl {
public AccessControlEntry[] getEntries() { public AccessControlEntry[] getEntries() {