Lines Matching refs:methodName
119 StackFrame frameFor(String methodName) throws Exception {
124 if (frame.location().method().name().equals(methodName)) {
128 failure("FAIL: " + methodName + " not on stack");
145 int methodIndex(String methodName) {
147 if (methodName.equals(calls[i])) {
154 boolean isTop(String methodName) throws Exception {
155 return mainThread.frame(0).location().method().name().equals(methodName);
158 void checkTop(String methodName, boolean atStart) throws Exception {
162 if (!isTop(methodName)) {
163 failure("FAIL: expected " + methodName +
173 String methodName = name.substring(0,dash);
175 checkTop(methodName, posName.equals("e"));
207 void resumeTo(String methodName) throws Exception {
208 List meths = targetClass.methodsByName(methodName);
211 stateTo(methodName + "-e");
215 void pop(String methodName) throws Exception {
216 mainThread.popFrames(frameFor(methodName));
217 resetState(methodName + "-e");
222 void reenter(String methodName) throws Exception {
223 pop(methodName);