Lines 29-34
Link Here
|
29 |
* The Original Software is NetBeans. The Initial Developer of the Original |
29 |
* The Original Software is NetBeans. The Initial Developer of the Original |
30 |
* Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun |
30 |
* Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun |
31 |
* Microsystems, Inc. All Rights Reserved. |
31 |
* Microsystems, Inc. All Rights Reserved. |
|
|
32 |
* |
33 |
* markiewb@netbeans.org |
32 |
* |
34 |
* |
33 |
* If you wish your version of this file to be governed by only the CDDL |
35 |
* If you wish your version of this file to be governed by only the CDDL |
34 |
* or only the GPL Version 2, indicate your decision by adding |
36 |
* or only the GPL Version 2, indicate your decision by adding |
Lines 78-85
Link Here
|
78 |
OutputUtils.openTestsuite((TestsuiteNode)node); |
80 |
OutputUtils.openTestsuite((TestsuiteNode)node); |
79 |
} else if (node instanceof CallstackFrameNode){ |
81 |
} else if (node instanceof CallstackFrameNode){ |
80 |
OutputUtils.openCallstackFrame(node, callstackFrameInfo); |
82 |
OutputUtils.openCallstackFrame(node, callstackFrameInfo); |
81 |
} else if (node instanceof JUnitTestMethodNode){ |
83 |
} else if (node instanceof JUnitTestMethodNode) { |
82 |
OutputUtils.openTestMethod((JUnitTestMethodNode)node); |
84 |
if (null != callstackFrameInfo) { |
|
|
85 |
// try to open stackFrame if available |
86 |
OutputUtils.openCallstackFrame(node, callstackFrameInfo); |
87 |
} else { |
88 |
OutputUtils.openTestMethod((JUnitTestMethodNode) node); |
89 |
} |
83 |
} |
90 |
} |
84 |
} |
91 |
} |
85 |
|
92 |
|