datacommsserver/esockserver/test/TE_RConnectionSuite/config/te_rconnectionupstests_netlifetime_Connected.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) 2008-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:
// Tests in this script run in "Network Lifetime" mode and all require a network connection.
// TE_RConnectionSuite UPS Tests
// 
//

//! @file te_rconnectionupstests_netlifetime_Connected.script
//! @SYMTestSuiteName COMINF-ESOCK-RConnectionSuite-UPS
//! @SYMScriptTestEnvironment networking

// Shutdown ESock, load the appropriate CommDB
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
ced z:\TestData\configs\rconnectionntras.xml

// Copy across the necessary config file
RUN_UTILS MakeReadWrite c:\rconnectiontest.ini
RUN_UTILS DeleteFile c:\rconnectiontest.ini
RUN_UTILS CopyFile z:\TestData\configs\rconnectiontest_vlan7.ini c:\rconnectiontest.ini
RUN_UTILS MakeReadWrite c:\rconnectiontest.ini

// Copy across the Reference policy file under test
RUN_UTILS mkdir c:\private\10283558\
RUN_UTILS mkdir c:\private\10283558\policies\
RUN_UTILS CopyFile z:\System\data\ups_101F7989_10281DD8.rsc c:\private\10283558\policies\ups_101F7989_10281DD8.rsc
RUN_UTILS MakeReadWrite c:\private\10283558\policies\ups_101F7989_10281DD8.rsc

// Copy across the "Network Lifetime" NetUPS component coniguration file
RUN_UTILS MakeReadWrite c:\private\101f7989\esock\netups.ini
RUN_UTILS DeleteFile c:\private\101f7989\esock\netups.ini
run_utils mkdir c:\private\101f7989\
run_utils mkdir c:\private\101f7989\esock\
RUN_UTILS CopyFile z:\TestData\configs\netups_NetLifetime.ini c:\private\101f7989\esock\netups.ini
RUN_UTILS MakeReadWrite c:\private\101f7989\esock\netups.ini

// Copy across the config file specific to the UPS tests
RUN_UTILS MakeReadWrite c:\ipupstest.ini
RUN_UTILS CopyFile z:\TestData\configs\ipupstest.ini c:\ipupstest.ini

//Restart ESock
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


// Load the necessary test servers
LOAD_SUITE TE_RConnectionUpsSuite

//Set overriding of test notifier config file
RUN_TEST_STEP 100, TE_RConnectionUpsSuite SetNotifFileOverride


PRINT
PRINT  ---- Implicit, Always, Network Lifetime ----
PRINT

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0166
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0166
//!@SYMTestCaseDesc User prompted when response is Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect() on a TCP socket
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1a c:\rconnectiontest.ini TestConfig1
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0166

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0167
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0167
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted when response is Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1c c:\rconnectiontest.ini TestConfig1
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0167

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script 
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0168
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0168
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted when response is Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1d c:\rconnectiontest.ini TestConfig1
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0168

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0169
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0169
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect followed by another Implicit RSocket::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2a c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0169

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0170
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0170
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName followed by an Implicit Asynchronous RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2c c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0170

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0171
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0171
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress followed by an Implicit Asynchronous RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2d c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0171

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0172
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0172
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, close RSocket, followed by Implicit RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3a c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0172

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0173
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0173
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3c c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0173

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0174
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0174
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress,close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3d c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0174

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0175
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0175
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,followed by an Implicit RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest4a c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0175

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0176
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0176
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName,followed by an Implicit RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest4c c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0176

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0177
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0177
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, followed by an Implicit RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest5a c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0177

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0178
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0178
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6a c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0178

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0179
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0179
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6c c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0179

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0180
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0180
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6d c:\rconnectiontest.ini TestConfig2
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0180

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0181
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0181
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted after every Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,close RSocket, Delete UPS decision Database, followed by RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7a c:\rconnectiontest.ini TestConfig47
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0181

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0182
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0182
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted after every Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByName,close RSocket, Delete UPS decision Database,followed by RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7c c:\rconnectiontest.ini TestConfig47
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0182

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0183
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0183
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted after every Always response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByAddress,close RSocket, Delete UPS decision Database, followed by RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7d c:\rconnectiontest.ini TestConfig47
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0183

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0184
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0184
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for Always and SessionNo response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,close RSocket, Delete UPS decision Database, followed by RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

