os/boardsupport/haitest/bspsvs/suite/bsp/mmc/scripts/BASE-BSP-MMC-PSU-DRIVER.script
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
//
sl@0
     2
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     3
// All rights reserved.
sl@0
     4
// This component and the accompanying materials are made available
sl@0
     5
// under the terms of "Eclipse Public License v1.0"
sl@0
     6
// which accompanies this distribution, and is available
sl@0
     7
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
//
sl@0
     9
// Initial Contributors:
sl@0
    10
// Nokia Corporation - initial contribution.
sl@0
    11
//
sl@0
    12
// Contributors:
sl@0
    13
//
sl@0
    14
// Description:
sl@0
    15
//
sl@0
    16
sl@0
    17
LOAD_SUITE	T_mmcsd
sl@0
    18
sl@0
    19
sl@0
    20
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0001
sl@0
    21
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0001
sl@0
    22
//! @SYMTestCaseDesc		Load MMC/SD Logical Device Driver
sl@0
    23
//! @SYMTestPriority		high
sl@0
    24
//! @SYMTestActions		Load D_MMCSDIF LDD Driver
sl@0
    25
//! @SYMTestExpectedResults	KErrNone
sl@0
    26
//! @SYMTestType		CIT
sl@0
    27
//! @SYMCreationDate		1/4/2008
sl@0
    28
//! @SYMAuthor			Saravanakumar
sl@0
    29
//! @SYMTestStatus		Implemented
sl@0
    30
//! @SYMAPI			User::LoadLogicalDevice(const TDesC {ref});
sl@0
    31
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
    32
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
    33
		COMMAND		mmcsdsession1	NewL
sl@0
    34
		COMMAND		mmcsdsession1	LoadDriver		BASE-BSP-MMC-DRIVER-LDDName-CMD0001
sl@0
    35
		COMMAND		mmcsdsession1	~
sl@0
    36
	END_TEST_BLOCK
sl@0
    37
END_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0001
sl@0
    38
sl@0
    39
sl@0
    40
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0002
sl@0
    41
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0002
sl@0
    42
//! @SYMTestCaseDesc		MMC/SD Power Supply Test - Display the MMC/SD card Bus inactivity Timeout
sl@0
    43
//! @SYMTestPriority		high
sl@0
    44
//! @SYMTestActions		1. Create  RMMCSDTestControllerInterface Handle object.
sl@0
    45
//!				2. Load the Driver
sl@0
    46
//!				3. Open the driver connection
sl@0
    47
//!				4. Reads the bus inactivity count
sl@0
    48
//!				5. Display the bus inactivity count
sl@0
    49
//!				6. Close the driver connection
sl@0
    50
//!				7. Destroy the object
sl@0
    51
//! @SYMTestExpectedResults	Displayed the bus inactivity count
sl@0
    52
//! @SYMTestType		CIT
sl@0
    53
//! @SYMCreationDate		1/4/2008
sl@0
    54
//! @SYMAuthor			Saravanakumar
sl@0
    55
//! @SYMTestStatus		Implemented
sl@0
    56
//! @SYMAPI			DMMCPsu::PsuInfo(TPBusPsuInfo {ref});
sl@0
    57
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
    58
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
    59
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1	
sl@0
    60
		COMMAND		mmcsdsession1	NewL
sl@0
    61
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-DRIVER-StackNumber
sl@0
    62
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-DRIVER-SessionWrapperName
sl@0
    63
		COMMAND		mmcsdpsu1	PsuInfo			BASE-BSP-MMC-DRIVER-PsuInfo-CMD002
sl@0
    64
		COMMAND		mmcsdsession1	Close
sl@0
    65
		COMMAND		mmcsdpsu1	~
sl@0
    66
		COMMAND		mmcsdsession1	~
sl@0
    67
	END_TEST_BLOCK
sl@0
    68
END_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0002
sl@0
    69
sl@0
    70
sl@0
    71
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0003
sl@0
    72
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0003
sl@0
    73
//! @SYMTestCaseDesc		MMC/SD Power Supply Test - Set the supported voltage setting to be used when the stack is next powered up
sl@0
    74
//!				the voltage level, or range of voltages supported in OCR format
sl@0
    75
//! @SYMTestPriority		high
sl@0
    76
