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/core/src/test/org/apache/geronimo/xml/deployment EjbJarLoaderTest.java
Date Fri, 07 Nov 2003 03:49:43 GMT
djencks     2003/11/06 19:49:43

  Modified:    modules/core/src/test/org/apache/geronimo/xml/deployment
                        EjbJarLoaderTest.java
  Log:
  Use static method on class not instance
  
  Revision  Changes    Path
  1.2       +2 -4      incubator-geronimo/modules/core/src/test/org/apache/geronimo/xml/deployment/EjbJarLoaderTest.java
  
  Index: EjbJarLoaderTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/test/org/apache/geronimo/xml/deployment/EjbJarLoaderTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- EjbJarLoaderTest.java	29 Sep 2003 16:00:49 -0000	1.1
  +++ EjbJarLoaderTest.java	7 Nov 2003 03:49:43 -0000	1.2
  @@ -77,12 +77,11 @@
    */
   public class EjbJarLoaderTest extends TestCase {
       private File docDir;
  -    private EjbJarLoader loader;
   
       public void testSimpleLoad() throws Exception {
           File f = new File(docDir, "simple-ejb-jar.xml");
           Document xmlDoc = LoaderUtil.parseXML(new FileReader(f));
  -        EjbJarDocument doc = loader.load(xmlDoc);
  +        EjbJarDocument doc = EjbJarLoader.load(xmlDoc);
           EjbJar jar = doc.getEjbJar();
           checkEjbJar(jar, "example");
       }
  @@ -160,6 +159,5 @@
   
       protected void setUp() throws Exception {
           docDir = new File("src/test-data/xml/deployment");
  -        loader = new EjbJarLoader();
       }
   }
  
  
  

Mime
View raw message