avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/loader/src/test/org/apache/excalibur/loader/builder/test ReaderTestCase.java
Date Sat, 07 Sep 2002 01:45:31 GMT
donaldp     2002/09/06 18:45:31

  Modified:    loader/src/test/org/apache/excalibur/loader/builder/test
                        ReaderTestCase.java
  Log:
  Add some "real" tests
  
  Revision  Changes    Path
  1.2       +17 -0     jakarta-avalon-excalibur/loader/src/test/org/apache/excalibur/loader/builder/test/ReaderTestCase.java
  
  Index: ReaderTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/loader/src/test/org/apache/excalibur/loader/builder/test/ReaderTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ReaderTestCase.java	7 Sep 2002 01:42:10 -0000	1.1
  +++ ReaderTestCase.java	7 Sep 2002 01:45:31 -0000	1.2
  @@ -70,5 +70,22 @@
       {
           final ClassLoaderSetDef defs = build( "config1.xml" );
   
  +        assertEquals( "ClassLoader Default",
  +                      "join2",
  +                      defs.getDefault() );
  +        assertEquals( "ClassLoader Count",
  +                      2,
  +                      defs.getClassLoaders().length );
  +        assertEquals( "Join Count",
  +                      2,
  +                      defs.getJoins().length );
  +        assertNotNull( "ClassLoader cl1",
  +                       defs.getClassLoader( "cl1" ) );
  +        assertNotNull( "ClassLoader cl2",
  +                       defs.getClassLoader( "cl2" ) );
  +        assertNotNull( "Join join1",
  +                       defs.getJoin( "join1" ) );
  +        assertNotNull( "Join join2",
  +                       defs.getJoin( "join2" ) );
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message