Method |
Description |
|
setUp ( ) |
|
|
testCreateNonStandardEnvironment ( ) |
Tests creating a custom environment, and verifies that settings are properly retrieved. |
|
testCustomDetector ( ) |
Tests using a custom detector to get the current environment. |
|
testDetectionWithArrayMap ( ) |
Tests that environment names can be mapped to lists of host names, or a hostname-matching
regular expression. |
|
testDotPath ( ) |
|
|
testEnvironmentDetection ( ) |
Tests auto-detecting environment settings through a series of mock request classes. |
|
testModifyEnvironmentConfig ( ) |
Tests modifying environment configuration. |
|
testReadWriteWithDefaultEnvironment ( ) |
Tests calling get() and set() with true as the envrionment name, to automatically
select the current environment. |
|
testResetASpecificEnv ( ) |
|
|
testResetAll ( ) |
Tests resetting the Environment class to its default state. |
|
testSetAndGetCurrentEnvironment ( ) |
Tests setting and getting current environment, and that invalid environments cannot be
selected. |
|
testSetMultipleEnvironments ( ) |
Tests that a set of configuration keys can be assigned to multiple environments. |
|