public void disabled_testReorderingTwoCommits() throws Exception {
   String[] hashes = makeCommits(3);
   myRebaser.reoderCommitsIfNeeded(
       myProjectRoot, myFirstCommit, Arrays.asList(hashes[2], hashes[1]));
   assertCommits(myFirstCommit, hashes[2], hashes[1], hashes[0]);
 }
 public void disabled_testReorderingOneCommit() throws Exception {
   String[] hashes = makeCommits(3);
   myRebaser.reoderCommitsIfNeeded(
       myProjectRoot, myFirstCommit, Collections.singletonList(hashes[2]));
   assertCommits(myFirstCommit, hashes[2], hashes[0], hashes[1]);
 }
 public void testReorderingOneShouldDoNothing() throws Exception {
   String hash = makeCommit();
   myRebaser.reoderCommitsIfNeeded(myProjectRoot, myFirstCommit, Collections.singletonList(hash));
   assertCommits(myFirstCommit, hash);
 }
 public void testReorderingAllShouldDoNothing() throws Exception {
   String hash1 = makeCommit();
   String hash2 = makeCommit();
   myRebaser.reoderCommitsIfNeeded(myProjectRoot, myFirstCommit, Arrays.asList(hash1, hash2));
   assertCommits(myFirstCommit, hash1, hash2);
 }
 public void testReorderingNothingShouldDoNothing() throws Exception {
   myRebaser.reoderCommitsIfNeeded(myProjectRoot, myFirstCommit, Collections.<String>emptyList());
   assertCommits(myFirstCommit);
 }