CVS: plexus-container/src/test/org/apache/plexus/lifecycle/avalon AvalonServiceSelectorTest.java,1.1,1.2

Jason van Zyl <[email protected]> Tue, 5 Aug 2003 14:26:26 -0500
Newsgroups gmane.comp.java.plexus.devel
Message-ID <[email protected]>
Update of /cvsroot/plexus/plexus-container/src/test/org/apache/plexus/lifecycle/avalon
In directory hogshead.codehaus.org:/tmp/cvs-serv25662/src/test/org/apache/plexus/lifecycle/avalon

Modified Files:
	AvalonServiceSelectorTest.java 
Log Message:
o first pass at integrating bert's patch. checking it in so that bert can
  look at some stuff for me.


Index: AvalonServiceSelectorTest.java
===================================================================
RCS file: /cvsroot/plexus/plexus-container/src/test/org/apache/plexus/lifecycle/avalon/AvalonServiceSelectorTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- AvalonServiceSelectorTest.java	10 May 2003 16:39:30 -0000	1.1
+++ AvalonServiceSelectorTest.java	5 Aug 2003 19:26:24 -0000	1.2
@@ -22,7 +22,7 @@
 
     public void testSelector() throws Exception
     {
-        ServiceSelector selector = (ServiceSelector) getComponent( ServiceC.ROLE + "Selector" );
+        ServiceSelector selector = (ServiceSelector) lookup( ServiceC.ROLE + "Selector" );
         
         assertTrue( selector != null );
         assertTrue( selector.isSelectable( "only-instance" ) );