datacommsserver/esockserver/test/TE_RConnectionSuite/config/te_RConnection_CompleteAPICoverage.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 14 Apr 2010 17:14:05 +0300
branchRCL_3
changeset 21 4ccf8e394726
parent 0 dfb7c4ff071f
permissions -rw-r--r--
Revision: 201015 Kit: 201015

//
// Copyright (c) 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:
//

run_script z:\TestData\scripts\te_esock_test_unloadesockForced.script
ced z:\TestData\configs\rconnectionudp.xml
run_script z:\TestData\scripts\te_esock_test_loadesock.script

LOAD_SUITE TE_RConnectionSuite

START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0101
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0101
//! @SYMTestCaseDesc Test RConnection stop(TSubConnUniqueId)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection start it, stop the default subconnection, stop the entire connection
//! @SYMTestExpectedResults Stop(TSubConnectionUniqueId) currently isn�t supported in the dummy nif and so should
//! just do nothing and finish up with with KErrNone. With another Nif the subconnection would be stopped, and then
//! the entire connection stopped and cleaned up
heap_mark
run_test_step 100, TE_RConnectionSuite Test700 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0101


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0102
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0102
//! @SYMTestCaseDesc Test RConnection stop(TSubConnUniqueId)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection start it, call stop on an invalid subconnection Id, stop the entire connection
//! @SYMTestExpectedResults The erroneous call should cause KErrNotReady to be returned as the error code
heap_mark
run_test_step 100, TE_RConnectionSuite Test701 z:\TestData\configs\rconnectiontest_vlan7.ini 	
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0102


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0103
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0103
//! @SYMTestCaseDesc Test RConnection stop(TSubConnUniqueId)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High 
//! @SYMTestActions Create a connection start it, stop the entire connection, try to stop the default subconnection
//! @SYMTestExpectedResults The erroneous call should cause KErrNotReady to be returned as the error code
heap_mark
run_test_step 100, TE_RConnectionSuite Test702 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0103


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0104
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0104
//! @SYMTestCaseDesc Test RConnection Progress(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, enumerateconnections, call progress on the default subconnection
//! @SYMTestExpectedResults KErrNone, does nothing on server side as this method call is no longer supported
heap_mark
run_test_step 100, TE_RConnectionSuite Test703	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0104


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0105
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0105
//! @SYMTestCaseDesc Test RConnection Progress(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, enumerateconnections, call progress on an invalid subconnection id.
//! Check an error is reported
//! @SYMTestExpectedResults The erroneous call should cause KErrNotSuppported to be returned as the error code
heap_mark
run_test_step 100, TE_RConnectionSuite Test705	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0105


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0106
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0106
//! @SYMTestCaseDesc Test RConnection ProgressNotification(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, enumerateconnections, call progressnotification on the default subconnection
//! @SYMTestExpectedResults Upon the change of state of the specified subConnection the notification should return 
//! the status of the subconnection
heap_mark
run_test_step 100, TE_RConnectionSuite Test706	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0106


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0107
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0107
//! @SYMTestCaseDesc Test RConnection ProgressNotification(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, enumerateconnections, call progressnotification on the default subconnection passing 
//! in a TNifProgressBuf with an altered error parameter. Check that after the call the TNifProgressBuf parameters are reset
//! @SYMTestExpectedResults Upon the change of state of the specified subConnection the notification should return 
//! the status of the subconnection. tProg.iError is reset to KErrNone
heap_mark
run_test_step 100, TE_RConnectionSuite Test707	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0107


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0108
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0108
//! @SYMTestCaseDesc Test RConnection ProgressNotification(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, enumerateconnections, call progressnotification on an invalid subconnection id. 
//! Check an error is reported
//! @SYMTestExpectedResults The erroneous call should cause KErrNotReady to be returned as the error code
heap_mark
run_test_step 100, TE_RConnectionSuite Test708	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0108


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0109
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0109
//! @SYMTestCaseDesc Test RConnection CancelProgressNotification(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, enumerateconnections, call progressnotification on the default subconnection,
//! call cancelprogressnoficiation check that the norification is cancelled properly
//! @SYMTestExpectedResults ProgressNotification Call should be cancelled. KErrCancel is reported
heap_mark
run_test_step 100, TE_RConnectionSuite Test709	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0109


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0110
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0110
//! @SYMTestCaseDesc Test RConnection CancelProgressNotification(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, enumerateconnections, call cancelprogressnoficiation on an invalid subconnectionid
//! @SYMTestExpectedResults The erroneous call should behave on the client as if it wasn�t a problem. 
//! While on the server it actually caused a leave.
heap_mark
run_test_step 100, TE_RConnectionSuite Test710	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0110


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0111
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0111
//! @SYMTestCaseDesc Test RConnection CancelProgressNotification(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, call WaitforIncoming with a null RSubConnection instance
//! @SYMTestExpectedResults The erroneous call should cause KErrNotSupported to be returned as the error code
heap_mark
run_test_step 100, TE_RConnectionSuite Test711	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0111


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0112
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0112
//! @SYMTestCaseDesc Test RConnection ProgressNotification(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, enumerateconnections, call progressnotification on the default subconnection
//! requesting notification specifically on KFinishedSelection
//! @SYMTestExpectedResults The erroneous call should cause KErrNotSupported to be returned as the error code
heap_mark
run_test_step 100, TE_RConnectionSuite Test712	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0112


START_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0113
//! @SYMTestCaseID		COMINF-ESOCK-RConnectionSuite-APIcoverage-0113
//! @SYMTestCaseDesc Test RConnection ProgressNotification(TSubConnUniqueId, ..)
//! @SYMTestStatus Implemented   
//! @SYMTestPriority High
//! @SYMTestActions Create a connection, start it, enumerateconnections, call progressnotification on the default subconnection requesting
//! notification specifically on an invalid enumerated value
//! @SYMTestExpectedResults The erroneous call should cause KErrNotSupported to be returned as the error code
heap_mark
run_test_step 100, TE_RConnectionSuite Test713	 z:\TestData\configs\rconnectiontest_vlan7.ini 
heap_markend
test_complete
END_TESTCASE			COMINF-ESOCK-RConnectionSuite-APIcoverage-0113