diff options
| author | Frank Reininghaus <[email protected]> | 2013-10-07 09:31:45 +0200 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2013-10-07 09:31:45 +0200 |
| commit | b4efdc620e8ce7571b45d7bfe22f30271871b9f9 (patch) | |
| tree | 30f3c5e35a8f3c923c8a12b887d3421b465e3aa5 /src/tests/kitemlistcontrollertest.cpp | |
| parent | 9f24c02a752584fc3ef82063d42262f91b493eae (diff) | |
| parent | 5bfb5031a593fbd7e0a60bd8ca869671c712db9d (diff) | |
Merge remote-tracking branch 'origin/KDE/4.11'
Diffstat (limited to 'src/tests/kitemlistcontrollertest.cpp')
| -rw-r--r-- | src/tests/kitemlistcontrollertest.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/tests/kitemlistcontrollertest.cpp b/src/tests/kitemlistcontrollertest.cpp index d8f838873..60e93e539 100644 --- a/src/tests/kitemlistcontrollertest.cpp +++ b/src/tests/kitemlistcontrollertest.cpp @@ -98,7 +98,7 @@ void KItemListControllerTest::initTestCase() << "b1" << "c1" << "c2" << "c3" << "c4" << "c5" << "d1" << "d2" << "d3" << "d4" - << "e1" << "e2" << "e3" << "e4" << "e5" << "e6" << "e7"; + << "e" << "e 2" << "e 3" << "e 4" << "e 5" << "e 6" << "e 7"; m_testDir->createFiles(files); m_model->loadDirectory(m_testDir->url()); @@ -282,7 +282,14 @@ void KItemListControllerTest::testKeyboardNavigation_data() << qMakePair(KeyPress(Qt::Key_Home), ViewState(0, QSet<int>() << 0)) << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, QSet<int>())) << qMakePair(KeyPress(Qt::Key_Enter), ViewState(0, QSet<int>(), true)) - << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, QSet<int>() << 0)); + << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, QSet<int>() << 0)) + << qMakePair(KeyPress(Qt::Key_Space, Qt::ControlModifier), ViewState(0, QSet<int>())) + << qMakePair(KeyPress(Qt::Key_Space), ViewState(0, QSet<int>() << 0)) + << qMakePair(KeyPress(Qt::Key_E), ViewState(13, QSet<int>() << 13)) + << qMakePair(KeyPress(Qt::Key_Space), ViewState(14, QSet<int>() << 14)) + << qMakePair(KeyPress(Qt::Key_3), ViewState(15, QSet<int>() << 15)) + << qMakePair(KeyPress(Qt::Key_Home), ViewState(0, QSet<int>() << 0)) + << qMakePair(KeyPress(Qt::Key_Escape), ViewState(0, QSet<int>())); // Next, we test combinations of key presses which only work for a // particular number of columns and either enabled or disabled grouping. |
