avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: avalon-sandbox/merlin/assembly/src/test/org/apache/avalon/assembly/engine/service ServiceRepositoryTestCase.java
Date Tue, 08 Jul 2003 18:22:52 GMT
bloritsch    2003/07/08 11:22:52

  Modified:    merlin/assembly/src/test/org/apache/avalon/assembly/engine/service
                        ServiceRepositoryTestCase.java
  Log:
  Caught bug in API implementation.  We are told to catch a ServiceException, and the DuplicateServiceException
is not a ServiceException.
  
  Revision  Changes    Path
  1.5       +1 -1      avalon-sandbox/merlin/assembly/src/test/org/apache/avalon/assembly/engine/service/ServiceRepositoryTestCase.java
  
  Index: ServiceRepositoryTestCase.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/assembly/src/test/org/apache/avalon/assembly/engine/service/ServiceRepositoryTestCase.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ServiceRepositoryTestCase.java	8 Jul 2003 17:31:58 -0000	1.4
  +++ ServiceRepositoryTestCase.java	8 Jul 2003 18:22:52 -0000	1.5
  @@ -85,7 +85,7 @@
   
           try
           {
  -            assertTrue( m_manager.createService( classname ) != null );
  +            assertNotNull( m_manager.createService( classname ) );
           }
           catch( ServiceException e )
           {
  
  
  

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


Mime
View raw message