|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.andromda.translation.ocl.testsuite.TranslationTestDiscoverer
public class TranslationTestDiscoverer
Finds all translation tests from the current base directory up.
| Constructor Summary | |
|---|---|
TranslationTestDiscoverer()
|
|
| Method Summary | |
|---|---|
void |
discoverTests(String directory)
This method discovers all translation tests within the given directory. |
TranslationTest |
getTest(String translation)
Returns the TranslationTest for the given translation (if one can be found), otherwise returns
null. |
Map<String,TranslationTest> |
getTests()
Returns the discovered translation tests keyed by translation |
static TranslationTestDiscoverer |
instance()
Gets the shared instance of this TranslationTestDiscoverer. |
void |
shutdown()
Shuts down this instance and releases any resources. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TranslationTestDiscoverer()
| Method Detail |
|---|
public static TranslationTestDiscoverer instance()
public void discoverTests(String directory)
directory.
directory - public TranslationTest getTest(String translation)
translation (if one can be found), otherwise returns
null.
translation - the name of the translation
public Map<String,TranslationTest> getTests()
translation.
- Returns:
- translationTests
public void shutdown()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||