public class TypeExtensionTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
CHECK_WL_EXP
/check/base.exp.
|
private static java.lang.String |
CONFIG_WL_TXT
/config/base.txt.
|
private ConfiguredPackage |
ConfigPack
The created configured package to test.
|
private Package |
pack
The created package to test.
|
private static TypeFileManager |
TYPEFILEMANAGER
/check/base.exp.
|
| Constructor and Description |
|---|
TypeExtensionTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
prepare()
Creates a "object-world" to test.
|
void |
rest()
Reset the TYPEFILEMANAGER for each test case.
|
static junit.framework.Test |
suite()
Necessary for "ant".
|
void |
test1()
tests the association typeExtensions from NamedVariableType to TypeExtension.
|
void |
test2()
tests the association inConditions from NamedVariableType to TypeExtensionWithCondition.
|
private ConfiguredPackage ConfigPack
private Package pack
private static final java.lang.String CONFIG_WL_TXT
private static final java.lang.String CHECK_WL_EXP
private static final TypeFileManager TYPEFILEMANAGER
public static junit.framework.Test suite()
public void prepare()
throws TypeDoesNotExistException,
TypeExceptions
TypeDoesNotExistException - If a referenced type does not exit (is thrown while resolving).TypeExceptions - ReferenceIsUnresolvedException or CyclicExceptionpublic void rest()
public void test1()
public void test2()
throws ReferenceIsUnresolvedException
ReferenceIsUnresolvedException - the ReferenceIsUnresolvedException;