Lines Matching refs:methodName
124 for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_PASS) {
125 Method method = OneArg.class.getMethod(methodName, String.class);
129 fail("Should not have flagged method " + methodName);
135 for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_FAIL) {
136 Method method = OneArg.class.getMethod(methodName, String.class);
143 assertTrue("Should report error in method " + methodName, foundProblem);
149 for (String methodName : NONSTATIC_ONE_ARG_METHODS_SHOULD_PASS) {
150 Method method = OneArg.class.getMethod(methodName, String.class);
154 fail("Should not have flagged method " + methodName);
161 for (String methodName : NONSTATIC_ONE_ARG_METHODS_SHOULD_FAIL) {
162 Method method = OneArg.class.getMethod(methodName, String.class);
169 assertTrue("Should report error in method " + methodName, foundProblem);