mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Project view: test for IDEA-80435 Project file sorting
This commit is contained in:
@@ -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" +
|
||||
|
||||
Reference in New Issue
Block a user