com.redhat.rhn.manager.action.test
Class ActionManagerTest

java.lang.Object
  extended by TestCase
      extended by com.redhat.rhn.testing.RhnBaseTestCase
          extended by com.redhat.rhn.manager.action.test.ActionManagerTest

public class ActionManagerTest
extends RhnBaseTestCase

JUnit test case for the User class.


Constructor Summary
ActionManagerTest()
           
 
Method Summary
 void assertActionsForUser(User user, int expected)
           
 void assertServerActionCount(Action parentAction, int expected)
           
 void assertServerActionCount(User user, int expected)
           
 void aTestSchedulePackageDelta()
           
 void testAddServerToAction()
           
 void testCancelActionWithChildren()
           
 void testCancelActionWithMultipleServerActions()
           
 void testCancelActionWithParentFails()
           
 void testCancelKickstartAction()
           
 void testCompletedActions()
           
 void testComplexHierarchy()
           
 void testCreateErrataAction()
           
 void testFailedActions()
           
 void testFailedSystems()
           
 void testGetSystemGroups()
           
 void testInProgressSystems()
           
 void testLookupAction()
           
 void testLookupFailLoookupAction()
           
 void testPendingActions()
           
 void testRecentlyScheduledActions()
           
 void testRescheduleAction()
           
 void testScheduleGuestKickstart()
           
 void testScheduleKickstart()
           
 void testSchedulePackageDelta()
           
 void testSchedulePackageRemoval()
           
 void testSchedulePackageVerify()
           
 void testScheduleSriptRun()
           
 void testSimpleCancelActions()
           
 
Methods inherited from class com.redhat.rhn.testing.RhnBaseTestCase
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reload, setUp, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionManagerTest

public ActionManagerTest()
Method Detail

testGetSystemGroups

public void testGetSystemGroups()
                         throws java.lang.Exception
Throws:
java.lang.Exception

testLookupAction

public void testLookupAction()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testFailedActions

public void testFailedActions()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testPendingActions

public void testPendingActions()
                        throws java.lang.Exception
Throws:
java.lang.Exception

assertServerActionCount

public void assertServerActionCount(Action parentAction,
                                    int expected)

assertServerActionCount

public void assertServerActionCount(User user,
                                    int expected)

assertActionsForUser

public void assertActionsForUser(User user,
                                 int expected)
                          throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleCancelActions

public void testSimpleCancelActions()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testCancelActionWithChildren

public void testCancelActionWithChildren()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCancelActionWithMultipleServerActions

public void testCancelActionWithMultipleServerActions()
                                               throws java.lang.Exception
Throws:
java.lang.Exception

testCancelActionWithParentFails

public void testCancelActionWithParentFails()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

testComplexHierarchy

public void testComplexHierarchy()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testCancelKickstartAction

public void testCancelKickstartAction()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testCompletedActions

public void testCompletedActions()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testRecentlyScheduledActions

public void testRecentlyScheduledActions()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testLookupFailLoookupAction

public void testLookupFailLoookupAction()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testRescheduleAction

public void testRescheduleAction()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testInProgressSystems

public void testInProgressSystems()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testFailedSystems

public void testFailedSystems()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testCreateErrataAction

public void testCreateErrataAction()
                            throws java.lang.Exception
Throws:
java.lang.Exception

testAddServerToAction

public void testAddServerToAction()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testSchedulePackageRemoval

public void testSchedulePackageRemoval()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testSchedulePackageVerify

public void testSchedulePackageVerify()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testScheduleSriptRun

public void testScheduleSriptRun()
                          throws java.lang.Exception
Throws:
java.lang.Exception

testScheduleKickstart

public void testScheduleKickstart()
                           throws java.lang.Exception
Throws:
java.lang.Exception

testScheduleGuestKickstart

public void testScheduleGuestKickstart()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testSchedulePackageDelta

public void testSchedulePackageDelta()
                              throws java.lang.Exception
Throws:
java.lang.Exception

aTestSchedulePackageDelta

public void aTestSchedulePackageDelta()
                               throws java.lang.Exception
Throws:
java.lang.Exception