public class CobblerDistroEditCommandTest extends CobblerCommandTestBase
ksdata
user
Constructor and Description |
---|
CobblerDistroEditCommandTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Called once per test method.
|
void |
testDistroEdit()
Tests whether cobbler Distro can be successfully edited.
|
void |
testParaDistroEditIdStaysSameOnEdit()
Verify that the cobbler xen id stays same after
CobblerDistroEditCommand.store when xen distro already exists.
|
void |
testParaDistroRecreateXenDistroOnEdit()
Tests the recreation logic of the CobblerDistroEditCommand.
|
void |
testParaDistroXenDistroRemovedOnEdit()
Tests the removing logic of the CobblerDistroEditCommand.
|
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 setUp() throws java.lang.Exception
setUp
in class CobblerCommandTestBase
java.lang.Exception
- if anything goes wrongpublic void testDistroEdit() throws java.lang.Exception
java.lang.Exception
- if anything goes wrongpublic void testParaDistroRecreateXenDistroOnEdit() throws java.lang.Exception
java.lang.Exception
- if anything goes wrongpublic void testParaDistroXenDistroRemovedOnEdit() throws java.lang.Exception
java.lang.Exception
- if anything goes wrongpublic void testParaDistroEditIdStaysSameOnEdit() throws java.lang.Exception
java.lang.Exception
- if anything goes wrong