Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-14872

Omit the public modifier for test methods

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Unresolved
    • L3 - Default
    • None
    • 7.17.0
    • None
    • None

    Description

      Observed Behavior

      org.camunda.bpm.engine.impl.test.TestHelper.getMethod(...) retrieves only public methods for a given method name and its parameters.

      Expected behavior

      org.camunda.bpm.engine.impl.test.TestHelper.getMethod(...) should retrieve all declared methods for a given method name and its parameters

      Root Cause

      org.camunda.bpm.engine.impl.test.TestHelper.getMethod(...) calls

      clazz.getMethod(methodName, parameterTypes);

      Solution Idea

      org.camunda.bpm.engine.impl.test.TestHelper.getMethod(...) should callĀ 

      clazz.getDeclaredMethod(methodName, parameterTypes);

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              armin Armin Vukovic
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Salesforce