calendarui/tsrc/unittest_calenviewerservice/src/main.cpp
changeset 81 ce92091cbd61
parent 45 b6db4fd4947b
equal deleted inserted replaced
75:7ac58b2aae6f 81:ce92091cbd61
    20 #include <hbapplication.h>
    20 #include <hbapplication.h>
    21 
    21 
    22 // User includes
    22 // User includes
    23 #include "test_calenviewerservice.h"
    23 #include "test_calenviewerservice.h"
    24 
    24 
       
    25 /*
    25 int main(int argc, char *argv[])
    26 int main(int argc, char *argv[])
    26 {
    27 {
    27 	HbApplication app(argc, argv);
    28 	HbApplication app(argc, argv);
    28 	
    29 	
    29 	TestCalenViewerService tc;
    30 	TestCalenViewerService tc;
    39 	// signal to destroy itself. app.exec() where the signal is normally emitted
    40 	// signal to destroy itself. app.exec() where the signal is normally emitted
    40 	// is not called here. So, invoking the signal explicitly.
    41 	// is not called here. So, invoking the signal explicitly.
    41 	QMetaObject::invokeMethod(&app, "aboutToQuit", Qt::DirectConnection);
    42 	QMetaObject::invokeMethod(&app, "aboutToQuit", Qt::DirectConnection);
    42 	return ret;
    43 	return ret;
    43 }
    44 }
       
    45 */
       
    46 
       
    47 QTEST_MAIN ( TestCalenViewerService )
    44 
    48 
    45 // End of file	--Don't remove this.
    49 // End of file	--Don't remove this.