fix test data after tree optimization - hide module node for one module projects

(cherry picked from commit ed71751b72e59c858432fa0180a35ed3fa2161c5)
This commit is contained in:
anna
2011-05-02 21:10:59 +02:00
parent 38bb09a858
commit caea8a684c

View File

@@ -66,18 +66,16 @@ public class DependenciesPanelTest extends TestSourceBasedTestCase{
IdeaTestUtil.assertTreeEqual(leftTree, "-Root\n" +
" Library Classes\n" +
" -Production Classes\n" +
" -" + myModule.getName() + "\n" +
" -com.package1\n" +
" [Class1.java]\n" +
" Test Classes\n", true);
" -com.package1\n" +
" [Class1.java]\n" +
" Test Classes\n", true);
JTree rightTree = dependenciesPanel.getRightTree();
IdeaTestUtil.assertTreeEqual(rightTree, "-Root\n" +
" Library Classes\n" +
" -Production Classes\n" +
" -" + myModule.getName() + "\n" +
" -com.package1\n" +
" Class2.java\n" +
" -com.package1\n" +
" Class2.java\n" +
" Test Classes\n", true);
}
finally {