public class SQTestCase extends FlexibleSettings
BYTE_MISSING, DOUBLE_MISSING, FLOAT_MISSING, INT_MISSING, LONG_MISSING
Constructor and Description |
---|
SQTestCase(java.lang.String name)
Instantiates a new SQ test case.
|
Modifier and Type | Method and Description |
---|---|
void |
assertEquals(java.lang.String subcaseName,
double expected,
double actual)
Assert equals.
|
void |
assertEquals(java.lang.String subcaseName,
int expected,
int actual)
Assert equals.
|
java.lang.String |
getName()
Gets the name.
|
void |
outputError(java.lang.String text,
java.lang.String errorMessage)
Output error.
|
void |
outputNoTests(java.lang.String subcaseName)
Output no tests.
|
void |
processException(java.lang.String text,
java.lang.Exception e)
Process exception.
|
void |
setName(java.lang.String name)
Sets the name.
|
void |
setOutput(TestTable table)
Sets the output.
|
clearAll, clone, contains, get, get, getAll, getAllKeys, getBoolean, getBoolean, getByte, getByte, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getString, getString, hetKeyType, remove, set, set, setAll
public SQTestCase(java.lang.String name)
name
- the namepublic void assertEquals(java.lang.String subcaseName, int expected, int actual)
subcaseName
- the subcase nameexpected
- the expectedactual
- the actualpublic void assertEquals(java.lang.String subcaseName, double expected, double actual)
subcaseName
- the subcase nameexpected
- the expectedactual
- the actualpublic void setOutput(TestTable table)
table
- the new outputpublic java.lang.String getName()
public void processException(java.lang.String text, java.lang.Exception e)
text
- the texte
- the epublic void outputError(java.lang.String text, java.lang.String errorMessage)
text
- the texterrorMessage
- the error messagepublic void outputNoTests(java.lang.String subcaseName)
subcaseName
- the subcase namepublic void setName(java.lang.String name)
name
- the new name