mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
debugger tests: added method to dump children of values (RIDER-IC-CR-4)
This commit is contained in:
@@ -161,9 +161,17 @@ public class XDebuggerTestUtil {
|
||||
return Pair.create(all, container.frameToSelect);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated use {@link XDebuggerTestUtil#collectChildren(XValueContainer)}
|
||||
*/
|
||||
@Deprecated
|
||||
public static List<XValue> collectVariables(XStackFrame frame) throws InterruptedException {
|
||||
return collectChildren(frame);
|
||||
}
|
||||
|
||||
public static List<XValue> collectChildren(XValueContainer value) throws InterruptedException {
|
||||
XTestCompositeNode container = new XTestCompositeNode();
|
||||
frame.computeChildren(container);
|
||||
value.computeChildren(container);
|
||||
return container.waitFor(TIMEOUT).first;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user