12 Replies Latest reply on Mar 20, 2008 6:07 PM by Ales Justin

    Field injection tests

    Ales Justin Master

      OK, I've pretty much ran out of ideas what else to test with field injection.

      This are the following things that I've done:

      Reflection

      1) Nested bean property/field usage
      - BeanInfoUtilTestCase

      2) Running over all modes
      - BeanInfoUnitTestCase

      3) Access restriction
      - AccessRestrictionTestCase (needs fixing :-))

      Kernel

      1) BeanAccessMode introduciton
      - Bean(Factory)TestCase::testBean(Factory)WithAccessMode

      2) Field dependency via property injection
      - PropertyFieldDependency(2)TestCase
      - GenericBeanFactoryFieldPropertyDependency(2)TestCase

      3 ) Field callbacks
      - CallbackCollectionFields(2)TestCase

      4) Basic field annotation support
      - BasicFieldAnnotationSupportTestCase
      - SimpleFieldTestCase

      5) Field access restriction
      - FieldAccessTestCase

      6) AOP + field injection
      - FieldAccessTestCase (in AOP-MC-int)

      7) Preinstantiated collections and fields
      - PreInstantiatedFields(XML)TestCase

      If you have any other ideas - which I'm sure you have - let me know. ;-)