Class TestData
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,Object>
-
- edu.uiuc.ncsa.security.util.testing.TestData
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,Object>
public class TestData extends HashMap<String,Object>
Every test has data. This is a simple hashmap that contains it. Also included is whether the test has been disabled in the test or not. Each test should ideally check if the test is enabled and simply skip any test that is disabled.Created by Jeff Gaynor
on 9/6/14 at 2:07 PM- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static String
TEST_ENABLE_KEY
-
Constructor Summary
Constructors Constructor Description TestData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getList(String key)
String
getString(String key)
boolean
isEnabled()
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
-