svn commit: rev 43399 - avalon/trunk/central/laboratory/avalon-net/Castle/MicroKernel/MicroKernelTest
[email protected] 5 Sep 2004 22:50:46 -0000
| Newsgroups | gmane.comp.jakarta.avalon.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: hammett Date: Sun Sep 5 15:50:46 2004 New Revision: 43399 Modified: avalon/trunk/central/laboratory/avalon-net/Castle/MicroKernel/MicroKernelTest/SimpleComponentFactoryTestCase.cs Log: Modification to the test case. Modified: avalon/trunk/central/laboratory/avalon-net/Castle/MicroKernel/MicroKernelTest/SimpleComponentFactoryTestCase.cs ============================================================================== --- avalon/trunk/central/laboratory/avalon-net/Castle/MicroKernel/MicroKernelTest/SimpleComponentFactoryTestCase.cs (original) +++ avalon/trunk/central/laboratory/avalon-net/Castle/MicroKernel/MicroKernelTest/SimpleComponentFactoryTestCase.cs Sun Sep 5 15:50:46 2004 @@ -52,7 +52,7 @@ IComponentModel model = new DefaultComponentModelBuilder(kernel).BuildModel( "a", service, implementation ); - SimpleComponentFactory factory = new SimpleComponentFactory( + BaseComponentFactory factory = new BaseComponentFactory( kernel, null, model, new Hashtable() ); @@ -81,7 +81,7 @@ Hashtable serv2Handler = new Hashtable(); serv2Handler[ serviceDep ] = kernel.GetHandlerForService( serviceDep ); - SimpleComponentFactory factory = new SimpleComponentFactory( + BaseComponentFactory factory = new BaseComponentFactory( kernel, null, model, serv2Handler ); Object instance = factory.Incarnate(); @@ -116,7 +116,7 @@ serv2Handler[ serviceDep1 ] = kernel.GetHandlerForService( serviceDep1 ); serv2Handler[ serviceDep2 ] = kernel.GetHandlerForService( serviceDep2 ); - SimpleComponentFactory factory = new SimpleComponentFactory( + BaseComponentFactory factory = new BaseComponentFactory( kernel, null, model, serv2Handler ); Object instance = factory.Incarnate();