com.redhat.rhn.manager.token.test
Class ActivationKeyManagerTest

java.lang.Object
  extended by TestCase
      extended by com.redhat.rhn.testing.RhnBaseTestCase
          extended by com.redhat.rhn.testing.BaseTestCaseWithUser
              extended by com.redhat.rhn.manager.token.test.ActivationKeyManagerTest

public class ActivationKeyManagerTest
extends BaseTestCaseWithUser

ActivationKeyManagerTest


Field Summary
 
Fields inherited from class com.redhat.rhn.testing.BaseTestCaseWithUser
user
 
Constructor Summary
ActivationKeyManagerTest()
           
 
Method Summary
 ActivationKey createActivationKey()
           
 void setUp()
          Called once per test method.
 void testCreate()
           
 void testCreatePermissions()
           
 void testDelete()
           
 void testLookup()
           
 
Methods inherited from class com.redhat.rhn.testing.BaseTestCaseWithUser
tearDown
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationKeyManagerTest

public ActivationKeyManagerTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Description copied from class: BaseTestCaseWithUser
Called once per test method.

Overrides:
setUp in class BaseTestCaseWithUser
Throws:
java.lang.Exception - if an error occurs during setup.

testDelete

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

testLookup

public void testLookup()

testCreatePermissions

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

testCreate

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

createActivationKey

public ActivationKey createActivationKey()
                                  throws java.lang.Exception
Throws:
java.lang.Exception