geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/deployment/src/test-resources/services/service3/META-INF geronimo-service.xml
Date Fri, 16 Jan 2004 23:11:02 GMT
djencks     2004/01/16 15:11:02

  Modified:    modules/deployment/src/test/org/apache/geronimo/deployment/service
                        ServiceDeployerTest.java
               modules/deployment/src/test-resources/services/service3/META-INF
                        geronimo-service.xml
  Log:
  test the endpoint code
  
  Revision  Changes    Path
  1.3       +3 -2      incubator-geronimo/modules/deployment/src/test/org/apache/geronimo/deployment/service/ServiceDeployerTest.java
  
  Index: ServiceDeployerTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/deployment/src/test/org/apache/geronimo/deployment/service/ServiceDeployerTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ServiceDeployerTest.java	16 Jan 2004 22:53:28 -0000	1.2
  +++ ServiceDeployerTest.java	16 Jan 2004 23:11:02 -0000	1.3
  @@ -212,8 +212,9 @@
                   try {
                       assertEquals(new ObjectName("geronimo.test:name=MyMockGMBean"), name);
                       assertEquals("1234", gbean.getAttribute("Value"));
  +                    assertEquals(Collections.singleton(ObjectName.getInstance("geronimo.test:name=MockEndpoint")),
gbean.getEndpointPatterns("MockEndpoint"));
                   } catch (Exception e) {
  -                    fail();
  +                    fail(e.getMessage());
                   }
               }
           }, ClassLoader.getSystemClassLoader());
  
  
  
  1.2       +3 -0      incubator-geronimo/modules/deployment/src/test-resources/services/service3/META-INF/geronimo-service.xml
  
  Index: geronimo-service.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/deployment/src/test-resources/services/service3/META-INF/geronimo-service.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- geronimo-service.xml	16 Jan 2004 03:48:43 -0000	1.1
  +++ geronimo-service.xml	16 Jan 2004 23:11:02 -0000	1.2
  @@ -2,5 +2,8 @@
       <path>classes/</path>
       <gbean class="org.apache.geronimo.deployment.MockGBean" objectName="geronimo.test:name=MyMockGMBean">
           <default attribute="Value">1234</default>
  +        <endpoint name="MockEndpoint">
  +            <pattern>geronimo.test:name=MockEndpoint</pattern>
  +        </endpoint>
       </gbean>
   </gbeans>
  
  
  

Mime
View raw message