You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2004/12/22 09:05:24 UTC

svn commit: r123058 - /lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java

Author: andreas
Date: Wed Dec 22 00:05:23 2004
New Revision: 123058

URL: http://svn.apache.org/viewcvs?view=rev&rev=123058
Log:
made tests compile again
Modified:
   lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java

Modified: lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java
Url: http://svn.apache.org/viewcvs/lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java?view=diff&rev=123058&p1=lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java&r1=123057&p2=lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java&r2=123058
==============================================================================
--- lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java	(original)
+++ lenya/trunk/src/test/org/apache/lenya/cms/rc/RevisionControllerTest.java	Wed Dec 22 00:05:23 2004
@@ -15,7 +15,7 @@
  *
  */
 
-/* $Id: RevisionControllerTest.java,v 1.5 2004/03/04 15:41:10 egli Exp $  */
+/* $Id$  */
 
 package org.apache.lenya.cms.rc;
 
@@ -43,7 +43,7 @@
         if (args.length != 4) {
             System.out.println(
                 "Usage: "
-                    + new RevisionController().getClass().getName()
+                    + RevisionController.class.getName()
                     + " username(user who checkout) source(filename without the rootDirectory of the document to checkout) username(user who checkin) destination(filename without the rootDirectory of document to checkin)");
 
             return;
@@ -53,7 +53,7 @@
         String source = args[1];
         String identityD = args[2];
         String destination = args[3];
-        RevisionController rc = new RevisionController();
+        RevisionController rc = new RevisionController("", "", "");
         try {
             rc.reservedCheckOut(source, identityS);
         } catch (FileNotFoundException e) // No such source file

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org