[ 
https://issues.apache.org/jira/browse/OWB-367?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863152#action_12863152
 ] 

Gurkan Erdogdu commented on OWB-367:
------------------------------------

One thing, we do not use old test folder anymore. Please add your newly 
contributed tests to newtests/ folder :). thks

> Add a unit test for IF_EXISTS
> -----------------------------
>
>                 Key: OWB-367
>                 URL: https://issues.apache.org/jira/browse/OWB-367
>             Project: OpenWebBeans
>          Issue Type: Test
>          Components: Events
>    Affects Versions: 1.0.0
>         Environment: All
>            Reporter: Paul J. Reder
>            Assignee: Gurkan Erdogdu
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: unittestIfExistsV2.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> There currently is no unit test to cover IF_EXISTS. The attached patch adds a 
> unit test that verifies three cases: Normal observer without IF_EXISTS; an 
> observer with IF_EXISTS that *is* instanciated; and an observer with 
> IF_EXISTS that is *not* instanciated. The first two observers should receive 
> the event, the last described observer should not.

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

Reply via email to