Got rid of ignoring order tests

This commit is contained in:
Alexandr Evstigneev
2018-09-26 15:55:35 +03:00
parent e02128cfcd
commit f42f61ecd2
@@ -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());