public class ProfileTest extends RhnBaseTestCase
Constructor and Description |
---|
ProfileTest() |
Modifier and Type | Method and Description |
---|---|
static Profile |
createTestProfile(User user,
Channel channel)
Helper method to create a Profile for testing purposes
|
static Profile |
lookupByIdAndOrg(java.lang.Long id,
Org org)
Helper method to get a Profile by id
|
static void |
testCompatibleServer() |
void |
testProfileEquals()
Test the Equals method of Profile
|
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, createDirIfNotExists, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reload, setUp, 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 testProfileEquals() throws java.lang.Exception
java.lang.Exception
- something bad happenedpublic static Profile lookupByIdAndOrg(java.lang.Long id, Org org) throws java.lang.Exception
id
- The profile idorg
- The org for this profile.java.lang.Exception
- something bad happenedpublic static Profile createTestProfile(User user, Channel channel) throws java.lang.Exception
user
- the userchannel
- the channeljava.lang.Exception
- something bad happenedpublic static void testCompatibleServer() throws java.lang.Exception
java.lang.Exception