You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2004/02/28 16:25:34 UTC

cvs commit: avalon/merlin/activation/impl/src/test/org/apache/avalon/activation/impl/test AbstractTestCase.java SystemContextBuilder.java

mcconnell    2004/02/28 07:25:34

  Modified:    merlin/activation/impl/src/test/org/apache/avalon/activation/impl/test
                        AbstractTestCase.java
  Removed:     merlin/activation/impl/src/test/org/apache/avalon/activation/impl/test
                        SystemContextBuilder.java
  Log:
  SystemContextBuilder is no longer needed as the functionality has been moved partly into the AbstractTestCase and partly into a SystemContextFactory.
  
  Revision  Changes    Path
  1.4       +0 -26     avalon/merlin/activation/impl/src/test/org/apache/avalon/activation/impl/test/AbstractTestCase.java
  
  Index: AbstractTestCase.java
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/activation/impl/src/test/org/apache/avalon/activation/impl/test/AbstractTestCase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- AbstractTestCase.java	27 Feb 2004 22:39:36 -0000	1.3
  +++ AbstractTestCase.java	28 Feb 2004 15:25:34 -0000	1.4
  @@ -164,32 +164,6 @@
   
           ContainmentProfile profile = setUpProfile( block );
           m_model = m_system.getModelFactory().createRootContainmentModel( profile );
  -
  -        /*
  -
  -        //======================================================
  -
  -        InitialContextFactory initial = 
  -          new DefaultInitialContextFactory( "test", base );
  -        initial.setCacheDirectory( getMavenRepositoryDirectory() );
  -        InitialContext context = initial.createInitialContext();
  -
  -        long timeout = 3000;
  -        File local = new File( base, "repository" );
  -
  -        m_system = 
  -          SystemContextBuilder.createSystemContext( 
  -            context, base, local, ConsoleLogger.LEVEL_DEBUG, m_secured, timeout );
  -        m_logger = m_system.getLogger();
  -
  -        //
  -        // load the meta data using the profile returned from getPath()
  -        // and establish a containment model for the unit test
  -        //
  -
  -        ContainmentProfile profile = setUpProfile( block );
  -        m_model = m_system.getModelFactory().createRootContainmentModel( profile );
  -        */
       }
   
       InitialContext setUpInitialContext( File base, Configuration config ) throws Exception
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org