bloritsch    2003/05/28 12:07:51

  Modified:    fortress/src/test/org/apache/avalon/fortress/util/test
                        FortressConfigTestCase.java
  Log:
  Commit the changes to the testcase to ensure the proper contract is tested
  
  Revision  Changes    Path
  1.4       +3 -2      
avalon-excalibur/fortress/src/test/org/apache/avalon/fortress/util/test/FortressConfigTestCase.java
  
  Index: FortressConfigTestCase.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-excalibur/fortress/src/test/org/apache/avalon/fortress/util/test/FortressConfigTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FortressConfigTestCase.java       28 May 2003 19:03:47 -0000      1.3
  +++ FortressConfigTestCase.java       28 May 2003 19:07:51 -0000      1.4
  @@ -65,6 +65,7 @@
   import org.apache.avalon.framework.service.DefaultServiceManager;
   import org.apache.avalon.framework.service.ServiceManager;
   import org.apache.excalibur.event.Queue;
  +import org.apache.excalibur.event.Sink;
   import org.apache.excalibur.event.impl.DefaultQueue;
   import org.apache.excalibur.instrument.InstrumentManager;
   import org.apache.excalibur.mpool.DefaultPoolManager;
  @@ -131,8 +132,8 @@
   
       private void checkContext( Context context, boolean useURI ) throws Exception
       {
  -        assertNotNull( context.get( Queue.ROLE ) );
  -        assertInstanceof( context.get( Queue.ROLE ), Queue.class );
  +        assertNotNull( context.get( Sink.ROLE ) );
  +        assertInstanceof( context.get( Sink.ROLE ), Sink.class );
   
           assertNotNull( context.get( ContainerManagerConstants.CONTAINER_CLASS ) );
           assertInstanceof( context.get( ContainerManagerConstants.CONTAINER_CLASS ), 
Class.class );
  
  
  

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

Reply via email to