mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Got rid of ignoring order tests
This commit is contained in:
@@ -237,12 +237,6 @@ public class PlatformTestUtil {
|
||||
assertTreeEqual(tree, expected, false);
|
||||
}
|
||||
|
||||
public static void assertTreeEqualIgnoringNodesOrder(JTree tree, @NonNls String expected) {
|
||||
final Collection<String> actualNodesPresentation = printAsList(tree, new TreePath(tree.getModel().getRoot()), false, null, null);
|
||||
final List<String> expectedNodes = StringUtil.split(expected, "\n");
|
||||
UsefulTestCase.assertSameElements(actualNodesPresentation, expectedNodes);
|
||||
}
|
||||
|
||||
public static void assertTreeEqual(JTree tree, String expected, boolean checkSelected) {
|
||||
String treeStringPresentation = print(tree, checkSelected);
|
||||
assertEquals(expected.trim(), treeStringPresentation.trim());
|
||||
|
||||
Reference in New Issue
Block a user