1 #include <QtTest/QtTest>
2 #include "Communication.h"
3 #include "ConnectionSettings.h"
4 #include "CommunicationManager.h"
6 class TestCommunicationManager: public QObject
14 void cleanupTestCase();
15 void testErrorSignal();
16 void testFetchMeetings();
17 void testFetchMeetingDetails();
18 void meetingsFetched( const QList<Meeting*> &aMeetings );
19 void meetingDetailsFetched( Meeting &aDetailedMeeting );
20 void handleError( int aCode, CommunicationManager::CommunicationType aType );
23 CommunicationManager* iMgr;
25 QList<Meeting*> iMeetings;