cellularsrvapitest/datatransferhaitest/scripts/telephony_comms-validation-automated_download.script
//
// Copyright (c) 2005-2009 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:
//
//! @file
//! @SYMTestSuiteName telephony_comms-validation-automated_download
//! @SYMScriptTestEnvironment This test script requires a basic ROM.
//
// Tests all public elements of the Rsocket, RSocketServ, Rconnection, RHostResolver,RTelServer, RMobileLine, RMobilePhone, RMmCustomAPI
// classes as a means of confidence that the APIs work as expected.
//
// The purpose is to provide a regression test suite of PublishedAll
// APIs for: Rsocket, RSocketServ, Rconnection, RHostResolver,RTelServer, RMobileLine, RMobilePhone, RMmCustomAPI
// The tests are fully automated.
//
LOAD_SUITE t_esock_etelmm
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0001
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0001
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName; TNameEntry {ref}aResult; TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref; TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc; TUint flags; TRequestStatus {ref}aStatus; TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in GSM mode and download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection2 (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /mobiiliuutiset/; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\index-tc-0001.txt)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\index-tc-0001.txt; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\index-tc-0001.txt)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in GSM mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0001-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0001-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0001-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0001-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0001-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0001-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0001-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0001-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0001-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0001-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0001-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0001-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0001-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0001-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0001-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0001-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0001-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0001-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0001-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0001
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0002
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0002
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in Dual mode and download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = Dual)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = Dual)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection2 (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /mobiiliuutiset/; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\index-tc-0006.txt)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\index-tc-0006.txt; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\index-tc-0006.txt)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in Dual mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0002-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0002-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0002-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0002-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0002-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0002-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0002-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0002-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0002-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0002-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0002-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0002-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0002-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0002-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0002-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0002-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0002-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0002-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0002-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0002
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0003
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0003
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode and download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection2 (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /mobiiliuutiset/; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\index-tc-0013.txt)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\index-tc-0013.txt; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\index-tc-0013.txt)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0003-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0003-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0003-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0003-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0003-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0003-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0003-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0003-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0003-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0003-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0003-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0003-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0003-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0003-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0003-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0003-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0003-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0003-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0003-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0003
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0004
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0004
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode and download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection2 (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /mobiiliuutiset/; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\index-tc-0014.txt)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\index-tc-0014.txt; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\index-tc-0014.txt)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0004-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0004-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0004-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0004-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0004-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0004-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0004-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0004-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0004-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0004-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0004-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0004-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0004-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0004-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0004-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0004-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0004-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0004-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0004-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0004
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0005
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0005
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in Dual mode and download file using HTTP protocol . File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = Dual)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = Dual)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /mobiiliuutiset/; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\index-tc-0039.txt)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\index-tc-0039.txt; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\index-tc-0039.txt)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in Dual mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0005-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0005-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0005-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0005-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0005-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0005-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0005-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0005-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0005-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0005-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0005-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0005-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0005-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0005-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0005-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0005-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0005-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0005-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0005-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0005
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0006
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0006
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS access point in WCDMA mode and download file using HTTP protocol and HSDPA. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/big/10MB.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,MMCDrive}\10MB-tc-0052.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = Used)
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,MMCDrive}\10MB-tc-0052.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,MMCDrive}\10MB-tc-0052.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS access point in WCDMA mode and download file using HTTP protocol and HSDPA with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0006-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0006-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0006-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0006-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0006-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0006-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0006-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0006-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0006-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0006-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0006-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0006-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0006-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0006-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0006-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0006-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0006-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0006-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0006-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0006
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0007
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0007
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS access point in WCDMA mode and download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /mobiiliuutiset/; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\index-tc-0066.txt)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\index-tc-0066.txt; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\index-tc-0066.txt)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS access point in WCDMA mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0007-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0007-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0007-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0007-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0007-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0007-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0007-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0007-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0007-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0007-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0007-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0007-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0007-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0007-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0007-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0007-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0007-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0007-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0007-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0007
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0008
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0008
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode and download file using HTTP protocol . File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /mobiiliuutiset/; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\index-tc-0067.txt)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\index-tc-0067.txt; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\index-tc-0067.txt)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0008-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0008-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0008-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0008-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0008-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0008-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0008-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0008-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0008-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0008-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0008-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0008-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0008-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0008-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0008-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0008-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0008-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0008-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0008-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0008
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0009
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0009
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD (128kB Analogue auto-detect) access point in WCDMA mode and download a file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSDANALOGUE; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSDANALOGUE)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0088.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0088.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0088.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD (128kB Analogue auto-detect) access point in WCDMA mode and download a file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0009-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0009-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0009-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0009-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0009-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0009-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0009-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0009-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0009-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0009-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0009-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0009-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0009-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0009-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0009-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0009-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0009-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0009-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0009-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0009
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0010
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0010
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD (128kB ISDN v.110 28800) access point in WCDMA mode and download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSDISDNV110; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSDISDNV110)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0089.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0089.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0089.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD (128kB ISDN v.110 28800) access point in WCDMA mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0010-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0010-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0010-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0010-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0010-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0010-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0010-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0010-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0010-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0010-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0010-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0010-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0010-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0010-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0010-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0010-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0010-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0010-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0010-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0010
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0011
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0011
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD (128kB ISDN v.120 43200) access point in WCDMA mode and download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSDISDNV120; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSDISDNV120)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0090.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0090.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0090.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD (128kB ISDN v.120 43200) access point in WCDMA mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0011-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0011-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0011-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0011-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0011-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0011-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0011-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0011-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0011-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0011-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0011-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0011-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0011-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0011-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0011-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0011-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0011-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0011-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0011-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0011
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0012
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0012
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD (128kB Analogue auto-detect) access point in Dual mode and download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = Dual)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = Dual)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSDANALOGUE; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSDANALOGUE)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0091.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0091.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0091.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD (128kB Analogue auto-detect) access point in Dual mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0012-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0012-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0012-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0012-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0012-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0012-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0012-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0012-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0012-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0012-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0012-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0012-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0012-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0012-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0012-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0012-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0012-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0012-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0012-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0012
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0013
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0013
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD (128kB ISDN v.110 28800) access point in Dual mode and download a file with no errors download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = Dual)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = Dual)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSDISDNV110; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSDISDNV110)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0092.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0092.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0092.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD (128kB ISDN v.110 28800) access point in Dual mode and download a file with no errors download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0013-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0013-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0013-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0013-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0013-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0013-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0013-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0013-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0013-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0013-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0013-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0013-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0013-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0013-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0013-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0013-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0013-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0013-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0013-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0013
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0014
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0014
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD (128kB ISDN v.120 43200) access point in Dual mode and download file using HTTP protocol. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = Dual)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = Dual)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSDISDNV120; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSDISDNV120)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address2})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address2}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0093.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0093.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0093.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- StopRConnection
//! 27.- CloseRConnection
//! 28.- CloseLine
//! 29.- CloseSocketServ
//! 30.- CloseCustomApi
//! 31.- ClosePhone
//! 32.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD (128kB ISDN v.120 43200) access point in Dual mode and download file using HTTP protocol with no error. File will be saved in SysDrive.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0014-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0014-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0014-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0014-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0014-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0014-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0014-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0014-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0014-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0014-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0014-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0014-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0014-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0014-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0014-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0014-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0014-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0014-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0014-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0014
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0015
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0015
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in GSM mode, download a 1024kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection2 (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/1024k.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\1024k-tc-0002.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\1024k-tc-0002.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\1024k-tc-0002.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- VerifyData (VerifyType= MD5; VerifyFile={DRIVES,SysDrive}\1024k-tc-0002.bin; Checksum=d203ba06a618da4f107c08a87ca5cea3)
//! 27.- StopRConnection
//! 28.- CloseRConnection
//! 29.- CloseLine
//! 30.- CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in GSM mode, download a 1024kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0015-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0015-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0015-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0015-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0015-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0015-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0015-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0015-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0015-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0015-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0015-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0015-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0015-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0015-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0015-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0015-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0015-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0015-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0015-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0015-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0015
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0016
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0016
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in GSM mode, download a 128kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection2 (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0003.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = )
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0003.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0003.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- VerifyData (VerifyType= MD5; VerifyFile={DRIVES,SysDrive}\0128k-tc-0003.bin; Checksum=5d4779596d69ef04c6f58db95bd832de)
//! 27.- StopRConnection
//! 28.- CloseRConnection
//! 29.- CloseLine
//! 30.- CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in GSM mode, download a 128kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0016-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0016-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0016-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0016-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0016-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0016-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0016-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0016-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0016-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0016-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0016-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0016-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0016-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0016-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0016-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0016-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0016-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0016-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0016-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0016-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0016
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0017
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0017
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in GSM mode, download a 16kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0016k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0016k-tc-0004.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0016k-tc-0004.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0016k-tc-0004.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType= MD5; VerifyFile={DRIVES,SysDrive}\0016k-tc-0004.bin; Checksum=90cc7edd8fecf4ba6375f5c25cb0a21b)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseSocketServ
//! 30.-CloseLine
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in GSM mode, download a 16kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0017-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0017-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0017-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0017-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0017-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0017-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0017-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0017-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0017-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0017-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0017-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0017-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0017-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0017-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0017-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0017-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0017-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0017-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0017-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0017-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0017
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0018
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0018
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in GSM mode, download a 1kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0001k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0001k-tc-0005.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0001k-tc-0005.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0001k-tc-0005.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0001k-tc-0005.bin; Checksum = 710ecf58249a2cf783d6ecf528e1ba1a)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in GSM mode, download a 1kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0018-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0018-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0018-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0018-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0018-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0018-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0018-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0018-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0018-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0018-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0018-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0018-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0018-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0018-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0018-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0018-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0018-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0018-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0018-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0018-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0018
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0019
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0019
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download a 1024kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/1024k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\1024k-tc-0015.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\1024k-tc-0015.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\1024k-tc-0015.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\1024k-tc-0015.bin; Checksum=d203ba06a618da4f107c08a87ca5cea3)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download a 1024kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0019-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0019-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0019-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0019-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0019-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0019-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0019-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0019-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0019-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0019-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0019-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0019-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0019-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0019-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0019-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0019-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0019-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0019-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0019-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0019-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0019
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0020
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0020
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download a 128kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0016.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0016.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0016.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0128k-tc-0016.bin; Checksum=5d4779596d69ef04c6f58db95bd832de)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download a 128kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0020-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0020-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0020-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0020-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0020-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0020-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0020-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0020-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0020-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0020-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0020-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0020-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0020-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0020-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0020-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0020-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0020-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0020-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0020-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0020-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0020
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0021
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0021
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download a 16kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0016k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0016k-tc-0017.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0016k-tc-0017.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0016k-tc-0017.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0016k-tc-0017.bin; Checksum=90cc7edd8fecf4ba6375f5c25cb0a21b)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download a 16kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0021-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0021-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0021-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0021-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0021-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0021-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0021-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0021-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0021-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0021-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0021-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0021-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0021-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0021-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0021-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0021-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0021-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0021-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0021-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0021-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0021
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0022
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0022
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSDAccess Point in GSM mode, download a 1kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0001k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0001k-tc-0018.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0001k-tc-0018.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0001k-tc-0018.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0001k-tc-0018.bin; Checksum=710ecf58249a2cf783d6ecf528e1ba1a)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSDAccess Point in GSM mode, download a 1kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0022-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0022-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0022-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0022-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0022-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0022-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0022-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0022-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0022-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0022-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0022-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0022-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0022-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0022-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0022-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0022-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0022-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0022-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0022-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0022-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0022
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0023
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0023
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download a 256kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0256k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0256k-tc-0019.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0256k-tc-0019.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0256k-tc-0019.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0256k-tc-0019.bin; Checksum = 0048909c2fb3c2c6818806202e6654ae)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download a 256kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0023-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0023-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0023-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0023-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0023-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0023-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0023-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0023-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0023-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0023-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0023-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0023-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0023-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0023-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0023-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0023-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0023-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0023-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0023-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0023-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0023
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0024
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0024
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download a 2kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0002k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0002k-tc-0020.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0002k-tc-0020.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0002k-tc-0020.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0002k-tc-0020.bin; Checksum = 46eb89673fe25a797a7896fd62773df0)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download a 2kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0024-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0024-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0024-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0024-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0024-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0024-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0024-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0024-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0024-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0024-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0024-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0024-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0024-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0024-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0024-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0024-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0024-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0024-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0024-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0024-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0024
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0025
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0025
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download a 32kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0032k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0032k-tc-0021.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0032k-tc-0021.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0032k-tc-0021.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0032k-tc-0021.bin; Checksum = 64fbc234be040b07806ae46ee8e8bdbc)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download a 32kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0025-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0025-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0025-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0025-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0025-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0025-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0025-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0025-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0025-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0025-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0025-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0025-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0025-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0025-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0025-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0025-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0025-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0025-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0025-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0025-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0025
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0026
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0026
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download 3MB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/big/3mb-1.txt; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\3mb-1-tc-0022.txt)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\3mb-1-tc-0022.txt; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\3mb-1-tc-0022.txt)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\3mb-1-tc-0022.txt; Checksum = 7fae292c77026cbb5a78a7da499032c5 )
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download 3MB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0026-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0026-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0026-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0026-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0026-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0026-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0026-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0026-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0026-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0026-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0026-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0026-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0026-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0026-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0026-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0026-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0026-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0026-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0026-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0026-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0026
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0027
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0027
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download a 4kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0004k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0004k-tc-0023.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0004k-tc-0023.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0004k-tc-0023.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0004k-tc-0023.bin; Checksum = bbc5e9b08e80626178ce7df5a50a1395)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download a 4kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0027-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0027-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0027-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0027-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0027-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0027-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0027-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0027-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0027-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0027-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0027-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0027-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0027-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0027-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0027-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0027-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0027-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0027-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0027-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0027-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0027
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0028
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0028
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download a 512kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0512k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0512k-tc-0024.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0512k-tc-0024.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0512k-tc-0024.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0512k-tc-0024.bin; Checksum = e27c9e563d0e2752b813f6182934b0f4)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download a 512kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0028-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0028-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0028-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0028-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0028-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0028-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0028-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0028-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0028-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0028-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0028-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0028-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0028-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0028-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0028-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0028-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0028-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0028-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0028-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0028-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0028
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0029
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0029
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download 64kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0064k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0064k-tc-0025.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0064k-tc-0025.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0064k-tc-0025.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0064k-tc-0025.bin; Checksum = d26a232d0279a9cb34529a9a05125f4a)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download 64kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0029-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0029-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0029-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0029-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0029-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0029-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0029-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0029-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0029-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0029-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0029-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0029-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0029-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0029-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0029-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0029-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0029-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0029-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0029-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0029-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0029
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0030
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0030
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 25/4/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in GSM mode, download 8kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0008k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0008k-tc-0026.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0008k-tc-0026.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0008k-tc-0026.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0008k-tc-0026.bin; Checksum = a69a721002a248215c0e46d992583889)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in GSM mode, download 8kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0030-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0030-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0030-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0030-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0030-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0030-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0030-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0030-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0030-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0030-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0030-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0030-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0030-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0030-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0030-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0030-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0030-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0030-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0030-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0030-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0030
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0031
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0031
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 1024kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/1024k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\1024k-tc-0027.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\1024k-tc-0027.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\1024k-tc-0027.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\1024k-tc-0027.bin; Checksum=d203ba06a618da4f107c08a87ca5cea3)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 1024kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0031-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0031-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0031-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0031-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0031-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0031-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0031-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0031-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0031-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0031-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0031-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0031-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0031-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0031-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0031-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0031-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0031-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0031-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0031-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0031-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0031
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0032
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0032
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 128kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0028.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0028.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0028.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0128k-tc-0028.bin; Checksum=5d4779596d69ef04c6f58db95bd832de)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 128kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0032-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0032-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0032-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0032-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0032-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0032-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0032-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0032-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0032-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0032-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0032-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0032-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0032-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0032-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0032-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0032-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0032-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0032-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0032-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0032-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0032
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0033
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0033
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 16kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0016k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0016k-tc-0029.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0016k-tc-0029.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0016k-tc-0029.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0016k-tc-0029.bin; Checksum=90cc7edd8fecf4ba6375f5c25cb0a21b)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 16kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0033-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0033-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0033-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0033-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0033-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0033-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0033-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0033-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0033-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0033-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0033-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0033-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0033-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0033-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0033-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0033-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0033-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0033-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0033-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0033-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0033
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0034
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0034
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 1kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0001k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0001k-tc-0030.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0001k-tc-0030.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0001k-tc-0030.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0001k-tc-0030.bin; Checksum=710ecf58249a2cf783d6ecf528e1ba1a)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 1kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0034-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0034-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0034-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0034-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0034-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0034-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0034-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0034-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0034-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0034-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0034-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0034-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0034-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0034-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0034-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0034-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0034-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0034-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0034-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0034-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0034
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0035
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0035
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 256kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0256k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0256k-tc-0031.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0256k-tc-0031.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0256k-tc-0031.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0256k-tc-0031.bin; Checksum = 0048909c2fb3c2c6818806202e6654ae)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 256kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0035-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0035-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0035-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0035-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0035-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0035-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0035-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0035-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0035-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0035-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0035-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0035-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0035-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0035-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0035-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0035-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0035-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0035-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0035-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0035-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0035
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0036
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0036
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 2kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0002k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0002k-tc-0032.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0002k-tc-0032.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0002k-tc-0032.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0002k-tc-0032.bin; Checksum = 46eb89673fe25a797a7896fd62773df0)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 2kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0036-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0036-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0036-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0036-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0036-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0036-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0036-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0036-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0036-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0036-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0036-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0036-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0036-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0036-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0036-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0036-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0036-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0036-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0036-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0036-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0036
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0037
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0037
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 32kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0032k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0032k-tc-0033.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0032k-tc-0033.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0032k-tc-0033.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0032k-tc-0033.bin; Checksum = 64fbc234be040b07806ae46ee8e8bdbc)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 32kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0037-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0037-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0037-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0037-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0037-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0037-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0037-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0037-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0037-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0037-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0037-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0037-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0037-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0037-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0037-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0037-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0037-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0037-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0037-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0037-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0037
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0038
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0038
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 3MB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/big/3mb-1.txt; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\3mb-1-tc-0034.txt)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\3mb-1-tc-0034.txt; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\3mb-1-tc-0034.txt)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\3mb-1-tc-0034.txt; Checksum = 7fae292c77026cbb5a78a7da499032c5 )
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 3MB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0038-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0038-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0038-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0038-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0038-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0038-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0038-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0038-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0038-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0038-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0038-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0038-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0038-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0038-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0038-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0038-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0038-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0038-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0038-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0038-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0038
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0039
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0039
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 4kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0004k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0004k-tc-0035.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0004k-tc-0035.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0004k-tc-0035.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0004k-tc-0035.bin; Checksum = bbc5e9b08e80626178ce7df5a50a1395)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 4kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0039-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0039-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0039-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0039-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0039-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0039-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0039-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0039-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0039-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0039-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0039-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0039-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0039-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0039-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0039-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0039-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0039-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0039-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0039-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0039-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0039
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0040
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0040
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 512kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0512k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0512k-tc-0036.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0512k-tc-0036.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0512k-tc-0036.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0512k-tc-0036.bin; Checksum = e27c9e563d0e2752b813f6182934b0f4)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 512kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0040-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0040-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0040-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0040-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0040-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0040-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0040-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0040-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0040-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0040-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0040-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0040-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0040-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0040-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0040-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0040-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0040-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0040-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0040-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0040-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0040
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0041
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0041
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 64kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0064k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0064k-tc-0037.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0064k-tc-0037.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0064k-tc-0037.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0064k-tc-0037.bin; Checksum = d26a232d0279a9cb34529a9a05125f4a)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 64kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0041-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0041-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0041-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0041-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0041-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0041-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0041-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0041-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0041-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0041-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0041-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0041-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0041-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0041-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0041-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0041-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0041-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0041-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0041-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0041-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0041
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0042
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0042
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a HSCSD Access Point in GSM mode, download a 8kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = GSM)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = GSM)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPHSCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPHSCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0008k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0008k-tc-0038.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0008k-tc-0038.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0008k-tc-0038.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0008k-tc-0038.bin; Checksum = a69a721002a248215c0e46d992583889)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a HSCSD Access Point in GSM mode, download a 8kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0042-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0042-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0042-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0042-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0042-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0042-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0042-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0042-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0042-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0042-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0042-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0042-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0042-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0042-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0042-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0042-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0042-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0042-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0042-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0042-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0042
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0043
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0043
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Download file using HSDPA in WCDMA mode and verify received file with MD5 checksum. File will be saved in memory card.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/0000k.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,MMCDrive}\0000k-tc-0053.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = Used)
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,MMCDrive}\0000k-tc-0053.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,MMCDrive}\0000k-tc-0053.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- VerifyData(VerifyType= MD5; VerifyFile= {DRIVES,MMCDrive}\0000k-tc-0053.bin; Checksum=d41d8cd98f00b204e9800998ecf8427e)
//! 27.- StopRConnection
//! 28.- CloseRConnection
//! 29.- CloseLine
//! 30.- CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Download file using HSDPA in WCDMA mode and verify received file with MD5 checksum. File will be saved in memory card. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0043-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0043-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0043-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0043-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0043-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0043-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0043-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0043-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0043-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0043-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0043-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0043-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0043-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0043-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0043-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0043-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0043-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0043-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0043-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0043-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0043
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0044
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0044
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Download a 75MB file using HSDPA in WCDMA mode and verify received file with MD5 checksum. File will be saved in memory card.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/small/75MB.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,MMCDrive}\75MB-tc-0054.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = Used)
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,MMCDrive}\75MB-tc-0054.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,MMCDrive}\75MB-tc-0054.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- VerifyData(VerifyType= MD5; VerifyFile={DRIVES,MMCDrive}\75MB-tc-0054.bin; Checksum=c5fd73b7ad33a7ba851f45ca0b126cec)
//! 27.- StopRConnection
//! 28.- CloseRConnection
//! 29.- CloseLine
//! 30.- CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Download a 75MB file using HSDPA in WCDMA mode and verify received file with MD5 checksum. File will be saved in memory card. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0044-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0044-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0044-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0044-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0044-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0044-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0044-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0044-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0044-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0044-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0044-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0044-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0044-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0044-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0044-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0044-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0044-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0044-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0044-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0044-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0044
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0045
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0045
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Download a 150MB file using HSDPA in WCDMA mode and verify received file with MD5 checksum. File will be saved in memory card.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.- RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.- RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.- WriteRequest (File = /dy/big/150MB.bin; Protocol = HTTP)
//! 18.- StartFile (Save = {DRIVES,MMCDrive}\150MB-tc-0055.bin)
//! 19.- StartDealer (DataDealer = 0)
//! 20.- CheckHSDPA (HSDPA = Used)
//! 21.- DownloadToFile (Protocol = HTTP; Save = {DRIVES,MMCDrive}\150MB-tc-0055.bin; DataDealer = 0; Duration = -1)
//! 22.- EndFile (Save = {DRIVES,MMCDrive}\150MB-tc-0055.bin)
//! 23.- CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.- RSocketShutDown
//! 25.- RSocketClose
//! 26.- VerifyData(VerifyType= MD5; VerifyFile={DRIVES,MMCDrive}\150MB-tc-0055.bin; Checksum=6fe954699cba15eadab9d354120e3aec)
//! 27.- StopRConnection
//! 28.- CloseRConnection
//! 29.- CloseLine
//! 30.- CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Download a 150MB file using HSDPA in WCDMA mode and verify received file with MD5 checksum. File will be saved in memory card. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0045-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0045-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0045-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0045-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0045-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0045-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0045-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0045-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0045-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0045-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0045-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0045-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0045-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0045-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0045-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0045-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0045-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0045-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0045-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0045-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0045
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0046
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0046
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download a 256kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0256k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0256k-tc-0056.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0256k-tc-0056.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0256k-tc-0056.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\00256k-tc-0056.bin; Checksum= 0048909c2fb3c2c6818806202e6654ae)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download a 256kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0046-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0046-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0046-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0046-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0046-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0046-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0046-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0046-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0046-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0046-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0046-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0046-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0046-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0046-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0046-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0046-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0046-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0046-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0046-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0046-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0046
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0047
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0047
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download a 2kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0002k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0002k-tc-0057.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0002k-tc-0057.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0002k-tc-0057.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0002k-tc-0057.bin; Checksum= 46eb89673fe25a797a7896fd62773df0 )
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download a 2kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0047-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0047-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0047-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0047-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0047-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0047-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0047-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0047-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0047-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0047-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0047-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0047-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0047-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0047-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0047-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0047-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0047-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0047-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0047-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0047-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0047
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0048
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0048
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download a 32kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0032k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0032k-tc-0058.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0032k-tc-0058.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0032k-tc-0058.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0032k-tc-0058.bin; Checksum= 64fbc234be040b07806ae46ee8e8bdbc)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download a 32kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0048-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0048-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0048-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0048-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0048-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0048-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0048-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0048-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0048-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0048-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0048-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0048-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0048-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0048-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0048-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0048-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0048-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0048-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0048-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0048-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0048
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0049
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0049
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download a 3MB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/big/3mb-1.txt; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\3mb-1-tc-0059.txt)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\3mb-1-tc-0059.txt; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\3mb-1-tc-0059.txt)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\3mb-1-tc-0059.txt; Checksum = 7fae292c77026cbb5a78a7da499032c5 )
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download a 3MB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0049-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0049-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0049-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0049-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0049-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0049-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0049-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0049-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0049-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0049-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0049-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0049-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0049-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0049-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0049-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0049-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0049-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0049-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0049-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0049-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0049
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0050
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0050
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download a 4kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0004k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0004k-tc-0060.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0004k-tc-0060.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0004k-tc-0060.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0004k-tc-0060.bin; Checksum= bbc5e9b08e80626178ce7df5a50a1395)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download a 4kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0050-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0050-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0050-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0050-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0050-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0050-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0050-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0050-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0050-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0050-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0050-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0050-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0050-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0050-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0050-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0050-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0050-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0050-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0050-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0050-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0050
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0051
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0051
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download a 512kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0512k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0512k-tc-0061.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0512k-tc-0061.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0512k-tc-0061.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0512k-tc-0061.bin; Checksum=e27c9e563d0e2752b813f6182934b0f4)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download a 512kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0051-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0051-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0051-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0051-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0051-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0051-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0051-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0051-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0051-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0051-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0051-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0051-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0051-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0051-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0051-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0051-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0051-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0051-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0051-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0051-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0051
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0052
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0052
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download a 64kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0064k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0064k-tc-0062.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0064k-tc-0062.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0064k-tc-0062.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0064k-tc-0062.bin; Checksum=d26a232d0279a9cb34529a9a05125f4a)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download a 64kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0052-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0052-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0052-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0052-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0052-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0052-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0052-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0052-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0052-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0052-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0052-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0052-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0052-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0052-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0052-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0052-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0052-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0052-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0052-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0052-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0052
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0053
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0053
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download a 8kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0008k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0008k-tc-0063.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0008k-tc-0063.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0008k-tc-0063.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0008k-tc-0063.bin; Checksum=a69a721002a248215c0e46d992583889)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download a 8kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0053-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0053-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0053-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0053-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0053-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0053-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0053-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0053-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0053-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0053-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0053-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0053-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0053-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0053-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0053-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0053-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0053-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0053-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0053-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0053-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0053
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0054
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0054
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download a 10MB file using HTTP protocol and verify received file integrity using checksum. File will be saved in memory card.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/big/10MB.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,MMCDrive}\10MB-tc-0064.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,MMCDrive}\10MB-tc-0064.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,MMCDrive}\10MB-tc-0064.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,MMCDrive}\10MB-tc-0064.bin; Checksum=7045203f899299cc906e9bba59d47a04)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download a 10MB file using HTTP protocol and verify received file integrity using checksum. File will be saved in memory card. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0054-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0054-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0054-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0054-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0054-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0054-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0054-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0054-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0054-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0054-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0054-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0054-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0054-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0054-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0054-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0054-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0054-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0054-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0054-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0054-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0054
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0055
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0055
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a GPRS Access Point in WCDMA mode, download file using HTTP protocol and verify received file integrity using checksum. File will be saved in memory card.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPGPRS; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPGPRS)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0000k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,MMCDrive}\0000k-tc-0065.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,MMCDrive}\0000k-tc-0065.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,MMCDrive}\0000k-tc-0065.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,MMCDrive}\0000k-tc-0065.bin; Checksum=d41d8cd98f00b204e9800998ecf8427e)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Verified
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a GPRS Access Point in WCDMA mode, download file using HTTP protocol and verify received file integrity using checksum. File will be saved in memory card. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0055-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0055-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0055-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0055-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0055-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0055-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0055-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0055-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0055-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0055-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0055-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0055-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0055-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0055-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0055-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0055-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0055-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0055-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0055-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0055-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0055
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0056
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0056
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download a 1kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0001k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0001k-tc-0077.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0001k-tc-0077.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0001k-tc-0077.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0001k-tc-0077.bin; Checksum=710ecf58249a2cf783d6ecf528e1ba1a)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download a 1kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0056-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0056-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0056-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0056-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0056-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0056-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0056-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0056-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0056-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0056-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0056-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0056-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0056-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0056-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0056-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0056-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0056-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0056-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0056-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0056-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0056
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0057
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0057
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download a 8kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0008k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0008k-tc-0078.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0008k-tc-0078.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0008k-tc-0078.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0008k-tc-0078.bin; Checksum=a69a721002a248215c0e46d992583889)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download a 8kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0057-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0057-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0057-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0057-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0057-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0057-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0057-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0057-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0057-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0057-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0057-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0057-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0057-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0057-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0057-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0057-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0057-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0057-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0057-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0057-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0057
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0058
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0058
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download a 64kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0064k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0064k-tc-0079.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0064k-tc-0079.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0064k-tc-0079.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0064k-tc-0079.bin; Checksum=d26a232d0279a9cb34529a9a05125f4a)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download a 64kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0058-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0058-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0058-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0058-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0058-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0058-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0058-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0058-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0058-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0058-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0058-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0058-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0058-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0058-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0058-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0058-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0058-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0058-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0058-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0058-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0058
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0059
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0059
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download a 128kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0128k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0128k-tc-0080.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0128k-tc-0080.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0128k-tc-0080.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0128k-tc-0080.bin; Checksum=5d4779596d69ef04c6f58db95bd832de)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download a 128kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0059-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0059-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0059-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0059-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0059-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0059-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0059-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0059-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0059-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0059-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0059-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0059-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0059-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0059-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0059-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0059-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0059-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0059-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0059-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0059-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0059
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0060
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0060
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download a 512kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0512k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0512k-tc-0081.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0512k-tc-0081.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0512k-tc-0081.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0512k-tc-0081.bin; Checksum=e27c9e563d0e2752b813f6182934b0f4)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download a 512kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0060-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0060-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0060-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0060-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0060-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0060-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0060-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0060-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0060-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0060-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0060-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0060-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0060-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0060-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0060-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0060-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0060-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0060-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0060-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0060-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0060
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0061
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0061
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download a 1024kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/1024k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\1024k-tc-0082.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\1024k-tc-0082.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\1024k-tc-0082.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\1024k-tc-0082.bin; Checksum=d203ba06a618da4f107c08a87ca5cea3)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download a 1024kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0061-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0061-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0061-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0061-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0061-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0061-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0061-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0061-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0061-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0061-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0061-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0061-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0061-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0061-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0061-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0061-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0061-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0061-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0061-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0061-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0061
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0062
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0062
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download 2kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0002k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0002k-tc-0083.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0002k-tc-0083.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0002k-tc-0083.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0002k-tc-0083.bin; Checksum= 46eb89673fe25a797a7896fd62773df0 )
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download 2kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0062-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0062-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0062-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0062-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0062-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0062-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0062-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0062-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0062-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0062-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0062-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0062-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0062-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0062-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0062-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0062-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0062-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0062-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0062-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0062-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0062
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0063
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0063
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download a 4kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0004k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0004k-tc-0084.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0004k-tc-0084.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0004k-tc-0084.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0004k-tc-0084.bin; Checksum= bbc5e9b08e80626178ce7df5a50a1395)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download a 4kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0063-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0063-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0063-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0063-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0063-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0063-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0063-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0063-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0063-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0063-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0063-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0063-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0063-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0063-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0063-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0063-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0063-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0063-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0063-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0063-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0063
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0064
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0064
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download a 16kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0016k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0016k-tc-0085.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0016k-tc-0085.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0016k-tc-0085.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0016k-tc-0085.bin; Checksum= 90cc7edd8fecf4ba6375f5c25cb0a21b)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download a 16kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0064-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0064-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0064-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0064-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0064-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0064-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0064-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0064-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0064-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0064-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0064-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0064-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0064-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0064-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0064-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0064-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0064-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0064-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0064-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0064-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0064
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0065
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0065
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download 32kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0032k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\0032k-tc-0086.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0032k-tc-0086.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0032k-tc-0086.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0032k-tc-0086.bin; Checksum= 64fbc234be040b07806ae46ee8e8bdbc)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download 32kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0065-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0065-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0065-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0065-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0065-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0065-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0065-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0065-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0065-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0065-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0065-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0065-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0065-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0065-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0065-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0065-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0065-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0065-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0065-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0065-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0065
START_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0066
//!@SYMTestCaseID TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0066
//!@SYMAPI
//! TInt RSocketServ::Connect (TUint aMessageSlots=KESockDefaultMessageSlots);
//! void RHostResolver:: GetByName(const TDesC {ref}aName, TNameEntry {ref}aResult, TRequestStatus {ref}aStatus);
//! void Rconnection :: Start(TConnPref {ref}aPref, TRequestStatus {ref}aStatus);
//! void RSocket:: RecvOneOrMore(TDes8 {ref}aDesc, TUint flags, TRequestStatus {ref}aStatus, TSockXfrLength {ref}aLen);
//!@SYMAuthor ddamian
//!@SYMCreationDate 9/5/2008
//!@SYMTestCaseDesc Connect to a CSD Access Point in WCDMA mode, download a 256kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive.
//!@SYMTestActions
//! 1.- OpenTelServer
//! 2.- OpenPhone (RTelServer = telServer1; Phone = 0)
//! 3.- InitCustomApi (RMobilePhone = rMobilePhone1)
//! 4.- ModeChange (ChangeMode = WCDMA)
//! 5.- GetCurrentSystemNetworkModes
//! 6.- ModeCheck (CheckMode = WCDMA)
//! 7.- OpenLine (Line = Data; RMobilePhone = rMobilePhone1)
//! 8.- ConnectSocketServ
//! 9.- OpenRConnection (IAP = IAPCSD; RSocketServ = rSocketServ1)
//! 10.- SelectOutgoingIAP (IAP = IAPCSD)
//! 11.- StartRConnection (Retries = 1)
//! 12.- OpenHostResolver (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 13.- GetByName (Address = {URL,address1})
//! 14.- CloseHostResolver
//! 15.-RSocketOpen (RConnection = rConnection1; RSocketServ = rSocketServ1)
//! 16.-RSocketConnect (Port = 80; Address = {URL,address1}; RHostResolver = rHostResolver1)
//! 17.-WriteRequest (File = /dy/small/0256k.bin; Protocol = HTTP)
//! 18.-StartFile (Save = {DRIVES,SysDrive}\00256k-tc-0087.bin)
//! 19.-StartDealer (DataDealer = 0)
//! 20.-CheckHSDPA (HSDPA = )
//! 21.-DownloadToFile (Protocol = HTTP; Save = {DRIVES,SysDrive}\0256k-tc-0087.bin; DataDealer = 0; Duration = -1)
//! 22.-EndFile (Save = {DRIVES,SysDrive}\0256k-tc-0087.bin)
//! 23.-CalcDnloadStats (Duration = -1; MinSpeed = -1)
//! 24.-RSocketShutDown
//! 25.-RSocketClose
//! 26.-VerifyData (VerifyType = MD5; VerifyFile = {DRIVES,SysDrive}\0256k-tc-0087.bin; Checksum= 0048909c2fb3c2c6818806202e6654ae)
//! 27.-StopRConnection
//! 28.-CloseRConnection
//! 29.-CloseLine
//! 30.-CloseSocketServ
//! 31.- CloseCustomApi
//! 32.- ClosePhone
//! 33.- CloseTelServer
//!@SYMTestStatus Implemented
//!@SYMTestPriority high
//!@SYMTestExpectedResults
//! Connect to a CSD Access Point in WCDMA mode, download a 256kB file using HTTP protocol and verify received file integrity using checksum. File will be saved in SysDrive. Execution will return no error where access point available.
//!@SYMTestType CIT
START_TEST_BLOCK 3600 t_esock_etelmm \mixed_technology\telephony_comms\telephony_comms-validation-automated_download.ini
CREATE_OBJECT RSocketServ rSocketServ1
CREATE_OBJECT RSocket rSocket1
CREATE_OBJECT RHostResolver rHostResolver1
CREATE_OBJECT RConnection rConnection1
CREATE_OBJECT DataVerify dataVerify1
CREATE_OBJECT RMmCustomAPI mmCustomAPI1
CREATE_OBJECT RTelServer telServer1
CREATE_OBJECT RMobileLine mobileLine1
CREATE_OBJECT RMobilePhone rMobilePhone1
COMMAND telServer1 Connect
COMMAND rMobilePhone1 Open TELEPHONY-Comms-Download-0066-0001-Open_command02
COMMAND mmCustomAPI1 Open TELEPHONY-Comms-Download-0066-0001-Open_command03
COMMAND mmCustomAPI1 SetSystemNetworkMode TELEPHONY-Comms-Download-0066-0001-SetSystemNetworkMode_command04
OUTSTANDING
COMMAND mmCustomAPI1 GetCurrentSystemNetworkModes
OUTSTANDING
COMMAND mmCustomAPI1 ModeCheck TELEPHONY-Comms-Download-0066-0001-ModeCheck_command06
COMMAND mobileLine1 Open TELEPHONY-Comms-Download-0066-0001-Open_command07
COMMAND rSocketServ1 Connect
COMMAND rConnection1 Open TELEPHONY-Comms-Download-0066-0001-Open_command09
COMMAND rConnection1 SelectOutgoingIAP TELEPHONY-Comms-Download-0066-0001-SelectOutgoingIAP_command10
COMMAND rConnection1 Start TELEPHONY-Comms-Download-0066-0001-Start_command11
COMMAND rHostResolver1 Open TELEPHONY-Comms-Download-0066-0001-Open_command12
COMMAND rHostResolver1 GetByName TELEPHONY-Comms-Download-0066-0001-GetByName_command13
OUTSTANDING
COMMAND rHostResolver1 Close
COMMAND rSocket1 Open TELEPHONY-Comms-Download-0066-0001-Open_command15
COMMAND rSocket1 Connect TELEPHONY-Comms-Download-0066-0001-Connect_command16
OUTSTANDING
COMMAND rSocket1 WriteRequest TELEPHONY-Comms-Download-0066-0001-WriteRequest_command17
OUTSTANDING
COMMAND rSocket1 StartFile TELEPHONY-Comms-Download-0066-0001-StartFile_command18
COMMAND rSocket1 StartDealer TELEPHONY-Comms-Download-0066-0001-StartDealer_command19
COMMAND rSocket1 CheckHSDPA TELEPHONY-Comms-Download-0066-0001-CheckHSDPA_command20
COMMAND rSocket1 RecvOneOrMore TELEPHONY-Comms-Download-0066-0001-RecvOneOrMore_command21
COMMAND rSocket1 EndFile TELEPHONY-Comms-Download-0066-0001-EndFile_command22
COMMAND rSocket1 CalcDnloadStats TELEPHONY-Comms-Download-0066-0001-CalcDnloadStats_command23
COMMAND rSocket1 ShutDown
OUTSTANDING
COMMAND rSocket1 Close
COMMAND dataVerify1 VerifyData TELEPHONY-Comms-Download-0066-0001-VerifyData_command26
COMMAND rConnection1 Stop
COMMAND rConnection1 Close
COMMAND mobileLine1 Close
COMMAND rSocketServ1 Close
COMMAND mmCustomAPI1 Close
COMMAND rMobilePhone1 Close
COMMAND telServer1 Close
END_TEST_BLOCK
END_TESTCASE TELEPHONY_COMMS-VALIDATION-AUTOMATED_DOWNLOAD-0066
DELAY 10000