org.apache.turbine.services.schedule
Class TurbineNonPersistentSchedulerServiceTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.turbine.services.schedule.TurbineNonPersistentSchedulerServiceTest
All Implemented Interfaces:
junit.framework.Test

public class TurbineNonPersistentSchedulerServiceTest
extends junit.framework.TestCase

Unit testing for the non-persistent implementation of the scheduler service.

Version:
$Id: TurbineNonPersistentSchedulerServiceTest.java 615328 2008-01-25 20:25:05Z tv $
Author:
Quinton McCombs

Constructor Summary
TurbineNonPersistentSchedulerServiceTest(String name)
           
 
Method Summary
 void OFFtestRunningJob()
          Test to make sure a job actually runs.
static junit.framework.Test suite()
           
 void testAddRemoveJob()
          Tests the ability to add and remove a job.
 void testEnableDisable()
          Tests the ability to enable and disable the service.
 void testGetJob()
          Tests the ability to retrieve the job added during initialization.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TurbineNonPersistentSchedulerServiceTest

public TurbineNonPersistentSchedulerServiceTest(String name)
                                         throws Exception
Throws:
Exception
Method Detail

suite

public static junit.framework.Test suite()

testEnableDisable

public void testEnableDisable()
Tests the ability to enable and disable the service.


testAddRemoveJob

public void testAddRemoveJob()
Tests the ability to add and remove a job. A list of jobs will be obtained from the service to determine if the operation were successful.


testGetJob

public void testGetJob()
Tests the ability to retrieve the job added during initialization.


OFFtestRunningJob

public void OFFtestRunningJob()
Test to make sure a job actually runs. Currently not work.



Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.