donaldp     2002/09/06 18:52:34

  Modified:    loader/src/test/org/apache/excalibur/loader/builder/test
                        ReaderTestCase.java
  Log:
  test cl2 content
  
  Revision  Changes    Path
  1.4       +15 -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.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ReaderTestCase.java       7 Sep 2002 01:49:03 -0000       1.3
  +++ ReaderTestCase.java       7 Sep 2002 01:52:34 -0000       1.4
  @@ -88,6 +88,21 @@
           assertNotNull( "Join join2",
                          defs.getJoin( "join2" ) );
   
  +        assertEquals( "ClassLoader cl2.entrys Name",
  +                      defs.getClassLoader( "cl2" ).getName(),
  +                      "cl2" );
  +        assertEquals( "ClassLoader cl2.entrys Count",
  +                      defs.getClassLoader( "cl2" ).getEntrys().length,
  +                      1 );
  +        assertEquals( "ClassLoader cl2.filesets Count",
  +                      defs.getClassLoader( "cl2" ).getFilesets().length,
  +                      0 );
  +        assertEquals( "ClassLoader cl2.extensions Count",
  +                      defs.getClassLoader( "cl2" ).getExtensions().length,
  +                      0 );
  +        assertEquals( "ClassLoader cl2.entrys[0] Location",
  +                      defs.getClassLoader( "cl2" ).getEntrys()[ 0 ].getLocation(),
  +                      "aFile.jar" );
   
           assertEquals( "Join join1.refs Name",
                         defs.getJoin( "join1" ).getName(),
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to