]> cloud.milkyroute.net Git - dolphin.git/commitdiff
SVN_SILENT: Use same comment-style as the other unit-tests
authorPeter Penz <peter.penz19@gmail.com>
Sat, 1 Jan 2011 20:59:54 +0000 (20:59 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Sat, 1 Jan 2011 20:59:54 +0000 (20:59 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=1210710

src/tests/dolphinviewtest_allviewmodes.cpp

index 2873e2c7e94fc35a9624ea22867989c126cd242c..38c323f4caf73deb6178838649ca1cd58ae08265 100644 (file)
@@ -109,12 +109,17 @@ void DolphinViewTest_AllViewModes::testSelection() {
     verifySelectedItemsCount(5);
 }
 
+/**
+ * testKeyboardFocus() checks whether a view grabs the keyboard focus.
+ *
+ * A view may never grab the keyboard focus itself and must respect the focus-state
+ * when switching the view mode.
+ */
+
 void DolphinViewTest_AllViewModes::testKeyboardFocus()
 {
     const DolphinView::Mode mode = m_view->mode();
 
-    // The view may not grab the keyboard focus itself. Also when switching
-    // the view-mode, the focus-state must remain.
     QVERIFY(!m_view->hasFocus());
     for (int i = 0; i <= DolphinView::MaxModeEnum; ++i) {
         m_view->setMode(static_cast<DolphinView::Mode>(i));