Omit the public modifier for test methods

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Unresolved
    • Priority: L3 - Default
    • None
    • Affects Version/s: 7.17.0
    • Component/s: None
    • None

      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);

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

              Created:
              Updated: