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:49:03 GMT
donaldp     2002/09/06 18:49:03

  Modified:    loader/src/test/org/apache/excalibur/loader/builder/test
                        ReaderTestCase.java
  Log:
  test join content
  
  Revision  Changes    Path
  1.3       +25 -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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ReaderTestCase.java	7 Sep 2002 01:45:31 -0000	1.2
  +++ ReaderTestCase.java	7 Sep 2002 01:49:03 -0000	1.3
  @@ -87,5 +87,30 @@
                          defs.getJoin( "join1" ) );
           assertNotNull( "Join join2",
                          defs.getJoin( "join2" ) );
  +
  +
  +        assertEquals( "Join join1.refs Name",
  +                      defs.getJoin( "join1" ).getName(),
  +                      "join1" );
  +        assertEquals( "Join join1.refs Count",
  +                      defs.getJoin( "join1" ).getClassloaders().length,
  +                      1 );
  +        assertEquals( "Join join1.refs[0] Name",
  +                      defs.getJoin( "join1" ).getClassloaders()[ 0 ],
  +                      "cl1" );
  +
  +        assertEquals( "Join join2.refs Name",
  +                      defs.getJoin( "join2" ).getName(),
  +                      "join2" );
  +        assertEquals( "Join join2.refs Count",
  +                      defs.getJoin( "join2" ).getClassloaders().length,
  +                      2 );
  +        assertEquals( "Join join2.refs[0] Name",
  +                      defs.getJoin( "join2" ).getClassloaders()[ 0 ],
  +                      "cl1" );
  +        assertEquals( "Join join2.refs[1] Name",
  +                      defs.getJoin( "join2" ).getClassloaders()[ 1 ],
  +                      "cl2" );
  +
       }
   }
  
  
  

--
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