com.redhat.rhn.domain.action.test
Class ActionTypeTest

java.lang.Object
  extended by TestCase
      extended by com.redhat.rhn.testing.RhnBaseTestCase
          extended by com.redhat.rhn.domain.action.test.ActionTypeTest

public class ActionTypeTest
extends RhnBaseTestCase

ActionTypeTest


Constructor Summary
ActionTypeTest()
           
 
Method Summary
 void testEquals()
          Test Equals
 void testFindByLabel()
          Test findByLabel query This method can be used to test the second level cache in hibernate.
 
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

ActionTypeTest

public ActionTypeTest()
Method Detail

testEquals

public void testEquals()
                throws java.lang.Exception
Test Equals

Throws:
java.lang.Exception

testFindByLabel

public void testFindByLabel()
                     throws java.lang.Exception
Test findByLabel query This method can be used to test the second level cache in hibernate. Turn on sql output in the hibernate.properties file and make sure that we're not going to the db twice

Throws:
java.lang.Exception