usbuis/usbuinotif/tsrc/usbuinotifapitest/conf/ui_usbuinotifapitest.cfg
author hgs
Fri, 23 Apr 2010 23:57:55 +0300
changeset 46 0ffee699d6c7
parent 44 5323ec7dc425
child 52 831068540b07
permissions -rw-r--r--
201007
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
44
hgs
parents:
diff changeset
     1
/*
hgs
parents:
diff changeset
     2
* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
* All rights reserved.
hgs
parents:
diff changeset
     4
* This component and the accompanying materials are made available
46
hgs
parents: 44
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
44
hgs
parents:
diff changeset
     6
* which accompanies this distribution, and is available
46
hgs
parents: 44
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
44
hgs
parents:
diff changeset
     8
*
hgs
parents:
diff changeset
     9
* Initial Contributors:
hgs
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
*
hgs
parents:
diff changeset
    12
* Contributors:
hgs
parents:
diff changeset
    13
*
hgs
parents:
diff changeset
    14
* Description: Test script config file
hgs
parents:
diff changeset
    15
*
hgs
parents:
diff changeset
    16
*/
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
// UsbUiNotifApiTest Module - total 21 tc
hgs
parents:
diff changeset
    19
hgs
parents:
diff changeset
    20
// UsbUiNotifApiTest Api Tests (... tc)
hgs
parents:
diff changeset
    21
hgs
parents:
diff changeset
    22
// Cable connected notifier tests (3)
hgs
parents:
diff changeset
    23
hgs
parents:
diff changeset
    24
[Test]
hgs
parents:
diff changeset
    25
title USB Ovi Suite Personality Info (Cable Connected Notifier Test)
hgs
parents:
diff changeset
    26
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
    27
tester ExecuteApiTestBlock CableConnectedNotifierTest PCSUITEMTP
hgs
parents:
diff changeset
    28
pause 4000
hgs
parents:
diff changeset
    29
delete tester
hgs
parents:
diff changeset
    30
[Endtest]
hgs
parents:
diff changeset
    31
	
hgs
parents:
diff changeset
    32
[Test]
hgs
parents:
diff changeset
    33
title USB MS Personality Info (Cable Connected Notifier Test)
hgs
parents:
diff changeset
    34
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
    35
tester ExecuteApiTestBlock CableConnectedNotifierTest MS
hgs
parents:
diff changeset
    36
pause 4000
hgs
parents:
diff changeset
    37
delete tester
hgs
parents:
diff changeset
    38
[Endtest] 
hgs
parents:
diff changeset
    39
			
hgs
parents:
diff changeset
    40
[Test]
hgs
parents:
diff changeset
    41
title USB MTP Personality Info (Cable Connected Notifier Test)
hgs
parents:
diff changeset
    42
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
    43
tester ExecuteApiTestBlock CableConnectedNotifierTest MTP
hgs
parents:
diff changeset
    44
pause 4000
hgs
parents:
diff changeset
    45
delete tester
hgs
parents:
diff changeset
    46
[Endtest]
hgs
parents:
diff changeset
    47
hgs
parents:
diff changeset
    48
	
hgs
parents:
diff changeset
    49
[Test]
hgs
parents:
diff changeset
    50
title USB No Memory Card Query Accepted (USB Queries Notifier Test)
hgs
parents:
diff changeset
    51
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
    52
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBNoMemoryCard
hgs
parents:
diff changeset
    53
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
    54
delete tester
hgs
parents:
diff changeset
    55
[Endtest]
hgs
parents:
diff changeset
    56
hgs
parents:
diff changeset
    57
[Test]
hgs
parents:
diff changeset
    58
title USB Storage Media Failure Query Accepted/Device Key Enter Pressed (USB Queries Notifier Test)
hgs
parents:
diff changeset
    59
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
    60
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBStorageMediaFailure
hgs
parents:
diff changeset
    61
pause 3000
hgs
parents:
diff changeset
    62
presskey global EKeyEnter
hgs
parents:
diff changeset
    63
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
    64
delete tester
hgs
parents:
diff changeset
    65
[Endtest] 
hgs
parents:
diff changeset
    66
hgs
parents:
diff changeset
    67
[Test] 
hgs
parents:
diff changeset
    68
title USB Storage Media Failure Query Accepted/Device Key 0 Pressed (USB Queries Notifier Test)
hgs
parents:
diff changeset
    69
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
    70
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBStorageMediaFailure
hgs
parents:
diff changeset
    71
pause 1000
hgs
parents:
diff changeset
    72
presskey global EKeyDevice0
hgs
parents:
diff changeset
    73
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
    74
delete tester
hgs
parents:
diff changeset
    75
[Endtest] 
hgs
parents:
diff changeset
    76
