public class ConfigTest extends RhnBaseTestCase
| Constructor and Description | 
|---|
| ConfigTest() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | setUp()Called once per test method. | 
| void | testBug154517IgnoreRpmsave() | 
| void | testCollision()Tests a property with the same name defined in
 more than one conf file with different prefixes. | 
| void | testDefaultValueQuoteQuote()Before implementing the code behind this test if a config entry had this:
 web.some_configvalue =
 you would get back "" | 
| void | testForNull() | 
| void | testGetBoolean()define a boolean value in rhn_prefix.conf, call getBoolean. | 
| void | testGetByPropertyNameOnly()define a value in rhn_web.conf with a prefix, call get using only the
 property name. | 
| void | testGetFullyQualified()define a value in rhn_web.conf with a prefix, call get using the
 fully qualified property name. | 
| void | testGetInt()define an integer value in rhN_prefix.conf, call getInt. | 
| void | testGetInteger() | 
| void | testGetIntWithDefault() | 
| void | testGetStringArray1Elem() | 
| void | testGetStringArrayMultElem()define comma separated value in rhn_prefix.conf,
 call using StringArrayElem, verify all values are in array. | 
| void | testGetStringArrayNull() | 
| void | testGetStringArrayWhitespace() | 
| void | testGetUndefinedBoolean() | 
| void | testGetUndefinedInt() | 
| void | testGetUndefinedString() | 
| void | testNamespaceProperties() | 
| void | testNewValue() | 
| void | testOverride()property defined fully qualifed in rhn_web.conf,
 overridden without prefix in rhn.conf,
 Accessed fully qualified. | 
| void | testOverride1()property defined fully qualifed in rhn_web.conf,
 overridden without prefix in rhn.conf,
 Accessed by property name only. | 
| void | testOverride2()property defined fully qualifed in rhn_web.conf
 overridden fully qualfied in rhn.conf. | 
| void | testOverride3()property defined fully qualifed in rhn_web.conf
 overridden fully qualfied in rhn.conf. | 
| void | testOverride4()property defined without a prefix in rhn_web.conf
 overridden fully qualfied in rhn.conf. | 
| void | testOverride5()property defined without a prefix in rhn_web.conf
 overridden without a prefix in rhn.conf. | 
| void | testPrefixOrder()Tests a property with the same name defined in
 more than one conf file with different prefixes. | 
| void | testSetBoolean() | 
| void | testSetString() | 
| void | testUnprefixedProperty()property defined in conf file whose prefix is not a member
 of the prefix order. | 
assertContains, assertContains, assertContains, assertNotBefore, assertNotBefore, assertNotEmpty, assertNotEmpty, assertPropertyEquals, clearSession, commitAndCloseSession, createDirIfNotExists, disableLocalizationServiceLogging, enableLocalizationServiceLogging, flushAndEvict, getNow, reload, reload, tearDownassertEquals, 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 setUp()
           throws java.lang.Exception
RhnBaseTestCasesetUp in class RhnBaseTestCasejava.lang.Exception - if an error occurs during setup.public void testGetFullyQualified()
public void testGetByPropertyNameOnly()
public void testOverride()
                  throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testOverride1()
                   throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testOverride2()
                   throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testOverride3()
                   throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testOverride4()
public void testOverride5()
public void testCollision()
public void testPrefixOrder()
public void testGetStringArray1Elem()
                             throws java.lang.Exception
java.lang.Exceptionpublic void testGetStringArrayNull()
                            throws java.lang.Exception
java.lang.Exceptionpublic void testGetBoolean()
                    throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testGetIntWithDefault()
public void testGetInt()
                throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testGetInteger()
                    throws java.lang.Exception
java.lang.Exceptionpublic void testGetStringArrayMultElem()
                                throws java.lang.Exception
java.lang.Exception - something bad happenedpublic void testGetStringArrayWhitespace()
public void testSetBoolean()
                    throws java.lang.Exception
java.lang.Exceptionpublic void testSetString()
                   throws java.lang.Exception
java.lang.Exceptionpublic void testGetUndefinedInt()
                         throws java.lang.Exception
java.lang.Exceptionpublic void testGetUndefinedString()
public void testNewValue()
public void testGetUndefinedBoolean()
public void testUnprefixedProperty()
public void testNamespaceProperties()
                             throws java.lang.Exception
java.lang.Exceptionpublic void testBug154517IgnoreRpmsave()
public void testDefaultValueQuoteQuote()
public void testForNull()