avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/assembly/src/test/org/apache/avalon/assembly/engine EngineTestCase.java
Date Sun, 15 Dec 2002 14:05:50 GMT
mcconnell    2002/12/15 06:05:50

  Modified:    assembly/src/test/org/apache/avalon/assembly/engine
                        EngineTestCase.java
  Log:
  Updated to relect imploved appliance constructor pattern.
  
  Revision  Changes    Path
  1.7       +3 -2      avalon-sandbox/assembly/src/test/org/apache/avalon/assembly/engine/EngineTestCase.java
  
  Index: EngineTestCase.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/assembly/src/test/org/apache/avalon/assembly/engine/EngineTestCase.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- EngineTestCase.java	12 Dec 2002 00:32:32 -0000	1.6
  +++ EngineTestCase.java	15 Dec 2002 14:05:50 -0000	1.7
  @@ -20,6 +20,7 @@
   import org.apache.avalon.assembly.TestCaseBase;
   import org.apache.avalon.assembly.engine.Engine;
   import org.apache.avalon.assembly.appliance.Appliance;
  +import org.apache.avalon.assembly.appliance.ApplianceContext;
   import org.apache.avalon.assembly.util.ExceptionHelper;
   
   /**
  @@ -210,8 +211,8 @@
           {
               Type type = m_engine.getRepository().getTypeManager().getType( classname );
               Profile profile = m_engine.getRepository().getProfileManager().getProfile(
type );
  -            Map map = new Hashtable();
  -            Appliance appliance = m_engine.createAppliance( profile, map, false );
  +            ApplianceContext context = new ApplianceContext( profile );
  +            Appliance appliance = m_engine.createAppliance( context, false );
               m_engine.assemble( appliance );
               assertTrue( appliance.access() != null );
           }
  
  
  

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