You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by "Alexis Midon (JIRA)" <ji...@apache.org> on 2008/03/29 00:26:24 UTC

[jira] Created: (ODE-254) ServiceFaultCatchTest: junit.framework.Assert#assertTrue instead of assert java keyword

ServiceFaultCatchTest: junit.framework.Assert#assertTrue instead of assert java keyword
---------------------------------------------------------------------------------------

                 Key: ODE-254
                 URL: https://issues.apache.org/jira/browse/ODE-254
             Project: ODE
          Issue Type: Bug
          Components: Axis2 Integration
    Affects Versions: 1.1, 1.2
            Reporter: Alexis Midon
             Fix For: 1.2, 1.1.1


In the unit test org.apache.ode.axis2.ServiceFaultCatchTest, the java keyword assert is used to test the result of the test.
Because assertions are disabled by default the result is not tested at all and the test never fails.

Must use junit.framework.Assert#assertTrue instead.

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


[jira] Resolved: (ODE-254) ServiceFaultCatchTest: junit.framework.Assert#assertTrue instead of assert java keyword

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

Matthieu Riou resolved ODE-254.
-------------------------------

    Resolution: Fixed
      Assignee: Matthieu Riou

Patch applied some time ago.

> ServiceFaultCatchTest: junit.framework.Assert#assertTrue instead of assert java keyword
> ---------------------------------------------------------------------------------------
>
>                 Key: ODE-254
>                 URL: https://issues.apache.org/jira/browse/ODE-254
>             Project: ODE
>          Issue Type: Bug
>          Components: Axis2 Integration
>    Affects Versions: 1.1, 1.2
>            Reporter: Alexis Midon
>            Assignee: Matthieu Riou
>             Fix For: 1.2
>
>         Attachments: do_not_use_assert_keyword.patch
>
>
> In the unit test org.apache.ode.axis2.ServiceFaultCatchTest, the java keyword assert is used to test the result of the test.
> Because assertions are disabled by default the result is not tested at all and the test never fails.
> Must use junit.framework.Assert#assertTrue instead.

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


[jira] Updated: (ODE-254) ServiceFaultCatchTest: junit.framework.Assert#assertTrue instead of assert java keyword

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

Alexis Midon updated ODE-254:
-----------------------------

    Attachment: do_not_use_assert_keyword.patch

> ServiceFaultCatchTest: junit.framework.Assert#assertTrue instead of assert java keyword
> ---------------------------------------------------------------------------------------
>
>                 Key: ODE-254
>                 URL: https://issues.apache.org/jira/browse/ODE-254
>             Project: ODE
>          Issue Type: Bug
>          Components: Axis2 Integration
>    Affects Versions: 1.1, 1.2
>            Reporter: Alexis Midon
>             Fix For: 1.1.1, 1.2
>
>         Attachments: do_not_use_assert_keyword.patch
>
>
> In the unit test org.apache.ode.axis2.ServiceFaultCatchTest, the java keyword assert is used to test the result of the test.
> Because assertions are disabled by default the result is not tested at all and the test never fails.
> Must use junit.framework.Assert#assertTrue instead.

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


[jira] Updated: (ODE-254) ServiceFaultCatchTest: junit.framework.Assert#assertTrue instead of assert java keyword

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

Alex Boisvert updated ODE-254:
------------------------------

    Fix Version/s:     (was: 1.1.1)

> ServiceFaultCatchTest: junit.framework.Assert#assertTrue instead of assert java keyword
> ---------------------------------------------------------------------------------------
>
>                 Key: ODE-254
>                 URL: https://issues.apache.org/jira/browse/ODE-254
>             Project: ODE
>          Issue Type: Bug
>          Components: Axis2 Integration
>    Affects Versions: 1.1, 1.2
>            Reporter: Alexis Midon
>             Fix For: 1.2
>
>         Attachments: do_not_use_assert_keyword.patch
>
>
> In the unit test org.apache.ode.axis2.ServiceFaultCatchTest, the java keyword assert is used to test the result of the test.
> Because assertions are disabled by default the result is not tested at all and the test never fails.
> Must use junit.framework.Assert#assertTrue instead.

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