OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d67d78
)
fakevim: fix autotest after recent changes to input handling
author
hjk
<qtc-committer@nokia.com>
Thu, 29 Apr 2010 12:17:10 +0000
(14:17 +0200)
committer
hjk
<qtc-committer@nokia.com>
Thu, 29 Apr 2010 14:11:46 +0000
(16:11 +0200)
tests/auto/fakevim/main.cpp
patch
|
blob
|
history
diff --git
a/tests/auto/fakevim/main.cpp
b/tests/auto/fakevim/main.cpp
index
b6f6655
..
8a49116
100644
(file)
--- a/
tests/auto/fakevim/main.cpp
+++ b/
tests/auto/fakevim/main.cpp
@@
-148,11
+148,6
@@
const QStringList tst_FakeVim::l = tst_FakeVim::lines.split('\n');
const QString tst_FakeVim::escape = QChar(27);
-QString control(int c)
-{
- return QChar(c + 256);
-}
-
tst_FakeVim::tst_FakeVim(bool usePlainTextEdit)
{
@@
-616,7
+611,7
@@
void tst_FakeVim::command_i()
// small insertion at start of document
check("ix" + escape, "@x" + lines);
check("u", "@" + lines);
- check
(control('r')
, "@x" + lines);
+ check
Ex("redo"
, "@x" + lines);
check("u", "@" + lines);
// small insertion at start of document