|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Test that provides access to configuration parameters.
Method Summary | |
boolean |
getBoolean(java.lang.String key)
Retrieves boolean number from configuration. |
byte |
getByte(java.lang.String key)
Retrieves byte from configuration. |
char |
getChar(java.lang.String key)
Retrieves character from configuration. |
double |
getDouble(java.lang.String key)
Retrieves double number from configuration. |
float |
getFloat(java.lang.String key)
Retrieves float number from configuration. |
int |
getInteger(java.lang.String key)
Retrieves integer number from configuration. |
long |
getLong(java.lang.String key)
Retrieves long number from configuration. |
short |
getShort(java.lang.String key)
Retrieves short number from configuration. |
java.lang.String |
getString(java.lang.String key)
Retrieves string from configuration. |
java.lang.String[] |
getStrings(java.lang.String key)
Retrieves array of strings from configuration. |
Methods inherited from interface junit.framework.Test |
countTestCases, run |
Method Detail |
public boolean getBoolean(java.lang.String key) throws java.lang.IllegalArgumentException
key
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.public byte getByte(java.lang.String key) throws java.lang.IllegalArgumentException
key
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.public char getChar(java.lang.String key) throws java.lang.IllegalArgumentException
key
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.public double getDouble(java.lang.String key) throws java.lang.IllegalArgumentException
key
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.public float getFloat(java.lang.String key) throws java.lang.IllegalArgumentException
name
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.public int getInteger(java.lang.String key) throws java.lang.IllegalArgumentException
key
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.public long getLong(java.lang.String key) throws java.lang.IllegalArgumentException
key
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.public short getShort(java.lang.String key) throws java.lang.IllegalArgumentException
key
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.public java.lang.String getString(java.lang.String key) throws java.lang.IllegalArgumentException
key
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.public java.lang.String[] getStrings(java.lang.String key) throws java.lang.IllegalArgumentException
key
- Configuration parameter name.java.lang.IllegalArgumentException
- Parameter was not found or can't be retrieved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |