Lines Matching refs:stack
85 System.out.println("Checking stack trace for the examiner thread " +
91 // Check that the stack is returned correctly for a new thread
106 // Check that the stack is returned correctly for a terminated thread
117 private static void printStack(Thread t, StackTraceElement[] stack) {
119 " stack: (length = " + stack.length + ")");
121 for (int j = 0; j < stack.length; j++) {
122 System.out.println(INDENT + stack[j]);
131 StackTraceElement[] stack = ti.getStackTrace();
134 printStack(t, stack);
136 int frame = stack.length - 1;
138 if (! stack[frame].getMethodName().equals(expectedStack[i])) {
141 " but got " + stack[frame].getMethodName());
253 System.out.println("Checking examiner's its own stack trace");
260 System.out.println("Checking stack trace for " +
284 System.out.println("Checking examiner's its own stack trace");
288 System.out.println("Checking stack trace for " +
306 System.out.println("Checking stack trace for " +