adaptationlayer/tsy/nokiatsy_dll/internal/test/nokiatsy_test_tool/misc/group/misc_simulate.cfg
author <dalarub>
Fri, 06 Nov 2009 17:28:23 +0000
changeset 0 63b37f68c1ce
permissions -rw-r--r--
First Contribution. Vanilla as it came from Nokia

//* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
//* All rights reserved.
//* This component and the accompanying materials are made available
//* under the terms of the License "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:  
//*



// MOD_0004.001_2_NokiaTSY_[XML NotifyBatteryInfoChange (monitoring info)]
//
// Precondition: 
// n/a, XML case
//
// Script description:
// -N/A
//
[Test]
title MOD_0004.001_2_NokiaTSY_[XML NotifyBatteryInfoChange (monitoring info)]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneNotifyBatteryInfoChange

test RunIscTestCase 101
test SyncIscTestCase

test MobilePhoneNotifyBatteryInfoChange EPowerStatusUnknown 100

allownextresult 0
waittestclass test
delete test
[Endtest]

// MOD_0004.002_2_NokiaTSY_[XML NotifyBatteryInfoChange (charger info)]
//
// Precondition: 
// n/a, XML case
//
// Script description:
// -N/A
//
[Test]
title MOD_0004.002_2_NokiaTSY_[XML NotifyBatteryInfoChange (charger info)]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneNotifyBatteryInfoChange

test RunIscTestCase 102
test SyncIscTestCase

test MobilePhoneNotifyBatteryInfoChange EBatteryConnectedButExternallyPowered 0

allownextresult 0
waittestclass test
delete test
[Endtest]

// MOD_0004.003_2_NokiaTSY_[XML NotifyBatteryInfoChange (battery empty)]
//
// Precondition: 
// n/a, XML case
//
// Script description:
// -N/A
//
[Test]
title MOD_0004.003_2_NokiaTSY_[XML NotifyBatteryInfoChange (battery empty)]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneNotifyBatteryInfoChange

test RunIscTestCase 103
test SyncIscTestCase

test MobilePhoneNotifyBatteryInfoChange EPowerStatusUnknown 0

allownextresult 0
waittestclass test
delete test
[Endtest]

// MOD_0004.101_2_NokiaTSY_[XML Set ACL status ON]
//
// Precondition: 
// - n/a
//
// Script description:
// EAclStatusEnabled = ACL status
//
[Test]
title MOD_0004.101_2_NokiaTSY_[XML Set ACL status ON]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus

test RunIscTestCase 104
test SyncIscTestCase

test SetACLStatus EAclStatusEnabled

// EMobilePhoneSetAPNControlListServiceStatus
allownextresult 0
waittestclass test

delete test
[Endtest]

// MOD_0004.101_1_2_NokiaTSY_[XML Set ACL status ON, ACL Not Available]
//
// Precondition: 
// - n/a
//
// Script description:
// EAclStatusEnabled = ACL status
//
[Test]
title MOD_0004.101_1_2_NokiaTSY_[XML Set ACL status ON, ACL Not Available]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus

test RunIscTestCase 113
test SyncIscTestCase

test SetACLStatus EAclStatusEnabled

// EMobilePhoneSetAPNControlListServiceStatus
allownextresult -1
waittestclass test

delete test
[Endtest]

// MOD_0004.102_2_NokiaTSY_[XML Set ACL status OFF]
//
// Precondition: 
// - n/a
//
// Script description:
// EAclStatusDisabled = ACL status
//
[Test]
title MOD_0004.102_2_NokiaTSY_[XML Set ACL status OFF]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus

test RunIscTestCase 105
test SyncIscTestCase

test SetACLStatus EAclStatusDisabled

// EMobilePhoneSetAPNControlListServiceStatus
allownextresult 0
waittestclass test

delete test
[Endtest]

// MOD_0004.102_1_2_NokiaTSY_[XML Set ACL status OFF, ACL Not Available]
//
// Precondition: 
// - n/a
//
// Script description:
// EAclStatusDisabled = ACL status
//
[Test]
title MOD_0004.102_1_2_NokiaTSY_[XML Set ACL status OFF, ACL Not Available]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus

test RunIscTestCase 114
test SyncIscTestCase

test SetACLStatus EAclStatusDisabled

// EMobilePhoneSetAPNControlListServiceStatus
allownextresult -1
waittestclass test

delete test
[Endtest]

// MOD_0004.103_2_NokiaTSY_[XML Get ACL status]
//
// Precondition: 
// - n/a
//
// Script description:
// -N/A
//
[Test]
title MOD_0004.103_2_NokiaTSY_[XML Get ACL status]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneGetAPNControlListServiceStatus

test RunIscTestCase 106
test SyncIscTestCase

test GetACLStatus EAPNControlListServiceDisabled

allownextresult 0
waittestclass test
delete test
[Endtest]

// MOD_0004.103_1_2_NokiaTSY_[XML Get ACL status, ACL Not Available]
//
// Precondition: 
// - n/a
//
// Script description:
// -N/A
//
[Test]
title MOD_0004.103_1_2_NokiaTSY_[XML Get ACL status, ACL Not Available]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneGetAPNControlListServiceStatus

test RunIscTestCase 115
test SyncIscTestCase

test GetACLStatus EAPNControlListServiceDisabled

allownextresult -1
waittestclass test
delete test
[Endtest]

