public class TestSettingsTest extends Object
Constructor and Description |
---|
TestSettingsTest() |
Modifier and Type | Method and Description |
---|---|
void |
cleanUp() |
void |
clearSetSystemProperties() |
void |
setUp()
Need this one to clean up set system properties that will interfere
with how the tests should behave.
|
void |
testBadFilenameExceptionHandling() |
void |
testBadParameterCombinationHandling() |
void |
testContextSafetyOnError()
this test should fail to load any test configurations into the configuration,
and also hide the value of D1Client.CN_URL (that contains the production value)
|
void |
testLoadingCommonConfigurations() |
void |
testLoadingContextSpecificByCN_URL() |
void |
testLoadingContextSpecificByLabel()
Test lookup from default properties file
|
void |
testLoadingContextSpecificByMN_URL() |
void |
testLoadingContextSpecificByNodelistUri() |
void |
testOptionalFile_overrides_fullPath() |
void |
testOptionalFile_overrides()
Include an optional properties file using System property:
|
void |
testResetConfiguration()
Test that these unit tests can get to a fresh state using the @Before method
and Settings.getResetConfiguration().
|
public void setUp()
public void clearSetSystemProperties()
public void cleanUp()
public void testResetConfiguration()
public void testLoadingCommonConfigurations()
public void testLoadingContextSpecificByLabel()
public void testLoadingContextSpecificByMN_URL()
public void testLoadingContextSpecificByCN_URL()
public void testLoadingContextSpecificByNodelistUri()
public void testOptionalFile_overrides()
public void testOptionalFile_overrides_fullPath()
public void testBadParameterCombinationHandling()
public void testBadFilenameExceptionHandling()
public void testContextSafetyOnError()
Copyright © 2020. All Rights Reserved.