com.redhat.rhn.frontend.xmlrpc.activationkey.test
Class ActivationKeyHandlerTest
java.lang.Object
TestCase
com.redhat.rhn.testing.RhnBaseTestCase
com.redhat.rhn.frontend.xmlrpc.test.BaseHandlerTestCase
com.redhat.rhn.frontend.xmlrpc.activationkey.test.ActivationKeyHandlerTest
public class ActivationKeyHandlerTest
- extends BaseHandlerTestCase
| 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, tearDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActivationKeyHandlerTest
public ActivationKeyHandlerTest()
setUp
public void setUp()
throws java.lang.Exception
- Description copied from class:
RhnBaseTestCase
- Called once per test method.
- Overrides:
setUp in class BaseHandlerTestCase
- Throws:
java.lang.Exception - if an error occurs during setup.
testCreateWithAutogeneratedKey
public void testCreateWithAutogeneratedKey()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateWithBlankChannelAndUnlimitedUsageLimit
public void testCreateWithBlankChannelAndUnlimitedUsageLimit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateWithZeroUsageLimit
public void testCreateWithZeroUsageLimit()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateWithExplicitKey
public void testCreateWithExplicitKey()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateWithSameKey
public void testCreateWithSameKey()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateWithInvaidChannelId
public void testCreateWithInvaidChannelId()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateWithChildChannel
public void testCreateWithChildChannel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testCreateWithBaseEntitlements
public void testCreateWithBaseEntitlements()
testCreateWithInvalidEntitlement
public void testCreateWithInvalidEntitlement()
testActivationKeyRoleEnforced
public void testActivationKeyRoleEnforced()
throws java.lang.Exception
- Throws:
java.lang.Exception
testUpdateEverything
public void testUpdateEverything()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetDetailsUnlimitedUsage
public void testSetDetailsUnlimitedUsage()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetDetails
public void testGetDetails()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetAddOnEntitlement
public void testSetAddOnEntitlement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetNonExistentEntitlement
public void testSetNonExistentEntitlement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testSetNonAddOnEntitlement
public void testSetNonAddOnEntitlement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReAddEntitlement
public void testReAddEntitlement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveAddOnEntitements
public void testRemoveAddOnEntitements()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveUnappliedAddOnEntitements
public void testRemoveUnappliedAddOnEntitements()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveNonExistentAddOnEntitlement
public void testRemoveNonExistentAddOnEntitlement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddChildChannel
public void testAddChildChannel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddBaseChannelAsChild
public void testAddBaseChannelAsChild()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddChildChannelFromDifferentBase
public void testAddChildChannelFromDifferentBase()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveChildChannel
public void testRemoveChildChannel()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddServerGroup
public void testAddServerGroup()
throws java.lang.Exception
- Throws:
java.lang.Exception
testReAddServerGroup
public void testReAddServerGroup()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveServerGroup
public void testRemoveServerGroup()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveServerGroupNotThere
public void testRemoveServerGroupNotThere()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddPackageName
public void testAddPackageName()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemovePackageName
public void testRemovePackageName()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddNonExistentPackage
public void testAddNonExistentPackage()
throws java.lang.Exception
- Throws:
java.lang.Exception
testAddPackageWithoutProvisioningEntitementFails
public void testAddPackageWithoutProvisioningEntitementFails()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemoveProvisioningEntitementClearsPackages
public void testRemoveProvisioningEntitementClearsPackages()
throws java.lang.Exception
- Throws:
java.lang.Exception
testListActivationKeys
public void testListActivationKeys()
throws java.lang.Exception
- Throws:
java.lang.Exception
testConfigChannels
public void testConfigChannels()
throws java.lang.Exception
- Throws:
java.lang.Exception
testRemove
public void testRemove()