public class KickstartActivationKeysTest extends BaseKickstartCommandTestCase
ksdata
user
Constructor and Description |
---|
KickstartActivationKeysTest() |
Modifier and Type | Method and Description |
---|---|
void |
checkTokens(KickstartActivationKeysCommand command,
java.util.ArrayList tokensAdd,
java.util.ArrayList tokensRemove,
int expectedCount)
Adds and removes tokens, then saves the kickstart profile,
loads it again, and compares what comes out with the 'expected'
value.
|
void |
testActivationKeysForKickstart() |
void |
testKickstartActivationKeysCommand() |
setUp
commitHappened, tearDown
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
public void testActivationKeysForKickstart() throws java.lang.Exception
java.lang.Exception
public void testKickstartActivationKeysCommand() throws java.lang.Exception
java.lang.Exception
public void checkTokens(KickstartActivationKeysCommand command, java.util.ArrayList tokensAdd, java.util.ArrayList tokensRemove, int expectedCount)
command
- The KickstartActivationKeysCommand with the ksdata inside it.tokensAdd
- The tokens to add to the kickstart profile. (can be null)tokensRemove
- The tokens to remove from the kickstart profile. (can be null)expectedCount
- The number of tokens we expect to have
after adding, then removing.