public class ConfigurationManagerTest extends RhnBaseTestCase
Constructor and Description |
---|
ConfigurationManagerTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
setUp()
Called once per test method.
|
protected void |
tearDown()
Tears down the fixture, and closes the HibernateSession.
|
void |
testAvailableChannels() |
void |
testChannelAccess() |
void |
testChannelSubscriptions() |
void |
testCopyFile() |
void |
testCountCentrallyDeployableFiles()
1) Create a central config channel (A) add a bunch of files & dirs
2) Call ConfigurationManager.countCentrallyDeployableFiles and verify
that we have the correct answer
3) Create a Local channel and add One file
duplicate of a file in Channel (A) ...
|
void |
testCountCentrallyManagedFiles()
1) Create a central config channel (A) add a bunch of files & dirs
2) Call ConfigurationManager.countCentrallyManagedFiles and verify
that we have the correct answer
3) Create a new channel and add ONE file thats new and One file
duplicate of a file in Channel (A) ...
|
void |
testCountLocallyManagedFiles()
Counts the number of locally managed files...
|
void |
testDeployConfiguration() |
void |
testDeployFiles() |
void |
testFilesNotInChannel() |
void |
testGetLocalDeploysTo() |
void |
testGetOverviewSummary() |
void |
testGetRecentlyModifiedConfigFiles() |
void |
testGlobalFileDeployInfo() |
void |
testListCurrentFiles() |
void |
testListGlobalChannels() |
void |
testListGlobalChannelsForActivationKeys() |
void |
testListGlobalChannelsForSDC() |
void |
testListGlobalConfigFiles() |
void |
testListLocalConfigFiles() |
void |
testListManagedFilePaths() |
void |
testListManagedSystemsAndFiles() |
void |
testListSystemInfoForChannel() |
void |
testListSystemsForFileCopy() |
void |
testListSystemsNotInChannel() |
void |
testSandboxManagedFilePaths() |
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
protected void setUp() throws java.lang.Exception
RhnBaseTestCase
setUp
in class RhnBaseTestCase
java.lang.Exception
- if an error occurs during setup.protected void tearDown() throws java.lang.Exception
RhnBaseTestCase
tearDown
in class RhnBaseTestCase
java.lang.Exception
TestCase.tearDown()
,
HibernateFactory.closeSession()
public void testListSystemsForFileCopy() throws java.lang.Exception
java.lang.Exception
public void testListCurrentFiles() throws java.lang.Exception
java.lang.Exception
public void testGlobalFileDeployInfo() throws java.lang.Exception
java.lang.Exception
public void testListGlobalChannels() throws java.lang.Exception
java.lang.Exception
public void testListGlobalChannelsForSDC() throws java.lang.Exception
java.lang.Exception
public void testListGlobalChannelsForActivationKeys() throws java.lang.Exception
java.lang.Exception
public void testListManagedSystemsAndFiles() throws java.lang.Exception
java.lang.Exception
public void testListGlobalConfigFiles() throws java.lang.Exception
java.lang.Exception
public void testListLocalConfigFiles() throws java.lang.Exception
java.lang.Exception
public void testGetRecentlyModifiedConfigFiles() throws java.lang.Exception
java.lang.Exception
public void testGetOverviewSummary() throws java.lang.Exception
java.lang.Exception
public void testAvailableChannels() throws java.lang.Exception
java.lang.Exception
- something bad happenedpublic void testCountCentrallyManagedFiles() throws java.lang.Exception
java.lang.Exception
- under exceptional circumstancespublic void testCountCentrallyDeployableFiles() throws java.lang.Exception
java.lang.Exception
- under exceptional circumstancespublic void testCountLocallyManagedFiles() throws java.lang.Exception
java.lang.Exception
- if channel/server creation failspublic void testGetLocalDeploysTo() throws java.lang.Exception
java.lang.Exception
public void testListSystemInfoForChannel() throws java.lang.Exception
java.lang.Exception
public void testChannelSubscriptions() throws java.lang.Exception
java.lang.Exception
public void testFilesNotInChannel() throws java.lang.Exception
java.lang.Exception
public void testListSystemsNotInChannel() throws java.lang.Exception
java.lang.Exception
public void testDeployConfiguration() throws java.lang.Exception
java.lang.Exception
public void testDeployFiles() throws java.lang.Exception
java.lang.Exception
public void testListManagedFilePaths() throws java.lang.Exception
java.lang.Exception
public void testSandboxManagedFilePaths() throws java.lang.Exception
java.lang.Exception
public void testCopyFile() throws java.lang.Exception
java.lang.Exception
public void testChannelAccess() throws java.lang.Exception
java.lang.Exception