Project view: test for IDEA-80435 Project file sorting

This commit is contained in:
Anton Makeev
2014-10-20 12:57:30 +02:00
parent 9481e3ffa1
commit 5efb124588
6 changed files with 10 additions and 0 deletions
@@ -56,6 +56,16 @@ public class ProjectTreeSortingTest extends BaseProjectViewTestCase {
super.tearDown();
}
public void testSortByName() throws Exception {
myProjectView.setSortByType(myPane.getId(), false);
assertTree("-sortByName\n" +
" a.java\n" +
" a-a.java\n" +
" a-b.java\n" +
" ab.java\n" +
" b.java\n");
}
public void testSortByType() throws Exception {
myProjectView.setSortByType(myPane.getId(), false);
assertTree("-sortByType\n" +