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

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

public class ActionStatusTest
extends RhnBaseTestCase

ActionStatusTest


Constructor Summary
ActionStatusTest()
           
 
Method Summary
 void testEquals()
          Test Equals
 void testFindByLabel()
          Test findByName 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

ActionStatusTest

public ActionStatusTest()
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 findByName 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