//! @SYMTestActions		1. Create  RMMCSDTestControllerInterface Handle object.
sl@0
    77
//!				2. Load the Driver
sl@0
    78
//!				3. Open the driver connection
sl@0
    79
//!				4. Set the voltages supported in OCR format
sl@0
    80
//!				5. Display voltages supported in OCR format
sl@0
    81
//!				6. Close the driver connection
sl@0
    82
//!				7. Destroy the object
sl@0
    83
//! @SYMTestExpectedResults	KErrNone
sl@0
    84
//! @SYMTestType		CIT
sl@0
    85
//! @SYMCreationDate		1/4/2008
sl@0
    86
//! @SYMAuthor			Saravanakumar
sl@0
    87
//! @SYMTestStatus		Implemented
sl@0
    88
//! @SYMAPI			DMMCPsu::DoSetVoltage();
sl@0
    89
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
    90
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
    91
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1	
sl@0
    92
		COMMAND		mmcsdsession1	NewL
sl@0
    93
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-DRIVER-StackNumber
sl@0
    94
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-DRIVER-SessionWrapperName
sl@0
    95
		COMMAND		mmcsdpsu1	SetVoltage		BASE-BSP-MMC-DRIVER-Supported-PSUVoltageOCR-CMD0003
sl@0
    96
		COMMAND		mmcsdsession1	Close
sl@0
    97
		COMMAND		mmcsdpsu1	~
sl@0
    98
		COMMAND		mmcsdsession1	~
sl@0
    99
	END_TEST_BLOCK
sl@0
   100
END_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0003
sl@0
   101
sl@0
   102
sl@0
   103
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0004
sl@0
   104
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0004
sl@0
   105
//! @SYMTestCaseDesc		MMC/SD Power Supply Test - Set the MMC/SD card Current VCC state as OFF
sl@0
   106
//!				Uses API elements:
sl@0
   107
//!				DMMCPsu::iVcc()
sl@0
   108
//! @SYMTestPriority		high
sl@0
   109
//! @SYMTestActions		1. Create  RMMCSDTestControllerInterface Handle object.
sl@0
   110
//!				2. Load the Driver
sl@0
   111
//!				3. Open the driver connection
sl@0
   112
//!				4. Set the MMC/SD card Current VCC state
sl@0
   113
//!				5. Display Current VCC state
sl@0
   114
//!				6. Close the driver connection
sl@0
   115
//!				7. Destroy the object
sl@0
   116
//! @SYMTestExpectedResults	VCC state Displayed OFF
sl@0
   117
//! @SYMTestType		CIT
sl@0
   118
//! @SYMCreationDate		1/4/2008
sl@0
   119
//! @SYMAuthor			Saravanakumar
sl@0
   120
//! @SYMTestStatus		Implemented
sl@0
   121
//! @SYMAPI			DMMCPsu::SetState(TPBusPsuState);
sl@0
   122
//!				DMMCSocket::{DPBusPsuBase {ptr}}iVcc
sl@0
   123
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
   124
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   125
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1	
sl@0
   126
		COMMAND		mmcsdsession1	NewL
sl@0
   127
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-DRIVER-StackNumber
sl@0
   128
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-DRIVER-SessionWrapperName
sl@0
   129
		COMMAND		mmcsdpsu1	SetState  		BASE-BSP-MMC-DRIVER-VccStateOFF-CMD0004
sl@0
   130
		COMMAND		mmcsdpsu1	VccState  		BASE-BSP-MMC-DRIVER-VccStateOFF-CMD0004
sl@0
   131
		COMMAND		mmcsdsession1	Close
sl@0
   132
		COMMAND		mmcsdpsu1	~
sl@0
   133
		COMMAND		mmcsdsession1	~
sl@0
   134
	END_TEST_BLOCK
sl@0
   135
END_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0004
sl@0
   136
sl@0
   137
sl@0
   138
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0005
sl@0
   139
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0005
sl@0
   140
//! @SYMTestCaseDesc		MMC/SD Power Supply Test - Set the MMC/SD card VCC state as EPsuOnCurLimit
sl@0
   141
//! @SYMTestPriority		high
sl@0
   142
//! @SYMTestActions		1. Create  RMMCSDTestControllerInterface Handle object.
sl@0
   143
