rtp/rtpstack/tsrc/ut_rtpstack/src/TestRTPServiceDllMain.cpp
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 //  CLASS HEADER
       
    22 #include "UT_CLocalAddrResolver.h"
       
    23 #include "UT_CRtpAPI.h"
       
    24 #include "UT_CRtpComm.h"
       
    25 #include "UT_CRtpCommRecv.h"
       
    26 #include "UT_CRtpCommSend.h"
       
    27 #include "UT_CRtpManager.h"
       
    28 #include "UT_CRtpPacket.h"
       
    29 #include "UT_CRtpRecvStream.h"
       
    30 #include "UT_CRtpSDES.h"
       
    31 #include "UT_CRtpSendItem.h"
       
    32 #include "UT_CRtpSession.h"
       
    33 #include "UT_CRtpStream.h"
       
    34 #include "UT_CRtpTimer.h"
       
    35 #include "UT_CRtpTranStream.h"
       
    36 #include "UT_CRtpStpPacket.h"
       
    37 #include "UT_TRtpHeaderExtension.h"
       
    38 #include "UT_TRtpSendHeader.h"
       
    39 #include "UT_TRtpRecvHeader.h"
       
    40 #include "UT_TRtpUtil.h"
       
    41 #include "UT_CRtpSessionSRTP.h"
       
    42 
       
    43 //  EXTERNAL INCLUDES
       
    44 #include <digia/eunit/ceunittestsuite.h>
       
    45 
       
    46 /**
       
    47  * Test suite factory function.
       
    48  */
       
    49 EXPORT_C MEUnitTest* CreateTestSuiteL()
       
    50     {
       
    51     CEUnitTestSuite* rootSuite = CEUnitTestSuite::NewLC(_L("Wizard generated"));
       
    52     
       
    53     rootSuite->AddL( UT_CLocalAddrResolver::NewLC() );
       
    54     CleanupStack::Pop();
       
    55     
       
    56     rootSuite->AddL( UT_CRtpAPI::NewLC() );
       
    57     CleanupStack::Pop();
       
    58 
       
    59     rootSuite->AddL( UT_CRtpComm::NewLC() );
       
    60     CleanupStack::Pop();
       
    61 
       
    62     rootSuite->AddL( UT_CRtpCommRecv::NewLC() );
       
    63     CleanupStack::Pop();
       
    64 
       
    65     rootSuite->AddL( UT_CRtpCommSend::NewLC() );
       
    66     CleanupStack::Pop();
       
    67 
       
    68     rootSuite->AddL( UT_CRtpManager::NewLC() );
       
    69     CleanupStack::Pop();
       
    70 
       
    71     rootSuite->AddL( UT_CRtpPacket::NewLC() );
       
    72     CleanupStack::Pop();
       
    73 
       
    74     rootSuite->AddL( UT_CRtpRecvStream::NewLC() );
       
    75     CleanupStack::Pop();
       
    76 
       
    77     rootSuite->AddL( UT_CRtpSDES::NewLC() );
       
    78     CleanupStack::Pop();
       
    79 
       
    80     rootSuite->AddL( UT_CRtpSendItem::NewLC() );
       
    81     CleanupStack::Pop();
       
    82 
       
    83     rootSuite->AddL( UT_CRtpSession::NewLC() );
       
    84     CleanupStack::Pop();
       
    85 
       
    86 	rootSuite->AddL( UT_CRtpSessionSrtp::NewLC() );
       
    87     CleanupStack::Pop();
       
    88     
       
    89     rootSuite->AddL( UT_CRtpStream::NewLC() );
       
    90     CleanupStack::Pop();
       
    91 
       
    92     rootSuite->AddL( UT_CRtpTimer::NewLC() );
       
    93     CleanupStack::Pop();
       
    94 
       
    95     rootSuite->AddL( UT_CRtpTranStream::NewLC() );
       
    96     CleanupStack::Pop();
       
    97 
       
    98     rootSuite->AddL( UT_CRtpStpPacket::NewLC() );
       
    99     CleanupStack::Pop();
       
   100 
       
   101     rootSuite->AddL( UT_TRtpHeaderExtension::NewLC() );
       
   102     CleanupStack::Pop();
       
   103 
       
   104     rootSuite->AddL( UT_TRtpSendHeader::NewLC() );
       
   105     CleanupStack::Pop();
       
   106 
       
   107     rootSuite->AddL( UT_TRtpRecvHeader::NewLC() );
       
   108     CleanupStack::Pop();
       
   109 
       
   110     rootSuite->AddL( UT_TRtpUtil::NewLC() );
       
   111     CleanupStack::Pop();
       
   112     
       
   113     CleanupStack::Pop(); // rootSuite
       
   114     
       
   115     return rootSuite;
       
   116     }
       
   117 
       
   118 #ifndef __SECURE_API__
       
   119 /**
       
   120  * Standard Symbian DLL entry point function.
       
   121  */
       
   122 GLDEF_C TInt E32Dll(TDllReason)
       
   123     {
       
   124     return KErrNone;
       
   125     }
       
   126 #endif
       
   127 
       
   128 //  END OF FILE
       
   129 
       
   130 
       
   131 
       
   132 
       
   133 
       
   134