phoneapp/phoneui2/tsrc/ut_phonemainwindow/ut_phonemainwindow.cpp
changeset 78 baacf668fe89
parent 21 92ab7f8d0eab
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
    17 #include <QtGui>
    17 #include <QtGui>
    18 #include <QtTest/QtTest>
    18 #include <QtTest/QtTest>
    19 #include <QDebug>
    19 #include <QDebug>
    20 #include <hbapplication.h>
    20 #include <hbapplication.h>
    21 #include <hbglobal_p.h>
    21 #include <hbglobal_p.h>
    22 #include "hbphonemainwindow.h"
    22 #include "phonemainwindow.h"
       
    23 #include "phoneuihousehold.h"
    23 
    24 
       
    25 void PhoneUiHouseHold::reloadTranslators() {}
    24 
    26 
    25 class U_PhoneMainWindow: public QObject
    27 class U_PhoneMainWindow: public QObject
    26 {
    28 {
    27 Q_OBJECT
    29 Q_OBJECT
    28 
    30 
    35     void cleanupTestCase();
    37     void cleanupTestCase();
    36 	void testShow();
    38 	void testShow();
    37 	
    39 	
    38 private:
    40 private:
    39 	
    41 	
    40     HbPhoneMainWindow* m_Window; // widget under test
    42     PhoneMainWindow* m_Window; // widget under test
    41 
    43 
    42 };
    44 };
    43 
    45 
    44 U_PhoneMainWindow::U_PhoneMainWindow()
    46 U_PhoneMainWindow::U_PhoneMainWindow()
    45 {
    47 {
    50 }
    52 }
    51 
    53 
    52 void U_PhoneMainWindow::initTestCase()
    54 void U_PhoneMainWindow::initTestCase()
    53 {
    55 {
    54 
    56 
    55     m_Window = new HbPhoneMainWindow();
    57     m_Window = new PhoneMainWindow();
    56 	
    58 	
    57 }
    59 }
    58 
    60 
    59 void U_PhoneMainWindow::cleanupTestCase()
    61 void U_PhoneMainWindow::cleanupTestCase()
    60 {
    62 {