use of org.zmlx.hg4idea.mq.MqPatchDetails in project intellij-community by JetBrains.
the class MqPatchTest method testMqPatchInfoAfterQImport.
public void testMqPatchInfoAfterQImport() throws Exception {
cd(myRepository);
HgQImportCommand importCommand = new HgQImportCommand(myHgRepository);
importCommand.executeInCurrentThread("tip");
MqPatchDetails patchDetails = updateAndGetDetails();
TimedVcsCommit tipCommitDetailsFromLog = getLastRevisionDetails();
assertEqualsCommitInfo(tipCommitDetailsFromLog, patchDetails);
}
use of org.zmlx.hg4idea.mq.MqPatchDetails in project intellij-community by JetBrains.
the class MqPatchTest method testMqPatchInfoAfterQNew.
public void testMqPatchInfoAfterQNew() throws Exception {
cd(myRepository);
append(FILENAME, "modify");
myRepository.refresh(false, true);
new HgQNewCommand(myProject, myHgRepository, MESSAGE, false).executeInCurrentThread();
myRepository.refresh(false, true);
MqPatchDetails patchDetails = updateAndGetDetails();
assertEqualsCommitInfo(null, patchDetails);
}
Aggregations