|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.andromda.translation.ocl.testsuite.TranslationTest
public class TranslationTest
Represents a TranslatorTest object loaded and executed by the ExpressionTranslatorTest object.
| Constructor Summary | |
|---|---|
TranslationTest()
|
|
| Method Summary | |
|---|---|
void |
addExpression(ExpressionTest config)
Adds an ExpressionTest to this TranslationTest. |
Map<String,ExpressionTest> |
getExpressionConfigs()
Returns all the ExpressionTest objects in a Map keyed by the from element body. |
String |
getTranslation()
Returns the name of the translator, for which this TranslationTest will be used to test. |
URL |
getUri()
Gets the URI for the test which this TranslationTest was loaded from. |
void |
setTranslation(String translation)
Sets the name of the translator for which this TranslationTest will be used to test. |
protected void |
setUri(URL uri)
Sets the URI for the test which this TranslationTest was loaded from. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TranslationTest()
| Method Detail |
|---|
public void setTranslation(String translation)
translation - the name the translation to test.public String getTranslation()
public void addExpression(ExpressionTest config)
config - a ExpressionTest instance.public Map<String,ExpressionTest> getExpressionConfigs()
public URL getUri()
protected void setUri(URL uri)
uri - The uri to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||