Examples of sortByName()


Examples of org.eclipse.egit.ui.common.CommitDialogTester.sortByName()

    commitDialogTester.setShowUntracked(true);
    assertEquals(2, commitDialogTester.getRowCount());
    assertEquals(PROJ1 + "/a", commitDialogTester.getEntryText(0));
    assertEquals(PROJ1 + "/b", commitDialogTester.getEntryText(1));
    // Sort ascending (first click changes default sort order)
    commitDialogTester.sortByName();
    // Sort descending (now the sort order should be reversed)
    commitDialogTester.sortByName();
    assertEquals(PROJ1 + "/b", commitDialogTester.getEntryText(0));
    assertEquals(PROJ1 + "/a", commitDialogTester.getEntryText(1));
    commitDialogTester.cancel();
View Full Code Here

Examples of org.eclipse.egit.ui.common.CommitDialogTester.sortByName()

    assertEquals(PROJ1 + "/a", commitDialogTester.getEntryText(0));
    assertEquals(PROJ1 + "/b", commitDialogTester.getEntryText(1));
    // Sort ascending (first click changes default sort order)
    commitDialogTester.sortByName();
    // Sort descending (now the sort order should be reversed)
    commitDialogTester.sortByName();
    assertEquals(PROJ1 + "/b", commitDialogTester.getEntryText(0));
    assertEquals(PROJ1 + "/a", commitDialogTester.getEntryText(1));
    commitDialogTester.cancel();
    fileA.delete(false, null);
    fileB.delete(false, null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.