hgs
parents:
diff changeset
    77
[Test]
hgs
parents:
diff changeset
    78
title USB Change From Mass Storage Query Accepted/Device Key Enter Pressed (USB Queries Notifier Test)
hgs
parents:
diff changeset
    79
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
    80
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBChangeFromMassStorage
hgs
parents:
diff changeset
    81
pause 3000
hgs
parents:
diff changeset
    82
presskey global EKeyEnter
hgs
parents:
diff changeset
    83
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
    84
delete tester
hgs
parents:
diff changeset
    85
[Endtest]
hgs
parents:
diff changeset
    86
hgs
parents:
diff changeset
    87
[Test]
hgs
parents:
diff changeset
    88
title USB Change From Mass Storage Query Accepted/Device Key 0 Pressed (USB Queries Notifier Test)
hgs
parents:
diff changeset
    89
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
    90
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBChangeFromMassStorage
hgs
parents:
diff changeset
    91
pause 3000
hgs
parents:
diff changeset
    92
presskey global EKeyDevice0
hgs
parents:
diff changeset
    93
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
    94
delete tester
hgs
parents:
diff changeset
    95
[Endtest] 
hgs
parents:
diff changeset
    96
hgs
parents:
diff changeset
    97
[Test]
hgs
parents:
diff changeset
    98
title USB Change From Mass Storage Query Cancelled (USB Queries Notifier Test)
hgs
parents:
diff changeset
    99
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   100
tester ExecuteApiTestBlock UsbQueriesNotifierTest EUSBChangeFromMassStorage
hgs
parents:
diff changeset
   101
pause 3000
hgs
parents:
diff changeset
   102
presskey global EKeyDevice1
hgs
parents:
diff changeset
   103
tester ExecuteApiTestBlock FinishQuery CANCEL
hgs
parents:
diff changeset
   104
delete tester
hgs
parents:
diff changeset
   105
[Endtest]  
hgs
parents:
diff changeset
   106
hgs
parents:
diff changeset
   107
hgs
parents:
diff changeset
   108
[Test]
hgs
parents:
diff changeset
   109
title OTG Error too much power (Otg Error Notifier Test)
hgs
parents:
diff changeset
   110
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   111
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgTooMuchPower
hgs
parents:
diff changeset
   112
pause 3000
hgs
parents:
diff changeset
   113
presskey global EKeyDevice0
hgs
parents:
diff changeset
   114
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   115
delete tester
hgs
parents:
diff changeset
   116
[Endtest] 
hgs
parents:
diff changeset
   117
hgs
parents:
diff changeset
   118
[Test]
hgs
parents:
diff changeset
   119
title OTG Error too much power (Otg Error Notifier Test)
hgs
parents:
diff changeset
   120
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   121
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgTooMuchPowerRequired
hgs
parents:
diff changeset
   122
pause 3000
hgs
parents:
diff changeset
   123
presskey global EKeyDevice0
hgs
parents:
diff changeset
   124
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   125
delete tester
hgs
parents:
diff changeset
   126
[Endtest] 
hgs
parents:
diff changeset
   127
hgs
parents:
diff changeset
   128
[Test]
hgs
parents:
diff changeset
   129
title OTG Error unsupported device (Otg Error Notifier Test)
hgs
parents:
diff changeset
   130
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   131
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgUnsupportedDevice
hgs
parents:
diff changeset
   132
pause 3000
hgs
parents:
diff changeset
   133
presskey global EKeyDevice0
hgs
parents:
diff changeset
   134
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   135
delete tester
hgs
parents:
diff changeset
   136
[Endtest] 
hgs
parents:
diff changeset
   137
hgs
parents:
diff changeset
   138
[Test]
hgs
parents:
diff changeset
   139
title OTG Error Hub not supported device (Otg Error Notifier Test)
hgs
parents:
diff changeset
   140
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   141
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgHubUnsupported
hgs
parents:
diff changeset
   142
pause 3000
hgs
parents:
diff changeset
   143
presskey global EKeyDevice0
hgs
parents:
diff changeset
   144
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   145
delete tester
hgs
parents:
diff changeset
   146
[Endtest] 
hgs
parents:
diff changeset
   147
hgs
parents:
diff changeset
   148
[Test]
hgs
parents:
diff changeset
   149
title OTG Error error in connection (Otg Error Notifier Test)
hgs
parents:
diff changeset
   150
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   151
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgErrorInConnection
hgs
parents:
diff changeset
   152
pause 3000
hgs
parents:
diff changeset
   153
presskey global EKeyDevice0
hgs
parents:
diff changeset
   154
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   155
delete tester
hgs
parents:
diff changeset
   156
