From: Maria Odea B. Ching Date: Mon, 6 Oct 2008 07:24:04 +0000 (+0000) Subject: updated test methods names X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=73914141abde44863bd6e9b957b66aabef3611f8;p=archiva.git updated test methods names git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/archiva-security-fix@701968 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/ArchivaServletAuthenticatorTest.java b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/ArchivaServletAuthenticatorTest.java index 0eeaedc72..d100b88ac 100644 --- a/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/ArchivaServletAuthenticatorTest.java +++ b/archiva-modules/archiva-web/archiva-security/src/test/java/org/apache/maven/archiva/security/ArchivaServletAuthenticatorTest.java @@ -186,7 +186,7 @@ public class ArchivaServletAuthenticatorTest } } - public void testIsAuthorizedGustUserHasWriteAccess() + public void testIsAuthorizedGuestUserHasWriteAccess() throws Exception { assignRepositoryManagerRole( USER_GUEST, "corporate" ); @@ -195,7 +195,7 @@ public class ArchivaServletAuthenticatorTest assertTrue( isAuthorized ); } - public void testIsAuthorizedGustUserHasNoWriteAccess() + public void testIsAuthorizedGuestUserHasNoWriteAccess() throws Exception { assignRepositoryObserverRole( USER_GUEST, "corporate" ); @@ -204,7 +204,7 @@ public class ArchivaServletAuthenticatorTest assertFalse( isAuthorized ); } - public void testIsAuthorizedGustUserHasReadAccess() + public void testIsAuthorizedGuestUserHasReadAccess() throws Exception { assignRepositoryObserverRole( USER_GUEST, "corporate" ); @@ -214,7 +214,7 @@ public class ArchivaServletAuthenticatorTest assertTrue( isAuthorized ); } - public void testIsAuthorizedGustUserHasNoReadAccess() + public void testIsAuthorizedGuestUserHasNoReadAccess() throws Exception { boolean isAuthorized = servletAuth.isAuthorized( USER_GUEST, "corporate", false );