You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2003/05/28 21:07:51 UTC
cvs commit: avalon-excalibur/fortress/src/test/org/apache/avalon/fortress/util/test FortressConfigTestCase.java
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: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org