gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] fenfire/org/fenfire/modules/pp PPActionsImpl.ja...


From: Benja Fallenstein
Subject: [Gzz-commits] fenfire/org/fenfire/modules/pp PPActionsImpl.ja...
Date: Sat, 07 Jun 2003 15:08:00 -0400

CVSROOT:        /cvsroot/fenfire
Module name:    fenfire
Branch:         
Changes by:     Benja Fallenstein <address@hidden>      03/06/07 15:07:59

Modified files:
        org/fenfire/modules/pp: PPActionsImpl.java PPActionsImpl.test 

Log message:
        misfix ppactionsimpl by not inheriting unicastremoteobject

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/modules/pp/PPActionsImpl.java.diff?tr1=1.29&tr2=1.30&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/fenfire/fenfire/org/fenfire/modules/pp/PPActionsImpl.test.diff?tr1=1.11&tr2=1.12&r1=text&r2=text

Patches:
Index: fenfire/org/fenfire/modules/pp/PPActionsImpl.java
diff -u fenfire/org/fenfire/modules/pp/PPActionsImpl.java:1.29 
fenfire/org/fenfire/modules/pp/PPActionsImpl.java:1.30
--- fenfire/org/fenfire/modules/pp/PPActionsImpl.java:1.29      Fri May 23 
18:07:57 2003
+++ fenfire/org/fenfire/modules/pp/PPActionsImpl.java   Sat Jun  7 15:07:59 2003
@@ -14,9 +14,14 @@
 import org.fenfire.impl.*;
 
 /** The implementation of PPActions.
+ *  XXX Apparently there is a bug in UnicastRemoteObject
+ *  at least on Sun's 1.4.1_01; the call to super()
+ *  doesn't return for me. Made both tests and
+ *  FenPDF hang for me. Commented out the 'extends
+ *  UnicastRemoteObject' for now. -benja
  */
-public class PPActionsImpl extends UnicastRemoteObject implements PPActions {
-public static final String rcsid = "$Id: PPActionsImpl.java,v 1.29 2003/05/23 
22:07:57 mudyc Exp $";
+public class PPActionsImpl /*extends UnicastRemoteObject*/ implements 
PPActions {
+public static final String rcsid = "$Id: PPActionsImpl.java,v 1.30 2003/06/07 
19:07:59 benja Exp $";
     public static boolean dbg = false;
     protected static void p(String s) { System.out.println("PPActionsImpl: 
"+s); }
 
@@ -29,6 +34,7 @@
 
     public PPActionsImpl(Fen fen)  throws RemoteException {
        super();
+       if(dbg) p("UnicastRemoteObject created");
        setFen(fen);
     }
 
Index: fenfire/org/fenfire/modules/pp/PPActionsImpl.test
diff -u fenfire/org/fenfire/modules/pp/PPActionsImpl.test:1.11 
fenfire/org/fenfire/modules/pp/PPActionsImpl.test:1.12
--- fenfire/org/fenfire/modules/pp/PPActionsImpl.test:1.11      Thu Jun  5 
14:03:27 2003
+++ fenfire/org/fenfire/modules/pp/PPActionsImpl.test   Sat Jun  7 15:07:59 2003
@@ -19,6 +19,7 @@
 
 
 def setUp():
+    print "set up for ppactionsimpl"
     global fen, act
     fen = fenfire.Fen()
     fen.constgraph = fen.graph = fenfire.swamp.impl.HashGraph()
@@ -26,12 +27,12 @@
                alph.impl.StormAlph(
                    storm.impl.TransientPool(
                        java.util.HashSet())))
+    print "create ppactionsimpl"
     act = PPActionsImpl(fen)
+    print "setup complete"
 
 def testNewPaper():
-    """
-    fail: *
-    """
+    print "Test paper"
     paper = act.newPaper()
 
     assert CANVAS2D.Canvas == fen.constgraph.find1_11X(paper, RDF.type)
@@ -43,3 +44,4 @@
     assert 0 == it.hasNext()
 
     assert 1 == RDFUtil.isNodeType(fen.graph, paper, CANVAS2D.Canvas)
+    print "Paper tested"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]