Class TestEnvironment
- java.lang.Object
-
- edu.uiuc.ncsa.security.core.util.AbstractEnvironment
-
- edu.uiuc.ncsa.security.util.testing.TestEnvironment
-
- All Implemented Interfaces:
Logable
,Serializable
public class TestEnvironment extends AbstractEnvironment
An implementation ofAbstractEnvironment
solely for testing. Thjis can be used to test the environment class or as part of testing CLIs that need an environment.Created by Jeff Gaynor
on 4/21/16 at 1:54 PM- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.core.util.AbstractEnvironment
constants
-
-
Constructor Summary
Constructors Constructor Description TestEnvironment(TestData testData, MyLoggingFacade myLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List
getList(String key)
String
getString(String key)
TestData
getTestData()
boolean
hasValue(String key)
boolean
isEmpty()
boolean
isList(String key)
boolean
isString(String key)
void
setTestData(TestData testData)
-
Methods inherited from class edu.uiuc.ncsa.security.core.util.AbstractEnvironment
debug, error, getConstants, getMyLogger, info, isDebugOn, isPingable, setDebugOn, setPingable, warn
-
-
-
-
Constructor Detail
-
TestEnvironment
public TestEnvironment(TestData testData, MyLoggingFacade myLogger)
-
-