calendarui/views/dayview/tsrc/unittests/unittest_calendaystatusstrip/unittest_calendaystatusstrip.cpp
changeset 63 a3cb48f6c889
parent 55 2c54b51f39c4
child 70 a5ed90760192
--- a/calendarui/views/dayview/tsrc/unittests/unittest_calendaystatusstrip/unittest_calendaystatusstrip.cpp	Mon Aug 09 18:30:52 2010 +0530
+++ b/calendarui/views/dayview/tsrc/unittests/unittest_calendaystatusstrip/unittest_calendaystatusstrip.cpp	Wed Aug 25 14:02:13 2010 +0530
@@ -42,7 +42,6 @@
     void cleanup();
 
     void testConstructors();
-    void testSetGetColor();
     void testSetGetRange();
     void testSetGetDrawingStyle_data();
     void testSetGetDrawingStyle();
@@ -129,24 +128,6 @@
 }
 
 /*!
-   Test function for geting and setting color
-   1. Test setting red color
-   2. Test change color to blue
- */
-void TestCalenStatusStrip::testSetGetColor()
-{
-    //1)
-    mStatusStrip->setColor(QColor(Qt::red));
-    QColor testColor = mStatusStrip->color();
-    QCOMPARE(QColor(Qt::red),testColor);
-    
-    //2)
-    mStatusStrip->setColor(QColor(Qt::blue));
-    testColor = mStatusStrip->color();
-    QCOMPARE(QColor(Qt::blue),testColor);
-}
-
-/*!
    Test function for geting and setting range
    1. Test setting 5px range
    2. Test change range to 1px
@@ -339,7 +320,6 @@
 void TestCalenStatusStrip::testPaint()
 {      
     //preapre data needed to draw on widget
-    mStatusStrip->setColor(QColor(Qt::red));
     QPair<QTime, QTime> startEndTime;
     startEndTime.first = QTime(10,20,0);
     startEndTime.second = QTime(15,10,00);