public class VariableAssignmentTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private ConfiguredPackage |
cfgpkg
The created configured package to test.
|
private static java.lang.String |
CONFIG_WL_TXT
/config/base.txt.
|
private Package |
pack
The created package to test.
|
| Constructor and Description |
|---|
VariableAssignmentTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
equalsTest1()
Tests the overwritten hashcode method.
|
void |
equalsTest2()
Tests the overwritten hashcode method.
|
void |
equalsTest3()
Tests the overwritten hashcode method.
|
void |
hashTest1()
Tests the overwritten hashcode method.
|
void |
hashTest2()
Tests the overwritten hashcode method.
|
void |
hashTest3()
Tests the overwritten hashcode method.
|
void |
prepare()
Creates a "object-world" to test.
|
static junit.framework.Test |
suite()
Necessary for "ant".
|
void |
testCheckValueException01()
Tests setting a assignment with a illegal value.
|
void |
testCheckValueException02()
Tests setting a assignment with a illegal value.
|
void |
testCheckValueException04()
Tests setting a assignment with a illegal value.
|
void |
testCheckValueException05()
Tests setting a assignment with a illegal value.
|
void |
testCheckValueException06()
Tests setting a assignment with a illegal value.
|
void |
testCheckValueException07()
Tests setting a assignment with a illegal value.
|
void |
testCheckValueException08()
Tests setting a assignment with a illegal value.
|
void |
testCheckValueException09()
Tests setting a assignment with a illegal value.
|
void |
testCheckValuePositive01()
Tests setting a assignment with a legal value.
|
void |
testCheckValuePositive02()
Tests setting a assignment with a legal value.
|
void |
testCheckValuePositive04()
Tests setting a assignment with a legal value.
|
void |
testCheckValuePositive05()
Tests setting a assignment with a legal value.
|
void |
testCheckValuePositive06()
Tests setting a assignment with a legal value.
|
void |
testCheckValuePositive07()
Tests setting a assignment with a legal value.
|
void |
testCheckValuePositive08()
Tests setting a assignment with a legal value.
|
void |
testCheckValuePositive09()
Tests setting a assignment with a legal value.
|
void |
testCheckValuePositive10()
Tests setting a assignment with a legal value.
|
void |
testCheckValuePositive11()
Tests setting a assignment with a legal value.
|
void |
testGetValue() |
private ConfiguredPackage cfgpkg
private Package pack
private static final java.lang.String CONFIG_WL_TXT
public static junit.framework.Test suite()
public void prepare()
throws TypeDoesNotExistException,
TypeExceptions
TypeDoesNotExistException - if a type does not exist.TypeExceptions - ReferenceIsUnresolved or Cyclicpublic void hashTest1()
public void hashTest2()
public void hashTest3()
public void equalsTest1()
public void equalsTest2()
public void equalsTest3()
public void testCheckValuePositive01()
throws ValueNotInRangeOfTypeException,
java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
ValueNotInRangeOfTypeException - if the value would not be legal.java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValuePositive02()
throws ValueNotInRangeOfTypeException,
java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
ValueNotInRangeOfTypeException - if the value would not be legal.java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValuePositive04()
throws java.lang.IllegalArgumentException,
ValueNotInRangeOfTypeException,
TypeDoesNotExistException,
TypeExceptions
ValueNotInRangeOfTypeException - if the value is not legal.java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValuePositive05()
throws java.lang.IllegalArgumentException,
ValueNotInRangeOfTypeException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionValueNotInRangeOfTypeException - if the value is not legalTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValuePositive06()
throws java.lang.IllegalArgumentException,
ValueNotInRangeOfTypeException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionValueNotInRangeOfTypeException - if the value is not legalTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValuePositive07()
throws java.lang.IllegalArgumentException,
ValueNotInRangeOfTypeException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionValueNotInRangeOfTypeException - if the value is not legalTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValuePositive08()
throws java.lang.IllegalArgumentException,
ValueNotInRangeOfTypeException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionValueNotInRangeOfTypeException - if the value is not legalTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValuePositive09()
throws java.lang.IllegalArgumentException,
ValueNotInRangeOfTypeException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionValueNotInRangeOfTypeException - if the value is not legalTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValuePositive10()
throws java.lang.IllegalArgumentException,
ValueNotInRangeOfTypeException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionValueNotInRangeOfTypeException - if the value is not legalTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValuePositive11()
throws java.lang.IllegalArgumentException,
ValueNotInRangeOfTypeException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionValueNotInRangeOfTypeException - if the value is not legalTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValueException01()
throws java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValueException02()
throws java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValueException04()
throws java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValueException05()
throws java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.TypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValueException06()
throws java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValueException07()
throws java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValueException08()
throws java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testCheckValueException09()
throws java.lang.IllegalArgumentException,
TypeDoesNotExistException,
TypeExceptions
java.lang.IllegalArgumentException - see java.lang.IllegalArgumentExceptionTypeExceptions - the TypeExceptions.TypeDoesNotExistException - the TypeDoesNotExistException.public void testGetValue()