rtp/rtpstack/tsrc/ut_rtpstack/group/TestRTPService.mmp
author Petteri Saari <petteri.saari@digia.com>
Thu, 25 Nov 2010 13:59:42 +0200
branchMSRP_FrameWork
changeset 58 cdb720e67852
parent 0 307788aac0a8
child 56 2c7192069824
permissions -rw-r--r--
This release addresses the following issues: 1. The crash bug fix when receiving file 2. Now the sending is based on MSRP messages, there is no longer file receiving or sending. Client sends data as MSRP was designed. 3. Soma MSRP stack was created so that the client told the correct session-id, Symbian stack generated it by itself. This is not allowed, it was changed so that clients tell the session-id (same as used in SIP INVITE). 4. Unnecessary division of data to chunks removed when there is no need to interrupt sending. The message is sent in as few chunks as possible. 5. Stack can now receive files and chunks with ?unlimited? size. Old stack wrote the incoming data to memory and did not utilize disk space until the end of chunk was reached (large chunks from another client crashed it). 6. Now when writing the incoming data to file, it will take into account the byte-range header values. So, this complies with the RFC4975 requirements that stack must be able to handle chunks that come in any sequence. 7. Some buffering changes to outgoing/incoming data. 8. The outgoing data is now checked that it does not contain the created transaction-id before sending the data. 9. MSRP success reports are now implemented and tested against servers. 10. Progress report system fixed so progress is now visible on client (all the way to 100%). 11. Message Cancel receiving / Cancel sending now corrected and made to work as rfc4975 requires. (termination from sender and error code from receiver when cancelling). 12. Bug correction related to messages received not belonging to any session, old stack implementation did send error response, but after response was written it did give the buffer to client anyway. Now corrected.

/*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  
*
*/



#include <platform_paths.hrh>
#include <eunitcaps.h>

TARGET          testrtpservice.dll
TARGETTYPE      dll
TARGETPATH      /digiaeunit/tests



UID             0x1000af5a 0x01700000

MACRO           EUNIT_TESTING
MACRO           RTP_UNIT_TEST_COVERAGE

CAPABILITY      EUNIT_CAPS


VENDORID                VID_DEFAULT


SOURCEPATH          ../src
SOURCE              TestRTPServiceDllMain.cpp
SOURCE              UT_CLocalAddrResolver.cpp
SOURCE              UT_CRtpAPI.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpComm.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpCommRecv.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpCommSend.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpManager.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpPacket.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpRecvStream.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpSDES.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpSendItem.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpSession.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpStream.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpTimer.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpTranStream.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpStpPacket.cpp // Added by EUnit Wizard
SOURCE              UT_TRtpHeaderExtension.cpp // Added by EUnit Wizard
SOURCE              UT_TRtpSendHeader.cpp // Added by EUnit Wizard
SOURCE              UT_TRtpRecvHeader.cpp // Added by EUnit Wizard
SOURCE              UT_TRtpUtil.cpp // Added by EUnit Wizard
SOURCE              UT_CRtpSessionSRTP.cpp // Added by EUnit Wizard


SOURCEPATH          ../stubs/src
SOURCE		    esock_stubs.cpp 


// Sources needed by the test
SOURCEPATH          ../../../src
SOURCE              localaddrresolver.cpp
SOURCE              rtpapi.cpp // Added by EUnit Wizard
SOURCE              rtpsdes.cpp // Added by EUnit Wizard
SOURCE              rtpstream.cpp // Added by EUnit Wizard
SOURCE              rtpsenditem.cpp // Added by EUnit Wizard
SOURCE              rtpsession.cpp // Added by EUnit Wizard
SOURCE				rtpsessionsrtp.cpp
SOURCE              rtputil.cpp // Added by EUnit Wizard
SOURCE              rtprecvstream.cpp // Added by EUnit Wizard
SOURCE              rtppacket.cpp // Added by EUnit Wizard
SOURCE              rtptimer.cpp // Added by EUnit Wizard
SOURCE              rtpcommsend.cpp // Added by EUnit Wizard
SOURCE              rtppacketparam.cpp // Added by EUnit Wizard
SOURCE              rtpcommrecv.cpp // Added by EUnit Wizard
SOURCE              rtptranstream.cpp // Added by EUnit Wizard
SOURCE              rtpcomm.cpp // Added by EUnit Wizard
SOURCE              rtpmanager.cpp // Added by EUnit Wizard
SOURCE              rtpstppacket.cpp // Added by EUnit Wizard



USERINCLUDE         ../inc
USERINCLUDE         ../stubs/inc
USERINCLUDE         ../../../inc

MW_LAYER_SYSTEMINCLUDE

LIBRARY         	cone.lib
LIBRARY         	rtpservice.lib
LIBRARY                 commdb.lib
LIBRARY                 efsrv.lib
LIBRARY                 eunit.lib
LIBRARY                 euser.lib
LIBRARY                 insock.lib
LIBRARY             	srtp.lib
LIBRARY                 cryptography.lib
LIBRARY                 hash.lib
LIBRARY			rtpstppacket.lib
LIBRARY			charconv.lib

// End of file