videoplayer_plat/videoplayer_startup_api/tsrc/src/VideoPlayerStartupApiTest.cpp
branchRCL_3
changeset 8 ce5ada96ab30
parent 0 96612d01cf9f
equal deleted inserted replaced
6:7d91903f795f 8:ce5ada96ab30
    19 #include <Stiftestinterface.h>
    19 #include <Stiftestinterface.h>
    20 #include <bautils.h>
    20 #include <bautils.h>
    21 #include <SettingServerClient.h>
    21 #include <SettingServerClient.h>
    22 
    22 
    23 #include "VideoPlayerStartupApiTest.h"
    23 #include "VideoPlayerStartupApiTest.h"
    24 #include "VCXTestSmClient.h"
       
    25 
    24 
    26 // EXTERNAL DATA STRUCTURES
    25 // EXTERNAL DATA STRUCTURES
    27 //extern  ?external_data;
    26 //extern  ?external_data;
    28 
    27 
    29 // EXTERNAL FUNCTION PROTOTYPES  
    28 // EXTERNAL FUNCTION PROTOTYPES  
   129     iLog = CStifLogger::NewL( KVideoPlayerStartupApiTestLogPath, 
   128     iLog = CStifLogger::NewL( KVideoPlayerStartupApiTestLogPath, 
   130                           logFileName,
   129                           logFileName,
   131                           CStifLogger::ETxt,
   130                           CStifLogger::ETxt,
   132                           CStifLogger::EFile,
   131                           CStifLogger::EFile,
   133                           EFalse );
   132                           EFalse );
   134     
       
   135     iSmClient = CVCXTestSmClient::NewL();
       
   136         
   133         
   137     SendTestClassVersion();
   134     SendTestClassVersion();
   138     }
   135     }
   139 
   136 
   140 // -----------------------------------------------------------------------------
   137 // -----------------------------------------------------------------------------
   162     // Delete resources allocated from test methods
   159     // Delete resources allocated from test methods
   163     Delete();
   160     Delete();
   164 
   161 
   165     // Delete logger
   162     // Delete logger
   166     delete iLog; 
   163     delete iLog; 
   167     
       
   168     delete iSmClient;
       
   169     iSmClient = NULL;
       
   170     }
   164     }
   171 
   165 
   172 //-----------------------------------------------------------------------------
   166 //-----------------------------------------------------------------------------
   173 // CVideoPlayerStartupApiTest::SendTestClassVersion
   167 // CVideoPlayerStartupApiTest::SendTestClassVersion
   174 // Method used to send version of test class
   168 // Method used to send version of test class