public class EnvironmentUtilTest extends junit.framework.TestCase
| Constructor and Description |
|---|
EnvironmentUtilTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCaseInsensitiveVariableLookup()
Accessing environment variables is case-sensitive or not depending
on the operating system but the values of the environment variable
are always case-sensitive.
|
void |
testGetProcEnvironment()
Test to access the environment variables of the current
process.
|
void |
testGetProcEnvironmentCaseInsensitiveLookup()
On Windows platforms test that accessing environment variables
can be done in a case-insensitive way, e.g.
|
void |
testToStrings()
Tests the behaviour of the EnvironmentUtils.toStrings()
when using a
null environment. |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringassertEquals, 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, fail, failpublic EnvironmentUtilTest()
public void testToStrings()
null environment.public void testGetProcEnvironment() throws IOException
IOException - the test failedpublic void testGetProcEnvironmentCaseInsensitiveLookup() throws IOException
IOException - the test failedpublic void testCaseInsensitiveVariableLookup() throws Exception
Exception - the test failedCopyright © 2013 The Apache Software Foundation. All Rights Reserved.