You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Christophe Lombart (JIRA)" <ji...@apache.org> on 2007/06/16 10:10:26 UTC

[jira] Resolved: (JCR-921) Add more unit tests on BeanConverters

     [ https://issues.apache.org/jira/browse/JCR-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Lombart resolved JCR-921.
------------------------------------

    Resolution: Fixed

Done. I added more unit test for null values

> Add more unit tests on BeanConverters
> -------------------------------------
>
>                 Key: JCR-921
>                 URL: https://issues.apache.org/jira/browse/JCR-921
>             Project: Jackrabbit
>          Issue Type: Test
>          Components: jcr-mapping
>            Reporter: Christophe Lombart
>            Assignee: Christophe Lombart
>
> Some BeanConverters are not yet stable. We have to add more unit tests.  It seems that null values for bean attributes are not well supported. We have to test that for all BeanConverters. 
> Here is a good scenario to test : 
> Model : Class A contains an attribute "b" based on class B. 
> Create an instance of A with "b" = null
> insert A / save
> Get instance of A
> set the attribute of B
> update A /save

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.