//!				2. Load the Driver
sl@0
   144
//!				3. Open the driver connection
sl@0
   145
//!				4. Set the MMC/SD card Current VCC state EPsuOnCurLimit
sl@0
   146
//!				5. Display Current PSU state
sl@0
   147
//!				6. Close the driver connection
sl@0
   148
//!				7. Destroy the object
sl@0
   149
//! @SYMTestExpectedResults	Current VCC state Displayed
sl@0
   150
//! @SYMTestType		CIT
sl@0
   151
//! @SYMCreationDate		1/4/2008
sl@0
   152
//! @SYMAuthor			Saravanakumar
sl@0
   153
//! @SYMTestStatus		Implemented
sl@0
   154
//! @SYMAPI			DMMCPsu::SetState(TPBusPsuState);
sl@0
   155
//!				DMMCSocket::{DPBusPsuBase {ptr}}iVcc
sl@0
   156
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
   157
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   158
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1	
sl@0
   159
		COMMAND		mmcsdsession1	NewL
sl@0
   160
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-DRIVER-StackNumber
sl@0
   161
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-DRIVER-SessionWrapperName
sl@0
   162
		COMMAND		mmcsdpsu1	SetState		BASE-BSP-MMC-DRIVER-VccStatePsuOnCurLimit-CMD0005
sl@0
   163
		COMMAND		mmcsdpsu1	VccState		BASE-BSP-MMC-DRIVER-VccStatePsuOnCurLimit-CMD0005
sl@0
   164
		COMMAND		mmcsdsession1	Close
sl@0
   165
		COMMAND		mmcsdpsu1	~
sl@0
   166
		COMMAND		mmcsdsession1	~
sl@0
   167
	END_TEST_BLOCK
sl@0
   168
END_TESTCASE			 BASE-BSP-MMC-DRIVER-DMMCPsu-0005
sl@0
   169
sl@0
   170
sl@0
   171
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0006
sl@0
   172
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0006
sl@0
   173
//! @SYMTestCaseDesc		MMC/SD Power Supply Test - Set Current VCC state EPsuOnFull
sl@0
   174
//! @SYMTestPriority		high
sl@0
   175
//! @SYMTestActions		1. Create  RMMCSDTestControllerInterface Handle object.
sl@0
   176
//!				2. Load the Driver
sl@0
   177
//!				3. Open the driver connection
sl@0
   178
//!				4. Set the MMC/SD card Current VCC state
sl@0
   179
//!				5. Display Current VCC state
sl@0
   180
//!				6. Close the driver connection
sl@0
   181
//!				7. Destroy the object
sl@0
   182
//! @SYMTestExpectedResults	Current VCC state Displayed
sl@0
   183
//! @SYMTestType		CIT
sl@0
   184
//! @SYMCreationDate		1/4/2008
sl@0
   185
//! @SYMAuthor			Saravanakumar
sl@0
   186
//! @SYMTestStatus		Implemented
sl@0
   187
//! @SYMAPI			DMMCSocket::{DPBusPsuBase {ptr}}iVcc
sl@0
   188
	START_TEST_BLOCK	100		T_mmcsd		 	\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
   189
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   190
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1	
sl@0
   191
		COMMAND		mmcsdsession1	NewL
sl@0
   192
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-DRIVER-StackNumber
sl@0
   193
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-DRIVER-SessionWrapperName
sl@0
   194
		COMMAND		mmcsdpsu1	SetState  		BASE-BSP-MMC-DRIVER-VccStatePsuOnFull-CMD0006
sl@0
   195
		COMMAND		mmcsdpsu1	VccState 		BASE-BSP-MMC-DRIVER-VccStatePsuOnFull-CMD0006
sl@0
   196
		COMMAND		mmcsdsession1	Close
sl@0
   197
		COMMAND		mmcsdpsu1	~
sl@0
   198
		COMMAND		mmcsdsession1	~
sl@0
   199
	END_TEST_BLOCK
sl@0
   200
END_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0006
sl@0
   201
sl@0
   202
sl@0
   203
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0007
sl@0
   204
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0007
sl@0
   205
//! @SYMTestCaseDesc		MMC/SD Socket Power Supply Test - Current Bus State.
sl@0
   206
//! @SYMTestPriority		high
sl@0
   207
