forked from qt-creator/qt-creator
VCS: Use entries combobox for log
Tests included Change-Id: Ibe2f6ece207128f8467b0cbca9dc38f2bcd5ced6 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
d0f1193041
commit
7cb80f0e16
@@ -720,6 +720,27 @@ void MercurialPlugin::testDiffFileResolving()
|
||||
MercurialEditor editor(editorParameters + 3, 0);
|
||||
editor.testDiffFileResolving();
|
||||
}
|
||||
|
||||
void MercurialPlugin::testLogResolving()
|
||||
{
|
||||
QByteArray data(
|
||||
"changeset: 18473:692cbda1eb50\n"
|
||||
"branch: stable\n"
|
||||
"bookmark: @\n"
|
||||
"tag: tip\n"
|
||||
"user: FUJIWARA Katsunori <foozy@lares.dti.ne.jp>\n"
|
||||
"date: Wed Jan 23 22:52:55 2013 +0900\n"
|
||||
"summary: revset: evaluate sub expressions correctly (issue3775)\n"
|
||||
"\n"
|
||||
"changeset: 18472:37100f30590f\n"
|
||||
"branch: stable\n"
|
||||
"user: Pierre-Yves David <pierre-yves.david@ens-lyon.org>\n"
|
||||
"date: Sat Jan 19 04:08:16 2013 +0100\n"
|
||||
"summary: test-rebase: add another test for rebase with multiple roots\n"
|
||||
);
|
||||
MercurialEditor editor(editorParameters + 1, 0);
|
||||
editor.testLogResolving(data, "18473:692cbda1eb50", "18472:37100f30590f");
|
||||
}
|
||||
#endif
|
||||
|
||||
Q_EXPORT_PLUGIN(MercurialPlugin)
|
||||
|
||||
Reference in New Issue
Block a user