Corrected file includes from tabbedpanel test pro file and removed some unused/commen...
[situare] / tests / ui / tabbedpanel / testtabbedpanel.cpp
index 9f8325a..2bb1c8d 100644 (file)
@@ -30,25 +30,9 @@ class TestTabbedPanel : public QObject
     Q_OBJECT
 
 private slots:
-//    void testPanelTypes();
     void testPanelToggling();
 };
 
-///< @todo Remove commented code. Add failing test case if there should be a unit test but it is not yet implemented
-
-//void TestTabbedPanel::testPanelTypes()
-//{
-//    SidePanel *testPanel = new SidePanel();
-//    testPanel->setType(SidePanel::UserPanel);
-//    QCOMPARE(testPanel->objectName(), QString("UserPanel"));
-//    delete testPanel;
-
-//    testPanel = new SidePanel();
-//    testPanel->setType(SidePanel::FriendPanel);
-//    QCOMPARE(testPanel->objectName(), QString("FriendPanel"));
-//    delete testPanel;
-//}
-
 void TestTabbedPanel::testPanelToggling()
 {
     TabbedPanel *testPanel = new TabbedPanel();