//! @SYMTestActions		1. Create  RMMCSDTestControllerInterface Handle object.
sl@0
   208
//!				2. Load the Driver
sl@0
   209
//!				3. Open the driver connection
sl@0
   210
//!				4. Check TPBusPsuState
sl@0
   211
//!				5. Display the BusPsuState
sl@0
   212
//!				6. Close the driver connection
sl@0
   213
//!				7. Destroy the object
sl@0
   214
//! @SYMTestExpectedResults	Displayed the platform status while turn on
sl@0
   215
//! @SYMTestType		CIT
sl@0
   216
//! @SYMCreationDate		1/4/2008
sl@0
   217
//! @SYMAuthor			Saravanakumar
sl@0
   218
//! @SYMTestStatus		Implemented
sl@0
   219
//! @SYMAPI			DMMCSocket::iState();
sl@0
   220
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
   221
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   222
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1	
sl@0
   223
		COMMAND		mmcsdsession1	NewL
sl@0
   224
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-DRIVER-StackNumber
sl@0
   225
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-DRIVER-SessionWrapperName
sl@0
   226
		COMMAND		mmcsdpsu1	PbusState		BASE-BSP-MMC-DRIVER-PbusState-CMD0007
sl@0
   227
		COMMAND		mmcsdsession1	Close
sl@0
   228
		COMMAND		mmcsdpsu1	~
sl@0
   229
		COMMAND		mmcsdsession1	~
sl@0
   230
	END_TEST_BLOCK
sl@0
   231
END_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0007
sl@0
   232
sl@0
   233
sl@0
   234
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0008
sl@0
   235
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0008
sl@0
   236
//! @SYMTestCaseDesc		MMC/SD Power Supply Test - Reads PSU Unit number.
sl@0
   237
//! @SYMTestPriority		high
sl@0
   238
//! @SYMTestActions		1. Create  RMMCSDTestControllerInterface Handle object.
sl@0
   239
//!				2. Load the Driver
sl@0
   240
//!				3. Open the driver connection
sl@0
   241
//!				4. Reads PSU Unit number
sl@0
   242
//!				5. Display the PSU Unit number
sl@0
   243
//!				6. Close the driver connection
sl@0
   244
//!				7. Destroy the object
sl@0
   245
//! @SYMTestExpectedResults	KErrNone
sl@0
   246
//! @SYMTestType		CIT
sl@0
   247
//! @SYMCreationDate		1/4/2008
sl@0
   248
//! @SYMAuthor			Saravanakumar
sl@0
   249
//! @SYMTestStatus		Implemented
sl@0
   250
//! @SYMAPI			DMMCPsu::iPsuNum();
sl@0
   251
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
   252
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   253
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1	
sl@0
   254
		COMMAND		mmcsdsession1	NewL
sl@0
   255
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-DRIVER-StackNumber
sl@0
   256
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-DRIVER-SessionWrapperName
sl@0
   257
		COMMAND		mmcsdpsu1	PsuNumber		BASE-BSP-MMC-DRIVER-PsuNumber-CMD0008
sl@0
   258
		COMMAND		mmcsdsession1	Close
sl@0
   259
		COMMAND		mmcsdpsu1	~
sl@0
   260
		COMMAND		mmcsdsession1	~
sl@0
   261
	END_TEST_BLOCK
sl@0
   262
END_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0008
sl@0
   263
sl@0
   264
sl@0
   265
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0009
sl@0
   266
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0009
sl@0
   267
//! @SYMTestCaseDesc		MMC/SD Power Supply Test - Reads Meadia Change number.
sl@0
   268
//! @SYMTestPriority		high
sl@0
   269
//! @SYMTestActions		1. Create  RMMCSDTestControllerInterface Handle object.
sl@0
   270
//!				2. Load the Driver
sl@0
   271
//!				3. Open the driver connection
sl@0
   272
//!				4. Reads Meadia Change number
sl@0
   273
//!				5. Display the Meadia Change number
sl@0
   274
//!				6. Close the driver connection
sl@0
   275
//!				7. Destroy the object
sl@0
   276
//! @SYMTestExpectedResults	KErrNone
sl@0
   277
//! @SYMTestType		CIT
sl@0
   278
//! @SYMCreationDate		1/4/2008
sl@0
   279
