Home
last modified time | relevance | path

Searched refs:resultParam (Results 1 – 1 of 1) sorted by relevance

/external/junit-params/src/main/java/junitparams/internal/
DInvokeParameterisedMethod.java62 … Object resultParam = createObjectOfExpectedTypeBasedOnParams(paramset, typesOfParameters); in castParamsFromObjects()
63 return new Object[]{resultParam}; in castParamsFromObjects()
68 Object resultParam; in createObjectOfExpectedTypeBasedOnParams() local
72 resultParam = Array.newInstance(typesOfParameters[0], paramset.length); in createObjectOfExpectedTypeBasedOnParams()
74 ((Object[]) resultParam)[i] = paramset[i]; in createObjectOfExpectedTypeBasedOnParams()
77resultParam = testMethod.getMethod().getParameterTypes()[0].getConstructor(typesOfParameters).newI… in createObjectOfExpectedTypeBasedOnParams()
83 return resultParam; in createObjectOfExpectedTypeBasedOnParams()