You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2003/10/20 19:40:12 UTC
cvs commit: jakarta-turbine-fulcrum/security/src/test/org/apache/fulcrum/security/adapter/turbine BetterMockHttpServletRequest.java BaseAdapterTest.java GroupAdapterTest.java AccessControlListAdaptorTest.java
epugh 2003/10/20 10:40:12
Modified: security/src/test/org/apache/fulcrum/security/adapter/turbine
BetterMockHttpServletRequest.java
BaseAdapterTest.java GroupAdapterTest.java
AccessControlListAdaptorTest.java
Log:
javadoc fixups.
Revision Changes Path
1.3 +5 -4 jakarta-turbine-fulcrum/security/src/test/org/apache/fulcrum/security/adapter/turbine/BetterMockHttpServletRequest.java
Index: BetterMockHttpServletRequest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/security/src/test/org/apache/fulcrum/security/adapter/turbine/BetterMockHttpServletRequest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- BetterMockHttpServletRequest.java 26 Aug 2003 21:16:31 -0000 1.2
+++ BetterMockHttpServletRequest.java 20 Oct 2003 17:40:12 -0000 1.3
@@ -56,10 +56,11 @@
import com.mockobjects.servlet.MockHttpServletRequest;
/**
- * @author Eric Pugh
- *
- * To change the template for this generated type comment go to
- * Window>Preferences>Java>Code Generation>Code and Comments
+ * Needed to extend the stand MockHttpServletRequest to work with
+ * Turbine.
+ *
+ * @author <a href="mailto:epugh@upstate.com">Eric Pugh</a>
+ * @version $Id$
*/
public class BetterMockHttpServletRequest extends MockHttpServletRequest
{
1.4 +5 -4 jakarta-turbine-fulcrum/security/src/test/org/apache/fulcrum/security/adapter/turbine/BaseAdapterTest.java
Index: BaseAdapterTest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/security/src/test/org/apache/fulcrum/security/adapter/turbine/BaseAdapterTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- BaseAdapterTest.java 26 Aug 2003 21:16:31 -0000 1.3
+++ BaseAdapterTest.java 20 Oct 2003 17:40:12 -0000 1.4
@@ -58,10 +58,11 @@
import org.apache.fulcrum.security.entity.SecurityEntity;
import org.apache.fulcrum.security.entity.impl.SecurityEntityImpl;
/**
- * @author Eric Pugh
- *
- * Test that we can use a GroupAdapter with a Group that has various
- * types of Id objects.
+ * Test that we can use a BaseAdapter with a SecurityEntity that has
+ * various types of Id objects.
+ *
+ * @author <a href="mailto:epugh@upstate.com">Eric Pugh</a>
+ * @version $Id$
*/
public class BaseAdapterTest extends TestCase
{
1.3 +5 -4 jakarta-turbine-fulcrum/security/src/test/org/apache/fulcrum/security/adapter/turbine/GroupAdapterTest.java
Index: GroupAdapterTest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/security/src/test/org/apache/fulcrum/security/adapter/turbine/GroupAdapterTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- GroupAdapterTest.java 26 Aug 2003 21:16:31 -0000 1.2
+++ GroupAdapterTest.java 20 Oct 2003 17:40:12 -0000 1.3
@@ -58,10 +58,11 @@
import org.apache.fulcrum.security.entity.Group;
import org.apache.fulcrum.security.model.simple.entity.SimpleGroup;
/**
- * @author Eric Pugh
- *
- * Test that we can use a GroupAdapter with a Group that has various
- * types of Id objects.
+ * Test that we can use a GroupAdapter with a Group that has
+ * various types of Id objects.
+ *
+ * @author <a href="mailto:epugh@upstate.com">Eric Pugh</a>
+ * @version $Id$
*/
public class GroupAdapterTest extends TestCase
{
1.3 +9 -0 jakarta-turbine-fulcrum/security/src/test/org/apache/fulcrum/security/adapter/turbine/AccessControlListAdaptorTest.java
Index: AccessControlListAdaptorTest.java
===================================================================
RCS file: /home/cvs/jakarta-turbine-fulcrum/security/src/test/org/apache/fulcrum/security/adapter/turbine/AccessControlListAdaptorTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- AccessControlListAdaptorTest.java 23 Aug 2003 15:30:48 -0000 1.2
+++ AccessControlListAdaptorTest.java 20 Oct 2003 17:40:12 -0000 1.3
@@ -88,6 +88,15 @@
import com.mockobjects.servlet.MockHttpServletResponse;
import com.mockobjects.servlet.MockHttpSession;
import com.mockobjects.servlet.MockServletConfig;
+
+/**
+ * Test that we can load up a fulcrum ACL in Turbine, without Turbine
+ * knowing that anything has changed.
+ *
+ * @author <a href="mailto:epugh@upstate.com">Eric Pugh</a>
+ * @version $Id$
+ */
+
public class AccessControlListAdaptorTest extends BaseUnitTest
{
private static final String PREFIX = "services." + SecurityService.SERVICE_NAME + '.';
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org