incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: incubator-altrmi/integrationtests/src/test/org/apache/altrmi/test/proxies CodedProxyTestInterfaceProxy.java
Date Mon, 08 Sep 2003 06:58:54 GMT
hammant     2003/09/07 23:58:54

  Modified:    integrationtests/src/test/org/apache/altrmi/test
                        AbstractHelloTestCase.java TestInterface.java
                        TestInterfaceImpl.java
               integrationtests/src/test/org/apache/altrmi/test/proxies
                        CodedProxyTestInterfaceProxy.java
  Log:
  one more test
  
  Revision  Changes    Path
  1.2       +8 -1      incubator-altrmi/integrationtests/src/test/org/apache/altrmi/test/AbstractHelloTestCase.java
  
  Index: AbstractHelloTestCase.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/integrationtests/src/test/org/apache/altrmi/test/AbstractHelloTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractHelloTestCase.java	28 Aug 2003 18:24:44 -0000	1.1
  +++ AbstractHelloTestCase.java	8 Sep 2003 06:58:54 -0000	1.2
  @@ -337,6 +337,13 @@
   
       }
   
  -
  +    public void testCustomSerializableParameter() {
  +        // lookup worked ?
  +        assertNotNull(testClient);
  +        
  +        CustomSerializableParam custom = new CustomSerializableParam();
  +        testClient.testCustomSerializableParameter(custom);
  +        assertNotNull(custom);
  +    }
   
   }
  
  
  
  1.2       +12 -1     incubator-altrmi/integrationtests/src/test/org/apache/altrmi/test/TestInterface.java
  
  Index: TestInterface.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/integrationtests/src/test/org/apache/altrmi/test/TestInterface.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestInterface.java	28 Aug 2003 18:24:44 -0000	1.1
  +++ TestInterface.java	8 Sep 2003 06:58:54 -0000	1.2
  @@ -206,5 +206,16 @@
   
       void testLong(long l);
   
  +    /**
  +     * It seems that there is (or was) a bug that prevents
  +     * deserialization of instances where a classdef was
  +     * not in the primordial classloader. This will be (or was)
  +     * difficult to test under Maven control.
  +     *
  +     * @param param
  +     * @return
  +     */
  +    CustomSerializableParam testCustomSerializableParameter(CustomSerializableParam param);
  +
   
   }
  
  
  
  1.2       +5 -1      incubator-altrmi/integrationtests/src/test/org/apache/altrmi/test/TestInterfaceImpl.java
  
  Index: TestInterfaceImpl.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/integrationtests/src/test/org/apache/altrmi/test/TestInterfaceImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestInterfaceImpl.java	28 Aug 2003 18:24:44 -0000	1.1
  +++ TestInterfaceImpl.java	8 Sep 2003 06:58:54 -0000	1.2
  @@ -316,4 +316,8 @@
           return "YeeeeHaaaa";
       }
   
  +    public CustomSerializableParam testCustomSerializableParameter(CustomSerializableParam
param) {
  +        return param;
  +    }
  +
   }
  
  
  
  1.2       +5 -1      incubator-altrmi/integrationtests/src/test/org/apache/altrmi/test/proxies/CodedProxyTestInterfaceProxy.java
  
  Index: CodedProxyTestInterfaceProxy.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/integrationtests/src/test/org/apache/altrmi/test/proxies/CodedProxyTestInterfaceProxy.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CodedProxyTestInterfaceProxy.java	28 Aug 2003 18:22:38 -0000	1.1
  +++ CodedProxyTestInterfaceProxy.java	8 Sep 2003 06:58:54 -0000	1.2
  @@ -267,4 +267,8 @@
           return m_actualImpl.hashCode();
       }
   
  +    public CustomSerializableParam testCustomSerializableParameter(CustomSerializableParam
param) {
  +        return m_actualImpl.testCustomSerializableParameter(param);
  +    }
  +
   }
  
  
  

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


Mime
View raw message