Closed RafaelCaballero closed 10 years ago
In Class de.wwu.muggl.symbolic.testCases.SolutionProcess.java chenged for (int a = startAt; a < parameterTypes.length; a++) { by for (int a = startAt; a < parameters.length; a++) {.
The problem is that parameterTypes has length equal to the arity, regardless whether the method is static or not. In our previous example, with arity 2, parameterTypes.length = 2, therefore the loop only iterates ones (startAt=2 because it is a non-static method).
The solution was use instead the parameters length:
It seems that the tool only generates test-cases properly if the methods are static.