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, tearDown
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
public void setUp() throws java.lang.Exception
RhnBaseTestCase
setUp
in class RhnBaseTestCase
java.lang.Exception
- if an error occurs during setup.public void testUpdateList() throws java.lang.Exception
java.lang.Exception
public void testUpdateListPipe() throws java.lang.Exception
java.lang.Exception
public void testUnselectAll() throws java.lang.Exception
java.lang.Exception
public void testSelectAllBadDataType() throws java.lang.Exception
java.lang.Exception
public void testSelectAll() throws java.lang.Exception
java.lang.Exception
public void testFilter() throws java.lang.Exception
java.lang.Exception
public void testUnspecified() throws java.lang.Exception
java.lang.Exception
public static void verifyRhnSetData(User user, RhnSetDecl decl, int size) throws org.hibernate.HibernateException, java.sql.SQLException
org.hibernate.HibernateException
java.sql.SQLException
public static void verifyRhnSetData(java.lang.Long uid, java.lang.String setname, int size) throws org.hibernate.HibernateException, java.sql.SQLException
org.hibernate.HibernateException
java.sql.SQLException