//Copy of Standard Test 7 but second button press is SessionNo so second API call should fail
heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7a c:\rconnectiontest.ini TestConfig48
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0184

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0185
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0185
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for Always and SessionNo response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByName,close RSocket, Delete UPS decision Database,followed by RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7c c:\rconnectiontest.ini TestConfig49
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0185

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0186
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0186
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both Always and SessionNo response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByAddress,close RSocket, Delete UPS decision Database, followed by RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7d c:\rconnectiontest.ini TestConfig50
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0186

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


PRINT
PRINT  ---- Implicit, SessionYes, Network Lifetime ----
PRINT

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0188
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0188
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted when response is SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect() on a TCP socket
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1a c:\rconnectiontest.ini TestConfig3
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0188

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0189
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0189
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted when response is SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1c c:\rconnectiontest.ini TestConfig3
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0189

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script 
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0190
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0190
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted when response is SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1d c:\rconnectiontest.ini TestConfig3
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0190

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0191
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0191
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect followed by another Implicit RSocket::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2a c:\rconnectiontest.ini TestConfig4
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0191

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0192
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0192
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName followed by an Implicit Asynchronous RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2c c:\rconnectiontest.ini TestConfig4
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0192

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0193
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0193
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress followed by an Implicit Asynchronous RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2d c:\rconnectiontest.ini TestConfig4
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0193

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0194
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0194
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, close RSocket, followed by Implicit RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3a c:\rconnectiontest.ini TestConfig51
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0194

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0195
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0195
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3c c:\rconnectiontest.ini TestConfig51
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0195

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0196
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0196
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress,close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3d c:\rconnectiontest.ini TestConfig51
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0196

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0197
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0197
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes and Never response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, close RSocket, followed by Implicit RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

//Copy of Standard Test 3 but second button press is never so second API call should fail
heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3a c:\rconnectiontest.ini TestConfig52
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0197

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0198
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0198
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes and Never response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3c c:\rconnectiontest.ini TestConfig53
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0198

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0199
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0199
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes and Never response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress,close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3d c:\rconnectiontest.ini TestConfig54
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0199

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0200
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0200
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,followed by an Implicit RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest4a c:\rconnectiontest.ini TestConfig4
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0200

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0201
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0201
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName,followed by an Implicit RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest4c c:\rconnectiontest.ini TestConfig4
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0201

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0202
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0202
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, followed by an Implicit RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest5a c:\rconnectiontest.ini TestConfig4
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0202

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0203
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0203
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6a c:\rconnectiontest.ini TestConfig4
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0203

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0204
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0204
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6c c:\rconnectiontest.ini TestConfig4
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0204

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0205
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0205
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6d c:\rconnectiontest.ini TestConfig4
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0205

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0206
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0206
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,close RSocket, Delete UPS decision Database, followed by RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7a c:\rconnectiontest.ini TestConfig51
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0206

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0207
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0207
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByName,close RSocket, Delete UPS decision Database,followed by RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7c c:\rconnectiontest.ini TestConfig51
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0207

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0208
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0208
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByAddress,close RSocket, Delete UPS decision Database, followed by RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7d c:\rconnectiontest.ini TestConfig51
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0208

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0209
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0209
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes and Never response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,close RSocket, Delete UPS decision Database, followed by RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

//Copy of Standard Test 7 but second button press is never so second API call should fail
heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7a c:\rconnectiontest.ini TestConfig52
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0209

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0210
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0210
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes and Never response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByName,close RSocket, Delete UPS decision Database,followed by RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7c c:\rconnectiontest.ini TestConfig53
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0210

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0211
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0211
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for both SessionYes and Never response. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByAddress,close RSocket, Delete UPS decision Database, followed by RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7d c:\rconnectiontest.ini TestConfig54
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0211

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


