You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by ep...@apache.org on 2003/12/07 19:58:13 UTC

cvs commit: jakarta-turbine-fulcrum/scheduler/src/test/org/apache/fulcrum/schedule/turbine/nonpersistent NonPersistentSchedulerServiceTest.java

epugh       2003/12/07 10:58:13

  Modified:    scheduler project.xml
               scheduler/src/test/org/apache/fulcrum/schedule/turbine/nonpersistent
                        NonPersistentSchedulerServiceTest.java
  Log:
  Update to latest test container
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-turbine-fulcrum/scheduler/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/scheduler/project.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.xml	12 Sep 2003 15:33:38 -0000	1.2
  +++ project.xml	7 Dec 2003 18:58:12 -0000	1.3
  @@ -11,7 +11,7 @@
       <dependency>
         <groupId>fulcrum</groupId>    
         <artifactId>fulcrum-testcontainer</artifactId>
  -      <version>1.0-alpha-1</version>
  +      <version>1.0-alpha-2</version>
       </dependency>
   
       <dependency>
  
  
  
  1.2       +5 -13     jakarta-turbine-fulcrum/scheduler/src/test/org/apache/fulcrum/schedule/turbine/nonpersistent/NonPersistentSchedulerServiceTest.java
  
  Index: NonPersistentSchedulerServiceTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-fulcrum/scheduler/src/test/org/apache/fulcrum/schedule/turbine/nonpersistent/NonPersistentSchedulerServiceTest.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- NonPersistentSchedulerServiceTest.java	16 Aug 2003 14:49:12 -0000	1.1
  +++ NonPersistentSchedulerServiceTest.java	7 Dec 2003 18:58:13 -0000	1.2
  @@ -85,19 +85,11 @@
       {
           return new TestSuite(NonPersistentSchedulerServiceTest.class);
       }
  -	public void setUp()
  +	public void setUp() throws Exception
   	  {
  -		  super.setUp();
  -		  try
  -		  {
  -			  scheduler = (ScheduleService) this.lookup(ScheduleService.ROLE);
  -		  }
  -		  catch (ComponentException e)
  -		  {
  -			  e.printStackTrace();
  -			  fail(e.getMessage());
  -		  }
  -		  //        this.release(sc);
  +		  super.setUp();		  
  +		  scheduler = (ScheduleService) this.lookup(ScheduleService.ROLE);
  +		  
   	  }
       /**
        * Tests the ability to enable and disable the service.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org