IDEA-353765 Spring Debugger: JPA Transaction debugger

transaction node test

GitOrigin-RevId: d523ba1365de6d98753aee158599c59e4f4901a1
This commit is contained in:
Dmitry Avdeev
2025-11-07 06:05:06 +00:00
committed by intellij-monorepo-bot
parent 6e40c7d04e
commit 65121180ff
@@ -18,6 +18,7 @@ import static org.junit.Assert.assertNull;
public class XTestCompositeNode extends XTestContainer<XValue> implements XCompositeNode {
private final @NotNull AtomicReference<Runnable> myNextChildrenRunnableReference = new AtomicReference<>();
private final List<XValue> myTopValues = new ArrayList<>();
public XTestCompositeNode() {
}
@@ -26,12 +27,17 @@ public class XTestCompositeNode extends XTestContainer<XValue> implements XCompo
myNextChildrenRunnableReference.set(() -> value.computeChildren(this));
}
public List<XValue> getTopValues() {
return myTopValues;
}
@Override
public void addChildren(@NotNull XValueChildrenList children, boolean last) {
final List<XValue> list = new ArrayList<>();
for (int i = 0; i < children.size(); i++) {
list.add(children.getValue(i));
}
myTopValues.addAll(children.getTopValues());
addChildren(list, last);
}