Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-254

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1, 1.2
    • 1.2
    • Axis2 Integration
    • None

    Description

      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.

      Attachments

        1. do_not_use_assert_keyword.patch
          0.8 kB
          Alexis Midon

        Activity

          People

            mriou Matthieu Riou
            alexismidon Alexis Midon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: