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, reloadassertEquals, 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, toStringprotected void setUp()
throws java.lang.Exception
RhnBaseTestCasesetUp in class RhnBaseTestCasejava.lang.Exception - if an error occurs during setup.protected void tearDown()
throws java.lang.Exception
RhnBaseTestCasetearDown in class RhnBaseTestCasejava.lang.ExceptionTestCase.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