//! @SYMAuthor			Saravanakumar
sl@0
   280
//! @SYMTestStatus		Implemented
sl@0
   281
//! @SYMAPI			DMMCPsu::iMediaChangeNum()
sl@0
   282
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
   283
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   284
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1	
sl@0
   285
		COMMAND		mmcsdsession1	NewL
sl@0
   286
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-DRIVER-StackNumber
sl@0
   287
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-DRIVER-SessionWrapperName
sl@0
   288
		COMMAND		mmcsdpsu1	MediaChangeNumber	BASE-BSP-MMC-DRIVER-MediaChangeNumber-CMD0009
sl@0
   289
		COMMAND		mmcsdsession1	Close
sl@0
   290
		COMMAND		mmcsdpsu1	~
sl@0
   291
		COMMAND		mmcsdsession1	~
sl@0
   292
	END_TEST_BLOCK
sl@0
   293
END_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0009
sl@0
   294
sl@0
   295
sl@0
   296
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0010
sl@0
   297
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0010
sl@0
   298
//! @SYMTestCaseDesc		MMC/SD Power Supply Test - Reads platform has current limit check support.
sl@0
   299
//! @SYMTestPriority		high
sl@0
   300
//! @SYMTestActions		1. Create  RMMCSDTestControllerInterface Handle object.
sl@0
   301
//!				2. Load the Driver
sl@0
   302
//!				3. Open the driver connection
sl@0
   303
//!				4. Reads platform has current limit check support
sl@0
   304
//!				5. Display the platform status
sl@0
   305
//!				6. Close the driver connection
sl@0
   306
//!				7. Destroy the object
sl@0
   307
//! @SYMTestExpectedResults	KErrNotSupported
sl@0
   308
//! @SYMTestType		CIT
sl@0
   309
//! @SYMCreationDate		1/4/2008
sl@0
   310
//! @SYMAuthor			Saravanakumar
sl@0
   311
//! @SYMTestStatus		Implemented
sl@0
   312
//! @SYMAPI			DMMCPsu::iCurrLimited()
sl@0
   313
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
   314
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   315
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1	
sl@0
   316
		COMMAND		mmcsdsession1	NewL
sl@0
   317
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-DRIVER-StackNumber
sl@0
   318
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-DRIVER-SessionWrapperName
sl@0
   319
		COMMAND 	mmcsdpsu1	PsuCurLimit		BASE-BSP-MMC-DRIVER-PsuCurLimit-CMD0010
sl@0
   320
		COMMAND		mmcsdsession1	Close
sl@0
   321
		COMMAND		mmcsdpsu1	~
sl@0
   322
		COMMAND		mmcsdsession1	~
sl@0
   323
	END_TEST_BLOCK
sl@0
   324
END_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0010
sl@0
   325
sl@0
   326
sl@0
   327
START_TESTCASE			BASE-BSP-MMC-DRIVER-DMMCPsu-0011
sl@0
   328
//! @SYMTestCaseID		BASE-BSP-MMC-DRIVER-DMMCPsu-0011
sl@0
   329
//! @SYMTestCaseDesc		UnLoad MMC/SD Logical Device Driver.
sl@0
   330
//! @SYMTestPriority		high
sl@0
   331
//! @SYMTestActions		Load D_MMCSDIF LDD Driver
sl@0
   332
//! @SYMTestExpectedResults	KErrNone
sl@0
   333
//! @SYMTestType		CIT
sl@0
   334
//! @SYMCreationDate		1/4/2008
sl@0
   335
//! @SYMAuthor			Saravanakumar
sl@0
   336
//! @SYMTestStatus		Implemented
sl@0
   337
//! @SYMAPI			User::FreeLogicalDevice(const TDesC{ref});
sl@0
   338
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-PSU-DRIVER.ini
sl@0
   339
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   340
		COMMAND		mmcsdsession1	NewL
sl@0
   341
		COMMAND		mmcsdsession1	UnLoadDriver		BASE-BSP-MMC-DRIVER-LDDName-CMD0001
sl@0
   342
		COMMAND		mmcsdsession1	~
sl@0
   343
	END_TEST_BLOCK
sl@0
   344
END_TESTCASE 			BASE-BSP-MMC-DRIVER-DMMCPsu-0011