public class RhnSetActionTest extends RhnBaseTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
RhnSetActionTest.TestAction |
static class |
RhnSetActionTest.TestActionWithData |
class |
RhnSetActionTest.TestIdObject |
| Constructor and Description |
|---|
RhnSetActionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Called once per test method.
|
void |
testFilter() |
void |
testSelectAll() |
void |
testSelectAllBadDataType() |
void |
testUnselectAll() |
void |
testUnspecified() |
void |
testUpdateList() |
void |
testUpdateListPipe() |
static void |
verifyRhnSetData(java.lang.Long uid,
java.lang.String setname,
int size) |
static void |
verifyRhnSetData(User user,
RhnSetDecl decl,
int size) |
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, createDirIfNotExists, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reload, tearDownassertEquals, 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, toStringpublic void setUp()
throws java.lang.Exception
RhnBaseTestCasesetUp in class RhnBaseTestCasejava.lang.Exception - if an error occurs during setup.public void testUpdateList()
throws java.lang.Exception
java.lang.Exceptionpublic void testUpdateListPipe()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnselectAll()
throws java.lang.Exception
java.lang.Exceptionpublic void testSelectAllBadDataType()
throws java.lang.Exception
java.lang.Exceptionpublic void testSelectAll()
throws java.lang.Exception
java.lang.Exceptionpublic void testFilter()
throws java.lang.Exception
java.lang.Exceptionpublic void testUnspecified()
throws java.lang.Exception
java.lang.Exceptionpublic static void verifyRhnSetData(User user, RhnSetDecl decl, int size) throws org.hibernate.HibernateException, java.sql.SQLException
org.hibernate.HibernateExceptionjava.sql.SQLExceptionpublic static void verifyRhnSetData(java.lang.Long uid,
java.lang.String setname,
int size)
throws org.hibernate.HibernateException,
java.sql.SQLException
org.hibernate.HibernateExceptionjava.sql.SQLException