############################################################RAJ

PRINT
PRINT  ---- Implicit, Never, Network Lifetime ----
PRINT

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0212
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0212
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted when response is Never, appropriate error code is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect() on a TCP socket
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1a c:\rconnectiontest.ini TestConfig5
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0212

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0213
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0213
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted when response is Never, appropriate error code is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1c c:\rconnectiontest.ini TestConfig6
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0213

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script 
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0214
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0214
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted when response is Never, appropriate error code is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1d c:\rconnectiontest.ini TestConfig7
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0214

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0215
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0215
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect followed by another Implicit RSocket::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2a c:\rconnectiontest.ini TestConfig8
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0215

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0216
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0216
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName followed by an Implicit Asynchronous RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2c c:\rconnectiontest.ini TestConfig9
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0216

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0217
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0217
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress followed by an Implicit Asynchronous RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2d c:\rconnectiontest.ini TestConfig10
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0217

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0218
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0218
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, close RSocket, followed by Implicit RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3a c:\rconnectiontest.ini TestConfig8
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0218

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0219
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0219
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3c c:\rconnectiontest.ini TestConfig9
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0219

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0220
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0220
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress,close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3d c:\rconnectiontest.ini TestConfig10
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0220

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0221
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0221
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,followed by an Implicit RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest4a c:\rconnectiontest.ini TestConfig11
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0221

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0222
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0222
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName,followed by an Implicit RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest4c c:\rconnectiontest.ini TestConfig12
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0222

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0223
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0223
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, followed by an Implicit RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest5a c:\rconnectiontest.ini TestConfig13
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0223

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0224
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0224
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6a c:\rconnectiontest.ini TestConfig8
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0224

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0225
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0225
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6c c:\rconnectiontest.ini TestConfig14
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0225

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0226
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0226
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with Always(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6d c:\rconnectiontest.ini TestConfig15
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0226

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0227
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0227
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond with Never twice(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,close RSocket, Delete UPS decision Database, followed by RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7a c:\rconnectiontest.ini TestConfig55
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0227

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0228
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0228
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond with Never twice(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByName,close RSocket, Delete UPS decision Database,followed by RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7c c:\rconnectiontest.ini TestConfig56
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0228

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0229
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0229
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond with Never twice(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByAddress,close RSocket, Delete UPS decision Database, followed by RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7d c:\rconnectiontest.ini TestConfig57
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0229

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0230
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0230
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with SessionYes(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,close RSocket, Delete UPS decision Database, followed by RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

//Copy of Standard Test 7 but second button press is SessionYes so second API call should pass
heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7a c:\rconnectiontest.ini TestConfig58
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0230

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0231
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0231
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with SessionYes(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByName,close RSocket, Delete UPS decision Database,followed by RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7c c:\rconnectiontest.ini TestConfig59
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0231

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0232
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0232
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc Appropriate error code is returned when user respond first with Never, then with SessionYes(Prompted only once). Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByAddress,close RSocket, Delete UPS decision Database, followed by RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7d c:\rconnectiontest.ini TestConfig60
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0232

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


PRINT
PRINT  ---- Implicit, SessionNo, Network Lifetime ----
PRINT

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0233
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0233
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted and response is SessionNo. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect() on a TCP socket
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1a c:\rconnectiontest.ini TestConfig16
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0233

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0234
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0234
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted and response is SessionNo. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1c c:\rconnectiontest.ini TestConfig17
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0234

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script 
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0235
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0235
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted and response is SessionNo. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest1d c:\rconnectiontest.ini TestConfig18
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0235

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0236
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0236
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are SessionNo. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect followed by another Implicit RSocket::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2a c:\rconnectiontest.ini TestConfig19
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0236

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0237
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0237
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName followed by an Implicit Asynchronous RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2c c:\rconnectiontest.ini TestConfig20
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0237

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0238
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0238
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress followed by an Implicit Asynchronous RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest2d c:\rconnectiontest.ini TestConfig21
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0238

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0239
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0239
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are SessionNo. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, close RSocket, followed by Implicit RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3a c:\rconnectiontest.ini TestConfig61
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0239

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0240
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0240
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3c c:\rconnectiontest.ini TestConfig62
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0240

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0241
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0241
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress,close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3d c:\rconnectiontest.ini TestConfig63
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0241

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0242
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0242
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,followed by an Implicit RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

//Copy of Standard Test 3 but second button press is Always so second API call should pass
heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3a c:\rconnectiontest.ini TestConfig64
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0242

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0243
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0243
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3c c:\rconnectiontest.ini TestConfig65
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0243

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0244
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0244
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress,close RHostResolver,followed by implicit Asynchronous RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest3d c:\rconnectiontest.ini TestConfig66
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0244

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0245
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0245
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,followed by an Implicit RHostResolver::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest4a c:\rconnectiontest.ini TestConfig22
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0245

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0246
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0246
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName,followed by an Implicit RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest4c c:\rconnectiontest.ini TestConfig23
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0246

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0247
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0247
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, followed by an Implicit RHostResolver::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest5a c:\rconnectiontest.ini TestConfig24
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0247

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0248
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0248
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionNo response. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6a c:\rconnectiontest.ini TestConfig19
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0248

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0249
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0249
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByName, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6c c:\rconnectiontest.ini TestConfig25
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0249

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0250
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0250
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit Synchronous RHostResolver::GetByAddress, followed by RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest6d c:\rconnectiontest.ini TestConfig26
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0250

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0251
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0251
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionNo response. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,close RSocket, Delete UPS decision Database, followed by RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7a c:\rconnectiontest.ini TestConfig61
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0251

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0252
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0252
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByName,close RSocket, Delete UPS decision Database,followed by RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7c c:\rconnectiontest.ini TestConfig62
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0252

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0253
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0253
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByAddress,close RSocket, Delete UPS decision Database, followed by RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7d c:\rconnectiontest.ini TestConfig63
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0253

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0254
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0254
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted only once for both SessionNo and Always response. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RSocket::Connect,close RSocket, Delete UPS decision Database, followed by RSocket2::Connect
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

//Copy of Standard Test 7 but second button press is Always so second API call should pass
heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7a c:\rconnectiontest.ini TestConfig64
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0254

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0255
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0255
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByName,close RSocket, Delete UPS decision Database,followed by RHostResolver2::GetByName
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7c c:\rconnectiontest.ini TestConfig65
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0255

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0256
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0256
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Implicit RHostResolver::GetByAddress,close RSocket, Delete UPS decision Database, followed by RHostResolver2::GetByAddress
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest7d c:\rconnectiontest.ini TestConfig66
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0256

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


PRINT
PRINT  ---- Explicit, Always, Network Lifetime ----
PRINT

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0257
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0257
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted and response is Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Call explicit RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest10 c:\rconnectiontest.ini TestConfig27
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0257

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0258
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0258
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an explicit RSocket::Connect.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest12 c:\rconnectiontest.ini TestConfig28
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0258

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0259
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0259
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an explicit RHostResolver::GetByName.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest13 c:\rconnectiontest.ini TestConfig28
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0259

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0260
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0260
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an explicit RHostResolver::GetByAddress.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest14 c:\rconnectiontest.ini TestConfig28
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0260

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0261
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0261
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RSocket::Connect.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest20 c:\rconnectiontest.ini TestConfig28
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0261

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0262
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0262
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RHostResolver::GetByName.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest21 c:\rconnectiontest.ini TestConfig28
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0262

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0263
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0263
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RHostResolver::GetByAddress.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest22 c:\rconnectiontest.ini TestConfig28
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0263

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0264
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0264
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start, followed by RConnection2::Attach.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest25 c:\rconnectiontest.ini TestConfig28
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0264

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0265
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0265
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are Always. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start,close RConnection (the interface should still stay up) followed by RConnection2::Attach.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest26 c:\rconnectiontest.ini TestConfig28
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0265

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script



PRINT
PRINT  ---- Explicit, SessionYes, Network Lifetime ----
PRINT

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0266
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0266
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted and response is SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Call explicit RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest10 c:\rconnectiontest.ini TestConfig31
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0266

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0267
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0267
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an explicit RSocket::Connect.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest12 c:\rconnectiontest.ini TestConfig32
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0267

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0268
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0268
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an explicit RHostResolver::GetByName.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest13 c:\rconnectiontest.ini TestConfig32
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0268

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0269
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0269
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an explicit RHostResolver::GetByAddress.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest14 c:\rconnectiontest.ini TestConfig32
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0269

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0270
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0270
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RSocket::Connect.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest20 c:\rconnectiontest.ini TestConfig32
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0270

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0271
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0271
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RHostResolver::GetByName.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest21 c:\rconnectiontest.ini TestConfig32
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0271

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0272
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0272
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RHostResolver::GetByAddress.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest22 c:\rconnectiontest.ini TestConfig32
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0272

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0273
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0273
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when both the responses are SessionYes. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start, followed by RConnection2::Attach.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest25 c:\rconnectiontest.ini TestConfig32
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0273

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0274
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0274
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for each SessionYes responses. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start,close RConnection (the interface should still stay up) followed by RConnection2::Attach.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest26 c:\rconnectiontest.ini TestConfig69
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0274

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0275
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0275
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted for each SessionYes and SessionNo responses. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start, close RConnection (the interface should still stay up) followed by RConnection2::Attach.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

// Copy of test 26 except second button press is SessionNo so attach fails
heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest26 c:\rconnectiontest.ini TestConfig70
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0275

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script



PRINT
PRINT  ---- Explicit, Never, Network Lifetime ----
PRINT

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0276
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0276
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted and response is Never. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Call explicit RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest10 c:\rconnectiontest.ini TestConfig35
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0276

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0277
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0277
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when the responses are Never and always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RSocket::Connect.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest20 c:\rconnectiontest.ini TestConfig36
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0277

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0278
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0278
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when the responses are Never and always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RHostResolver::GetByName.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest21 c:\rconnectiontest.ini TestConfig37
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0278

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0279
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0279
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when the responses are Never and always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RHostResolver::GetByAddress.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest22 c:\rconnectiontest.ini TestConfig38
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0279

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script



PRINT
PRINT  ---- Explicit, SessionNo, Network Lifetime ----
PRINT

START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0280
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0280
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted and response is SessionNo. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions Call explicit RConnection::Start
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest10 c:\rconnectiontest.ini TestConfig41
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0280

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0281
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0281
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when the responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RSocket::Connect.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest20 c:\rconnectiontest.ini TestConfig42
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0281

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0282
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0282
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when the responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RHostResolver::GetByName.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest21 c:\rconnectiontest.ini TestConfig43
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0282

RUN_TEST_STEP 100, TE_RConnectionUpsSuite CloseInterfaces
RUN_SCRIPT z:\TestData\scripts\te_esock_test_unloadesockForced.script
RUN_SCRIPT z:\TestData\scripts\te_esock_test_loadesock.script


START_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0283
//! @SYMTestCaseID COMINF-ESOCK-RConnectionSuite-UPS-0283
//!@SYMPREQ PREQ1116
//!@SYMTestCaseDesc User prompted once when the responses are SessionNo and Always. Appropriate error is returned. Test run in "Network Lifetime" mode.
//!@SYMTestPriority Critical
//!@SYMTestActions RConnection::Start followed by an implicit RHostResolver::GetByAddress.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CIT
//! @SYMCreationDate        15-04-2008
//!@SYMTestStatus 3. Released

heap_mark
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UPSTest22 c:\rconnectiontest.ini TestConfig44
heap_markend
test_complete
END_TESTCASE COMINF-ESOCK-RConnectionSuite-UPS-0283


//at the end
RUN_UTILS DeleteFile c:\rconnectiontest.ini

//Unset overriding of test notifier config file
RUN_TEST_STEP 100, TE_RConnectionUpsSuite UnsetNotifFileOverride