jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-921) Add more unit tests on BeanConverters
Date Sat, 16 Jun 2007 08:10:26 GMT

     [ 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.

View raw message