Klasse PropertyAccessTest

java.lang.Object
org.apache.torque.generator.source.transform.model.PropertyAccessTest

public class PropertyAccessTest extends Object
Tests for the PropertyAccess class.
Version:
$Id: $
  • Konstruktordetails

    • PropertyAccessTest

      public PropertyAccessTest()
  • Methodendetails

    • setUp

      public void setUp()
    • testPropertyAccessTargetNull

      public void testPropertyAccessTargetNull() throws Exception
      Löst aus:
      Exception
    • testPropertyAccessPropertyNameNull

      public void testPropertyAccessPropertyNameNull() throws Exception
      Löst aus:
      Exception
    • testSetPropertyNotExistentField

      public void testSetPropertyNotExistentField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPrivateField

      public void testSetPropertyPrivateField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyProtectedField

      public void testSetPropertyProtectedField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyField

      public void testSetPropertyField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicField

      public void testSetPropertyPublicField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicFieldEndingWithS

      public void testSetPropertyPublicFieldEndingWithS() throws Exception
      Check whether a field ending with s can be accessed without the ending s.
      Löst aus:
      Exception - if the test fails.
    • testSetPropertyPublicFieldStartingWithUnderscore

      public void testSetPropertyPublicFieldStartingWithUnderscore() throws Exception
      Check whether a field starting with an underscore can be accessed without the underscore.
      Löst aus:
      Exception - if the test fails.
    • testAccessPublicFieldFromBaseClass

      public void testAccessPublicFieldFromBaseClass() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicFieldWrongClass

      public void testSetPropertyPublicFieldWrongClass() throws Exception
      Löst aus:
      Exception
    • testSetPropertyIntFieldNull

      public void testSetPropertyIntFieldNull() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringField

      public void testSetPropertyPublicStringField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringFieldNull

      public void testSetPropertyPublicStringFieldNull() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArrayField

      public void testSetPropertyPublicStringArrayField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArrayFieldAlreadyFilled

      public void testSetPropertyPublicStringArrayFieldAlreadyFilled() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArrayFieldNull

      public void testSetPropertyPublicStringArrayFieldNull() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArrayFieldArray

      public void testSetPropertyPublicStringArrayFieldArray() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringCollectionField

      public void testSetPropertyPublicStringCollectionField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringCollectionFieldAlreadyFilled

      public void testSetPropertyPublicStringCollectionFieldAlreadyFilled() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringCollectionFieldNull

      public void testSetPropertyPublicStringCollectionFieldNull() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringCollectionFieldCollection

      public void testSetPropertyPublicStringCollectionFieldCollection() throws Exception
      Checks that a collection field gets overwritten if it is set using a collection.
      Löst aus:
      Exception - if the test fails.
    • testSetPropertyPublicStringListField

      public void testSetPropertyPublicStringListField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringSetField

      public void testSetPropertyPublicStringSetField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringQueueField

      public void testSetPropertyPublicStringQueueField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringVectorField

      public void testSetPropertyPublicStringVectorField() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicBooleanFieldUsingConverter

      public void testSetPropertyPublicBooleanFieldUsingConverter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyOnlyGetter

      public void testSetPropertyOnlyGetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPrivateSetter

      public void testSetPropertyPrivateSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyProtectedSetter

      public void testSetPropertyProtectedSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertySetter

      public void testSetPropertySetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicSetter

      public void testSetPropertyPublicSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicSetterEndingWithS

      public void testSetPropertyPublicSetterEndingWithS() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicSetterFromBaseClass

      public void testSetPropertyPublicSetterFromBaseClass() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicSetterWrongClass

      public void testSetPropertyPublicSetterWrongClass() throws Exception
      Löst aus:
      Exception
    • testSetPropertyIntSetterNull

      public void testSetPropertyIntSetterNull() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringSetter

      public void testSetPropertyPublicStringSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringSetterNull

      public void testSetPropertyPublicStringSetterNull() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArraySetter

      public void testSetPropertyPublicStringArraySetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArraySetterAlreadyFilled

      public void testSetPropertyPublicStringArraySetterAlreadyFilled() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArraySetterNull

      public void testSetPropertyPublicStringArraySetterNull() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArraySetterArray

      public void testSetPropertyPublicStringArraySetterArray() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArraySetterWithoutGetter

      public void testSetPropertyPublicStringArraySetterWithoutGetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringArrayGetterWithoutSetter

      public void testSetPropertyPublicStringArrayGetterWithoutSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringCollectionSetter

      public void testSetPropertyPublicStringCollectionSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringCollectionSetterAlreadyFilled

      public void testSetPropertyPublicStringCollectionSetterAlreadyFilled() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringCollectionSetterNull

      public void testSetPropertyPublicStringCollectionSetterNull() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringCollectionSetterCollection

      public void testSetPropertyPublicStringCollectionSetterCollection() throws Exception
      Checks that a collection setter field gets overwritten if it is set using a collection.
      Löst aus:
      Exception - if the test fails.
    • testSetPropertyPublicStringListSetter

      public void testSetPropertyPublicStringListSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringSetSetter

      public void testSetPropertyPublicStringSetSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringQueueSetter

      public void testSetPropertyPublicStringQueueSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringVectorSetter

      public void testSetPropertyPublicStringVectorSetter() throws Exception
      Löst aus:
      Exception
    • testSetPropertyPublicStringCollectionOnlyGetter

      public void testSetPropertyPublicStringCollectionOnlyGetter() throws Exception
      Checks that a collection setter field gets overwritten if it is set using a collection.
      Löst aus:
      Exception - if the test fails.
    • testSetPropertyPublicStringCollectionOnlyGetterAlreadyFilled

      public void testSetPropertyPublicStringCollectionOnlyGetterAlreadyFilled() throws Exception
      Checks that a collection setter field gets overwritten if it is set using a collection.
      Löst aus:
      Exception - if the test fails.
    • testSetPropertyPublicBooleanSetterWithConverter

      public void testSetPropertyPublicBooleanSetterWithConverter() throws Exception
      Löst aus:
      Exception
    • testGetPropertyTypeNotExistentField

      public void testGetPropertyTypeNotExistentField() throws Exception
      Löst aus:
      Exception
    • testGetPropertyTypePrivateField

      public void testGetPropertyTypePrivateField() throws Exception
      Löst aus:
      Exception
    • testGetPropertyTypePublicIntField

      public void testGetPropertyTypePublicIntField() throws Exception
      Löst aus:
      Exception
    • testGetPropertyTypePublicStringField

      public void testGetPropertyTypePublicStringField() throws Exception
      Löst aus:
      Exception
    • testGetPropertyTypePublicIntSetter

      public void testGetPropertyTypePublicIntSetter() throws Exception
      Löst aus:
      Exception
    • testGetPropertyTypePublicStringSetter

      public void testGetPropertyTypePublicStringSetter() throws Exception
      Löst aus:
      Exception
    • testGetFirstGenericTypeArgumentNotExistentField

      public void testGetFirstGenericTypeArgumentNotExistentField() throws Exception
      Löst aus:
      Exception
    • testGetFirstGenericTypeArgumentPrivateField

      public void testGetFirstGenericTypeArgumentPrivateField() throws Exception
      Löst aus:
      Exception
    • testGetFirstGenericTypeArgumentPublicIntField

      public void testGetFirstGenericTypeArgumentPublicIntField() throws Exception
      Löst aus:
      Exception
    • testGetFirstGenericTypeArgumentPublicCollectionField

      public void testGetFirstGenericTypeArgumentPublicCollectionField() throws Exception
      Löst aus:
      Exception
    • testGetFirstGenericTypeArgumentPublicCollectionSetter

      public void testGetFirstGenericTypeArgumentPublicCollectionSetter() throws Exception
      Löst aus:
      Exception
    • testGetFirstGenericTypeArgumentPublicCollectionGetterWithoutSetter

      public void testGetFirstGenericTypeArgumentPublicCollectionGetterWithoutSetter() throws Exception
      Löst aus:
      Exception