public class ModelTests
extends java.lang.Object
Red (cxh) |
Red (cxh) |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.Class<?> |
_applicationClass
The application class.
|
protected static java.lang.reflect.Constructor |
_applicationConstructor
The application constructor.
|
protected static java.lang.String |
THERE_ARE_NO_AUTO_TESTS
A special string that is passed when there are no known failed tests.
|
protected static java.lang.String |
THERE_ARE_NO_KNOWN_FAILED_TESTS
A special string that is passed when there are no known failed tests.
|
Constructor and Description |
---|
ModelTests() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
modelValues()
Return a two dimensional array of arrays of strings that name the model
to be executed.
|
java.lang.Object[] |
modelValues(java.lang.String directory,
java.lang.String message)
Return a two dimensional array of arrays of strings that name the model
to be executed.
|
protected static java.lang.Class<?> _applicationClass
protected static java.lang.reflect.Constructor _applicationConstructor
protected static final java.lang.String THERE_ARE_NO_AUTO_TESTS
protected static final java.lang.String THERE_ARE_NO_KNOWN_FAILED_TESTS
public java.lang.Object[] modelValues() throws java.io.IOException
java.io.IOException
- If there is a problem accessing the auto/ directory.public java.lang.Object[] modelValues(java.lang.String directory, java.lang.String message) throws java.io.IOException
directory
- The directory, which is usually either "auto/" or
"auto/knownFailedTests/".message
- The message to use if the directory contains no
*.xml or *.moml files.java.io.IOException
- If there is a problem accessing the directory.