public class KickstartActivationKeysTest extends BaseKickstartCommandTestCase
ksdatauser| 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() |
setUpcommitHappened, tearDownassertContains, 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, toStringpublic void testActivationKeysForKickstart()
throws java.lang.Exception
java.lang.Exceptionpublic void testKickstartActivationKeysCommand()
throws java.lang.Exception
java.lang.Exceptionpublic 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.