// MOD_0004.104_2_NokiaTSY_[XML Write ACL Entry]
//
// Precondition: 
// - n/a
//
// Script description:
// WritedByTestTool = APN string
//
[Test]
title MOD_0004.104_2_NokiaTSY_[XML Write ACL Entry]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneAppendAPNName

test RunIscTestCase 107
test SyncIscTestCase

test WriteACLEntry WritedByTestTool
allownextresult 0
waittestclass test
delete test
[Endtest]

// MOD_0004.104_1_2_NokiaTSY_[XML Write ACL Entry, ACL Not Available]
//
// Precondition: 
// - n/a
//
// Script description:
// WritedByTestTool = APN string
//
[Test]
title MOD_0004.104_1_2_NokiaTSY_[XML Write ACL Entry, ACL Not Available]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneAppendAPNName

test RunIscTestCase 116
test SyncIscTestCase

test WriteACLEntry WritedByTestTool
allownextresult -1
waittestclass test
delete test
[Endtest]

// MOD_0004.105_2_NokiaTSY_[XML Write ACL Entry with empty name]
//
// Precondition: 
// - n/a
//
// Script description:
// -N/A
//
[Test]
title MOD_0004.105_2_NokiaTSY_[XML Write ACL Entry with empty name]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneAppendAPNName

test RunIscTestCase 108
test SyncIscTestCase

test WriteACLEntry 
allownextresult 0
waittestclass test
delete test
[Endtest]

// MOD_0004.106_2_NokiaTSY_[XML Delete ACL Entry]
//
// Precondition: 
// - n/a
//
// Script description:
// 0 = index
//
[Test]
title MOD_0004.106_2_NokiaTSY_[XML Delete ACL Entry]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneDeleteAPNName

test RunIscTestCase 109
test SyncIscTestCase

test DeleteACLEntry 0

allownextresult 0
waittestclass test
delete test
[Endtest]

// MOD_0004.106_1_2_NokiaTSY_[XML Delete ACL Entry, ACL Not Available]
//
// Precondition: 
// - n/a
//
// Script description:
// 0 = index
//
[Test]
title MOD_0004.106_1_2_NokiaTSY_[XML Delete ACL Entry, ACL Not Available]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneDeleteAPNName

test RunIscTestCase 117
test SyncIscTestCase

test DeleteACLEntry 0

allownextresult -1
waittestclass test
delete test
[Endtest]

// MOD_0004.107_2_NokiaTSY_[XML Enumerate APN Entries]
//
// Precondition: 
// - n/a
//
// Script description: Gets number of APN
// - N/A
//
[Test]
title MOD_0004.107_2_NokiaTSY_[XML Enumerate APN Entries]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneEnumerateAPNEntries

test RunIscTestCase 110
test SyncIscTestCase

test EnumerateAPNEntries 3
allownextresult 0
waittestclass test
delete test
[Endtest]

// MOD_0004.107_1_2_NokiaTSY_[XML Enumerate APN Entries, ACL Not Available]
//
// Precondition: 
// - n/a
//
// Script description: Gets number of APN
// - N/A
//
[Test]
title MOD_0004.107_1_2_NokiaTSY_[XML Enumerate APN Entries, ACL Not Available]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneEnumerateAPNEntries

test RunIscTestCase 118
test SyncIscTestCase

test EnumerateAPNEntries 3
allownextresult -1
waittestclass test
delete test
[Endtest]

// MOD_0004.108_2_NokiaTSY_[XML Get APN Name]
//
// Precondition: 
// -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto)
//
// Script description:
// 1 = index
//
[Test]
title MOD_0004.108_2_NokiaTSY_[XML Get APN Name]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneGetAPNname

test RunIscTestCase 111
test SyncIscTestCase

test GetAPNName 0 WritedByTestTool
allownextresult 0
waittestclass test
delete test
[Endtest]

// MOD_0004.108_1_2_NokiaTSY_[XML Get APN Name, ACL Not Available]
//
// Precondition: 
// -N/A
//
// Script description:
// -N/A
//
[Test]
title MOD_0004.108_1_2_NokiaTSY_[XML Get APN Name, ACL Not Available]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC EMobilePhoneGetAPNname

test RunIscTestCase 119
test SyncIscTestCase

test GetAPNName 0 WritedByTestTool
allownextresult -1
waittestclass test
delete test
[Endtest]

// MOD_0004.114_2_NokiaTSY_[XML Set Always on Mode HPLMN,VPLMN,Active and NotActive]
//
// Precondition: 
// - if tested in 05PR1 braches, enable CASW_ALWAYS_ON_PDP_CONTEXT
//   flag
//
// Script description:
// - Modes HPLMN, VPLMN, Active and NotActive are tested.
// 

[Test]
title MOD_0004.114_2_NokiaTSY_[XML Set Always on Mode HPLMN,VPLMN,Active and NotActive]
create NTT_Misc test

test InitializeIPCRequestTable
test SetExpectedCompleteIPC ECustomSetAlwaysOnMode
test SetExpectedCompleteIPC ECustomSetAlwaysOnMode
test SetExpectedCompleteIPC ECustomSetAlwaysOnMode
test SetExpectedCompleteIPC ECustomSetAlwaysOnMode

test RunIscTestCase 112
test SyncIscTestCase

test SetAlwaysOnModeSelection HPLMN
allownextresult 0
waittestclass test

test SetAlwaysOnModeSelection VPLMN
allownextresult 0
waittestclass test

test SetAlwaysOnModeSelection Active
allownextresult 0
waittestclass test

test SetAlwaysOnModeSelection NotActive
allownextresult 0
waittestclass test

delete test
[Endtest]