hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject cvs commit: jakarta-hivemind/framework/src/test/org/apache/hivemind/impl TestMethodIterator.java
Date Wed, 08 Sep 2004 17:34:39 GMT
hlship      2004/09/08 10:34:39

  Modified:    framework/src/test/org/apache/hivemind/impl Tag: branch-1-0
                        TestMethodIterator.java
  Log:
  HIVEMIND-52: Handle duplicated methods in service interfaces, avoiding "attempt to redefine
method" errors.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.2   +7 -3      jakarta-hivemind/framework/src/test/org/apache/hivemind/impl/Attic/TestMethodIterator.java
  
  Index: TestMethodIterator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-hivemind/framework/src/test/org/apache/hivemind/impl/Attic/TestMethodIterator.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- TestMethodIterator.java	8 Sep 2004 17:18:10 -0000	1.1.2.1
  +++ TestMethodIterator.java	8 Sep 2004 17:34:38 -0000	1.1.2.2
  @@ -31,11 +31,15 @@
           public void jump();
       }
   
  -    static interface Runnable2 extends Runnable
  +    static interface Runnable2
       {
           public void run();
       }
   
  +    static interface Runnable3 extends Runnable, Runnable2
  +    {
  +    }
  +
       static interface ToString
       {
           public String toString();
  @@ -84,9 +88,9 @@
           assertEquals(false, mi.getToString());
       }
   
  -    public void testOverridden()
  +    public void testFiltersFuplication()
       {
  -        MethodIterator mi = new MethodIterator(Runnable2.class);
  +        MethodIterator mi = new MethodIterator(Runnable3.class);
   
           MethodSignature actual = mi.next();
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org


Mime
View raw message