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/05/14 15:22:16 UTC

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

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


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.


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

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christophe Lombart reassigned JCR-921:
--------------------------------------

    Assignee: Christophe Lombart

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


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

Posted by "Christophe Lombart (JIRA)" <ji...@apache.org>.
     [ 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.