mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengmceutils.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
--- a/mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengmceutils.h	Tue Aug 31 15:12:07 2010 +0300
+++ b/mmsharing/mmshengine/tsrc/ut_engine/inc/ut_musengmceutils.h	Wed Sep 01 12:31:01 2010 +0100
@@ -21,16 +21,14 @@
 
 
 //  EXTERNAL INCLUDES
+#include "mussipprofileuser.h"
 #include <digia/eunit/ceunittestsuiteclass.h>
 #include <digia/eunit/eunitmacros.h>
 
-
 //  FORWARD DECLARATIONS
 class CMceManager;
 class CMusSipProfileHandler;
 class CMceSession;
-class CMusEngObserverStub;
-class CMceDisplaySink;
 
 #ifndef NONSHARABLE_CLASS
     #define NONSHARABLE_CLASS(x) class x
@@ -41,8 +39,9 @@
  * Tester class for MusEngMceUtils. 
  * 
  */
-NONSHARABLE_CLASS( UT_MusEngMceUtils ): 
-    public CEUnitTestSuiteClass
+NONSHARABLE_CLASS( UT_MusEngMceUtils ):
+	public CEUnitTestSuiteClass,
+    public MMusSipProfileUser
     {
     public:     // Constructors and destructors
 
@@ -56,8 +55,11 @@
          * Destructor
          */
         ~UT_MusEngMceUtils();
+
+	public: // From MMusSipProfileUser    
         
-        
+        TBool IsRoamingBetweenAPsAllowed();
+
     private: // Constructors and destructors
 
         UT_MusEngMceUtils();
@@ -66,44 +68,35 @@
     private: // Test case setup and teardown
 
         void SetupL();
-        void Setup2L();
 
         void Teardown();
 
     private: // Test methdods
     
-        void UT_IsVideoInStreamL();
-        void UT_IsVideoOutStreamL();
-        void UT_IsAudioInStreamL();
-        void UT_GetVideoOutStreamLL();
-        void UT_GetVideoInStreamLL();
-        void UT_GetRecordingStreamL();
-        void UT_GetMediaSinkFromStreamL();
-        void UT_GetMediaSinkLFromStreamL();
-        void UT_GetMediaSinkFromSessionL();
-        void UT_GetMediaSinkLFromSessionL();
-        void UT_GetCameraLL();
-        void UT_GetFileSourceLL();
-        void UT_GetDisplayL();
-        void UT_GetDisplayLL();
-        void UT_AddDisplayLL();
-        void UT_AddSpeakerLL();
-        void UT_DisableStreamLL();
-        void UT_GetReceivingDisplayL();
-        void UT_GetReceivingDisplayLL();
-        void UT_GetVfDisplayL();
-        void UT_EnableInactivityTimerL();
+        void UT_MusEngMceUtils_IsVideoInStreamL();
+        void UT_MusEngMceUtils_IsAudioInStreamL();
+        void UT_MusEngMceUtils_GetVideoOutStreamLL();
+        void UT_MusEngMceUtils_GetVideoInStreamLL();
+        void UT_MusEngMceUtils_GetRecordingStreamL();
+        void UT_MusEngMceUtils_GetMediaSinkL();  // From stream
+        void UT_MusEngMceUtils_GetMediaSinkLL(); // From stream
+        void UT_MusEngMceUtils_GetMediaSink2L(); // From session
+        void UT_MusEngMceUtils_GetMediaSinkL2L(); // From session
+        void UT_MusEngMceUtils_GetCameraLL();
+        void UT_MusEngMceUtils_GetFileSourceLL();
+        void UT_MusEngMceUtils_GetDisplayL();
+        void UT_MusEngMceUtils_GetDisplayLL();
+        void UT_MusEngMceUtils_AddDisplayLL();
+        void UT_MusEngMceUtils_AddSpeakerLL();
+        void UT_MusEngMceUtils_DisableStreamLL();
         
     private:    // Data
 
         CMceManager* iManager;
         CMusSipProfileHandler* iProfileHandler;
-        CMusEngObserverStub* iObserver;
         CMceSession* iEmptySession;
         CMceSession* iVideoOutSession;
         CMceSession* iVideoInSession;
-        
-        CMceDisplaySink* iReceivingDisplay; // Not owned
 
         EUNIT_DECLARE_TEST_TABLE;