mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup: drop isAutoExpand() where not needed
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
*/
|
||||
package com.jetbrains.rest;
|
||||
|
||||
import com.intellij.util.ui.tree.TreeUtil;
|
||||
import com.jetbrains.rest.fixtures.RestFixtureTestCase;
|
||||
|
||||
import static com.intellij.testFramework.PlatformTestUtil.assertTreeEqual;
|
||||
@@ -58,6 +59,9 @@ public class RestStructureViewTest extends RestFixtureTestCase {
|
||||
|
||||
private void doTest(final String expected) {
|
||||
myFixture.configureByFile("/structureView/" + getTestName(true) + ".rst");
|
||||
myFixture.testStructureView(svc -> assertTreeEqual(svc.getTree(), expected));
|
||||
myFixture.testStructureView(svc -> {
|
||||
TreeUtil.expandAll(svc.getTree());
|
||||
assertTreeEqual(svc.getTree(), expected);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user