public class RhnSetManagerTest extends RhnBaseTestCase
Modifier and Type | Class and Description |
---|---|
static class |
RhnSetManagerTest.TestSetCleanup |
Constructor and Description |
---|
RhnSetManagerTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp()
Called once per test method.
|
protected void |
tearDown()
Tears down the fixture, and closes the HibernateSession.
|
void |
testCreateDeleteMultipleRhnSet()
Creates an RhnSet, then Deletes verifies it was deleted.
|
void |
testCreateDeleteRhnSet()
Creates an RhnSet then verifies that it was stored in the db
by trying to fetch it again.
|
void |
testCreateRemoveRhnSet()
Tests the remove method of RhnSetManager
|
void |
testGetByLabelInvalidUser()
Looks for an RhnSet for a non-existent user.
|
void |
testStore()
Testing the store method of RhnSetManager
|
void |
testStoreElement3() |
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, createDirIfNotExists, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reload
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
protected void setUp() throws java.lang.Exception
RhnBaseTestCase
setUp
in class RhnBaseTestCase
java.lang.Exception
- if an error occurs during setup.protected void tearDown() throws java.lang.Exception
RhnBaseTestCase
tearDown
in class RhnBaseTestCase
java.lang.Exception
TestCase.tearDown()
,
HibernateFactory.closeSession()
public void testGetByLabelInvalidUser()
public void testCreateDeleteRhnSet() throws java.lang.Exception
java.lang.Exception
- something bad happenedpublic void testCreateDeleteMultipleRhnSet()
public void testCreateRemoveRhnSet()
public void testStore() throws java.lang.Exception
java.lang.Exception
- something bad happenedpublic void testStoreElement3() throws java.lang.Exception
java.lang.Exception