[Endtest] 
hgs
parents:
diff changeset
   157
hgs
parents:
diff changeset
   158
[Test]
hgs
parents:
diff changeset
   159
title OTG Attach timed out (Otg Error Notifier Test)
hgs
parents:
diff changeset
   160
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   161
tester ExecuteApiTestBlock UsbOTGErrorNotifierTests EUsbOtgErrorAttachTimedOut
hgs
parents:
diff changeset
   162
pause 3000
hgs
parents:
diff changeset
   163
presskey global EKeyDevice0
hgs
parents:
diff changeset
   164
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   165
delete tester
hgs
parents:
diff changeset
   166
[Endtest] 
hgs
parents:
diff changeset
   167
hgs
parents:
diff changeset
   168
[Test]
hgs
parents:
diff changeset
   169
title OTG Partially supported device (Otg Warning Notifier Test)
hgs
parents:
diff changeset
   170
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   171
tester ExecuteApiTestBlock UsbOTGWarningNotifierTests EUsbOtgPartiallySupportedDevice
hgs
parents:
diff changeset
   172
pause 500
hgs
parents:
diff changeset
   173
presskey global EKeyDevice0
hgs
parents:
diff changeset
   174
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   175
delete tester
hgs
parents:
diff changeset
   176
[Endtest] 
hgs
parents:
diff changeset
   177
hgs
parents:
diff changeset
   178
[Test]
hgs
parents:
diff changeset
   179
title Load and Unload notifiers
hgs
parents:
diff changeset
   180
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   181
tester ExecuteApiTestBlock LoadNotifiers
hgs
parents:
diff changeset
   182
pause 500
hgs
parents:
diff changeset
   183
tester ExecuteApiTestBlock UnLoadNotifiers
hgs
parents:
diff changeset
   184
delete tester
hgs
parents:
diff changeset
   185
[Endtest] 
hgs
parents:
diff changeset
   186
hgs
parents:
diff changeset
   187
[Test]
hgs
parents:
diff changeset
   188
title MSMM error test (MSMM error Notifier Test)
hgs
parents:
diff changeset
   189
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   190
tester ExecuteApiTestBlock UsbMSMMNotifierTests EUsbMSMMGeneralError
hgs
parents:
diff changeset
   191
pause 500
hgs
parents:
diff changeset
   192
presskey global EKeyDevice0
hgs
parents:
diff changeset
   193
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   194
delete tester
hgs
parents:
diff changeset
   195
[Endtest] 
hgs
parents:
diff changeset
   196
hgs
parents:
diff changeset
   197
[Test]
hgs
parents:
diff changeset
   198
title MSMM error test (MSMM error Notifier Test)
hgs
parents:
diff changeset
   199
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   200
tester ExecuteApiTestBlock UsbMSMMNotifierTests EUsbMSMMUnknownFileSystem
hgs
parents:
diff changeset
   201
pause 500
hgs
parents:
diff changeset
   202
presskey global EKeyDevice0
hgs
parents:
diff changeset
   203
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   204
delete tester
hgs
parents:
diff changeset
   205
[Endtest] 
hgs
parents:
diff changeset
   206
hgs
parents:
diff changeset
   207
[Test]
hgs
parents:
diff changeset
   208
title MSMM error test (MSMM error Notifier Test)
hgs
parents:
diff changeset
   209
create UsbUiNotifApiTest tester
hgs
parents:
diff changeset
   210
tester ExecuteApiTestBlock UsbMSMMNotifierTests EUsbMSMMOutOfMemory
hgs
parents:
diff changeset
   211
pause 500
hgs
parents:
diff changeset
   212
presskey global EKeyDevice0
hgs
parents:
diff changeset
   213
tester ExecuteApiTestBlock FinishQuery ACCEPT
hgs
parents:
diff changeset
   214
delete tester
hgs
parents:
diff changeset
   215
[Endtest] 
hgs
parents:
diff changeset
   216
hgs
parents:
diff changeset
   217
// Add new api tests here
hgs
parents:
diff changeset
   218
// ...
hgs
parents:
diff changeset
   219
hgs
parents:
diff changeset
   220
hgs
parents:
diff changeset
   221
// UsbUiNotifApiTest Module Tests (... tc)
hgs
parents:
diff changeset
   222
hgs
parents:
diff changeset
   223
// Add new module tests here
hgs
parents:
diff changeset
   224
// ...
hgs
parents:
diff changeset
   225
hgs
parents:
diff changeset
   226
hgs
parents:
diff changeset
   227
// UsbUiNotifApiTest Branch Tests (... tc)
hgs
parents:
diff changeset
   228
hgs
parents:
diff changeset
   229
// Add new branch tests here
hgs
parents:
diff changeset
   230
// ...