svn commit: r560892 - /lenya/trunk/src/impl/test/org/apache/lenya/cms/rc/RevisionControllerTest.java
[email protected] Mon, 30 Jul 2007 08:56:29 -0000
Newsgroups
gmane.comp.cms.lenya.cvs
Message-ID
<[email protected] >
Author: andreas
Date: Mon Jul 30 01:56:20 2007
New Revision: 560892
URL: http://svn.apache.org/viewvc?view=rev&rev=560892
Log:
Updated revision controller test to API change
Modified:
lenya/trunk/src/impl/test/org/apache/lenya/cms/rc/RevisionControllerTest.java
Modified: lenya/trunk/src/impl/test/org/apache/lenya/cms/rc/RevisionControllerTest.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/impl/test/org/apache/lenya/cms/rc/RevisionControllerTest.java?view=diff&rev=560892&r1=560891&r2=560892
==============================================================================
--- lenya/trunk/src/impl/test/org/apache/lenya/cms/rc/RevisionControllerTest.java (original)
+++ lenya/trunk/src/impl/test/org/apache/lenya/cms/rc/RevisionControllerTest.java Mon Jul 30 01:56:20 2007
@@ -23,12 +23,9 @@
import java.io.FileNotFoundException;
import java.io.IOException;
-import org.apache.avalon.framework.service.ServiceException;
-import org.apache.lenya.ac.AccessControlException;
import org.apache.lenya.ac.impl.AbstractAccessControlTest;
import org.apache.lenya.cms.publication.Document;
import org.apache.lenya.cms.publication.DocumentManager;
-import org.apache.lenya.cms.repository.RepositoryException;
/**
* Revision Controller test
@@ -37,11 +34,9 @@
/**
* @see <a href="http://issues.apache.org/bugzilla/show_bug.cgi?id=41005">Bug 41005</a>
- * @throws AccessControlException
- * @throws RepositoryException
- * @throws ServiceException
+ * @throws Exception
*/
- public void testCheckIn() throws AccessControlException, RepositoryException, ServiceException {
+ public void testCheckIn() throws Exception {
login("lenya");
DocumentManager docMgr = null;