Klasse PropertyAccessTest
java.lang.Object
org.apache.torque.generator.source.transform.model.PropertyAccessTest
Tests for the PropertyAccess class.
- Version:
- $Id: $
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classstatic class -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidsetUp()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidCheck whether a field ending with s can be accessed without the ending s.voidCheck whether a field starting with an underscore can be accessed without the underscore.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidChecks that a collection field gets overwritten if it is set using a collection.voidvoidChecks that a collection setter field gets overwritten if it is set using a collection.voidChecks that a collection setter field gets overwritten if it is set using a collection.voidvoidvoidChecks that a collection setter field gets overwritten if it is set using a collection.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoid
-
Konstruktordetails
-
PropertyAccessTest
public PropertyAccessTest()
-
-
Methodendetails
-
setUp
public void setUp() -
testPropertyAccessTargetNull
- Löst aus:
Exception
-
testPropertyAccessPropertyNameNull
- Löst aus:
Exception
-
testSetPropertyNotExistentField
- Löst aus:
Exception
-
testSetPropertyPrivateField
- Löst aus:
Exception
-
testSetPropertyProtectedField
- Löst aus:
Exception
-
testSetPropertyField
- Löst aus:
Exception
-
testSetPropertyPublicField
- Löst aus:
Exception
-
testSetPropertyPublicFieldEndingWithS
Check whether a field ending with s can be accessed without the ending s.- Löst aus:
Exception- if the test fails.
-
testSetPropertyPublicFieldStartingWithUnderscore
Check whether a field starting with an underscore can be accessed without the underscore.- Löst aus:
Exception- if the test fails.
-
testAccessPublicFieldFromBaseClass
- Löst aus:
Exception
-
testSetPropertyPublicFieldWrongClass
- Löst aus:
Exception
-
testSetPropertyIntFieldNull
- Löst aus:
Exception
-
testSetPropertyPublicStringField
- Löst aus:
Exception
-
testSetPropertyPublicStringFieldNull
- Löst aus:
Exception
-
testSetPropertyPublicStringArrayField
- Löst aus:
Exception
-
testSetPropertyPublicStringArrayFieldAlreadyFilled
- Löst aus:
Exception
-
testSetPropertyPublicStringArrayFieldNull
- Löst aus:
Exception
-
testSetPropertyPublicStringArrayFieldArray
- Löst aus:
Exception
-
testSetPropertyPublicStringCollectionField
- Löst aus:
Exception
-
testSetPropertyPublicStringCollectionFieldAlreadyFilled
- Löst aus:
Exception
-
testSetPropertyPublicStringCollectionFieldNull
- Löst aus:
Exception
-
testSetPropertyPublicStringCollectionFieldCollection
Checks that a collection field gets overwritten if it is set using a collection.- Löst aus:
Exception- if the test fails.
-
testSetPropertyPublicStringListField
- Löst aus:
Exception
-
testSetPropertyPublicStringSetField
- Löst aus:
Exception
-
testSetPropertyPublicStringQueueField
- Löst aus:
Exception
-
testSetPropertyPublicStringVectorField
- Löst aus:
Exception
-
testSetPropertyPublicBooleanFieldUsingConverter
- Löst aus:
Exception
-
testSetPropertyOnlyGetter
- Löst aus:
Exception
-
testSetPropertyPrivateSetter
- Löst aus:
Exception
-
testSetPropertyProtectedSetter
- Löst aus:
Exception
-
testSetPropertySetter
- Löst aus:
Exception
-
testSetPropertyPublicSetter
- Löst aus:
Exception
-
testSetPropertyPublicSetterEndingWithS
- Löst aus:
Exception
-
testSetPropertyPublicSetterFromBaseClass
- Löst aus:
Exception
-
testSetPropertyPublicSetterWrongClass
- Löst aus:
Exception
-
testSetPropertyIntSetterNull
- Löst aus:
Exception
-
testSetPropertyPublicStringSetter
- Löst aus:
Exception
-
testSetPropertyPublicStringSetterNull
- Löst aus:
Exception
-
testSetPropertyPublicStringArraySetter
- Löst aus:
Exception
-
testSetPropertyPublicStringArraySetterAlreadyFilled
- Löst aus:
Exception
-
testSetPropertyPublicStringArraySetterNull
- Löst aus:
Exception
-
testSetPropertyPublicStringArraySetterArray
- Löst aus:
Exception
-
testSetPropertyPublicStringArraySetterWithoutGetter
- Löst aus:
Exception
-
testSetPropertyPublicStringArrayGetterWithoutSetter
- Löst aus:
Exception
-
testSetPropertyPublicStringCollectionSetter
- Löst aus:
Exception
-
testSetPropertyPublicStringCollectionSetterAlreadyFilled
- Löst aus:
Exception
-
testSetPropertyPublicStringCollectionSetterNull
- Löst aus:
Exception
-
testSetPropertyPublicStringCollectionSetterCollection
Checks that a collection setter field gets overwritten if it is set using a collection.- Löst aus:
Exception- if the test fails.
-
testSetPropertyPublicStringListSetter
- Löst aus:
Exception
-
testSetPropertyPublicStringSetSetter
- Löst aus:
Exception
-
testSetPropertyPublicStringQueueSetter
- Löst aus:
Exception
-
testSetPropertyPublicStringVectorSetter
- Löst aus:
Exception
-
testSetPropertyPublicStringCollectionOnlyGetter
Checks that a collection setter field gets overwritten if it is set using a collection.- Löst aus:
Exception- if the test fails.
-
testSetPropertyPublicStringCollectionOnlyGetterAlreadyFilled
Checks that a collection setter field gets overwritten if it is set using a collection.- Löst aus:
Exception- if the test fails.
-
testSetPropertyPublicBooleanSetterWithConverter
- Löst aus:
Exception
-
testGetPropertyTypeNotExistentField
- Löst aus:
Exception
-
testGetPropertyTypePrivateField
- Löst aus:
Exception
-
testGetPropertyTypePublicIntField
- Löst aus:
Exception
-
testGetPropertyTypePublicStringField
- Löst aus:
Exception
-
testGetPropertyTypePublicIntSetter
- Löst aus:
Exception
-
testGetPropertyTypePublicStringSetter
- Löst aus:
Exception
-
testGetFirstGenericTypeArgumentNotExistentField
- Löst aus:
Exception
-
testGetFirstGenericTypeArgumentPrivateField
- Löst aus:
Exception
-
testGetFirstGenericTypeArgumentPublicIntField
- Löst aus:
Exception
-
testGetFirstGenericTypeArgumentPublicCollectionField
- Löst aus:
Exception
-
testGetFirstGenericTypeArgumentPublicCollectionSetter
- Löst aus:
Exception
-
testGetFirstGenericTypeArgumentPublicCollectionGetterWithoutSetter
- Löst aus:
Exception
-