|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.nodes.expectation.ExpectationModelConstants
public class ExpectationModelConstants
A Class defining constants for use in editing Mock Object method expectation data.
| Field Summary | |
|---|---|
static java.lang.String |
EXPECT_RETURN
String constant corresponding to a value in a JDOM Element
that defines a Mock Object method expectation type. |
static java.lang.String |
EXPECT_THROW
String constant corresponding to a value in a JDOM Element
that defines a Mock Object method expectation type. |
static java.lang.String |
MATCH_RETURN
String constant corresponding to a value in a JDOM Element
that defines a Mock Object method expectation type. |
static java.lang.String |
MATCH_THROW
String constant corresponding to a value in a JDOM Element
that defines a Mock Object method expectation type. |
| Constructor Summary | |
|---|---|
ExpectationModelConstants()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getMethodType(java.lang.String methodTypeOption)
Returns a String value used to construct the JDOM Element
entry for the Mock Object method type, based on the parameter. |
static java.lang.String |
getMethodTypeLabel(java.lang.String methodType)
Returns the label to be used by view components to display a Mock Object method type option, based on the parameter. |
static java.util.ArrayList<java.lang.String> |
getMethodTypeLabels()
Return the list of labels to be used by view components to display all available Mock Object method type options. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String MATCH_RETURN
Element
that defines a Mock Object method expectation type.
public static final java.lang.String MATCH_THROW
Element
that defines a Mock Object method expectation type.
public static final java.lang.String EXPECT_RETURN
Element
that defines a Mock Object method expectation type.
public static final java.lang.String EXPECT_THROW
Element
that defines a Mock Object method expectation type.
| Constructor Detail |
|---|
public ExpectationModelConstants()
| Method Detail |
|---|
public static java.util.ArrayList<java.lang.String> getMethodTypeLabels()
public static java.lang.String getMethodTypeLabel(java.lang.String methodType)
methodType - the value indicating the Mock Object method type.
public static java.lang.String getMethodType(java.lang.String methodTypeOption)
Element
entry for the Mock Object method type, based on the parameter.
methodTypeOption - the selected method type option.
Element
entry for the Mock Object method type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||