os/boardsupport/haitest/bspsvs/suite/bsp/mmc/scripts/BASE-BSP-MMC-SOCKET-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-SOCKET-DRIVER-0001
sl@0
    21
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0001
sl@0
    22
//! @SYMAPI			User::LoadLogicalDevice(const TDesC {ref});
sl@0
    23
//! @SYMAuthor			James Mechen
sl@0
    24
//! @SYMCreationDate		11/04/2008
sl@0
    25
//! @SYMTestCaseDesc		Load Logical Device Driver.
sl@0
    26
//! @SYMTestActions    		Load D_MMCSDIF LDD Driver
sl@0
    27
//! @SYMTestStatus		Implemented
sl@0
    28
//! @SYMTestPriority		high
sl@0
    29
//! @SYMTestExpectedResults  	KErrNone
sl@0
    30
//! @SYMTestType		CIT
sl@0
    31
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
    32
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
    33
		COMMAND		mmcsdsession1	NewL
sl@0
    34
		COMMAND		mmcsdsession1	LoadDriver		BASE-BSP-MMC-SOCKET-DRIVER-0001-001-LoadDriver_command02
sl@0
    35
		COMMAND		mmcsdsession1	~
sl@0
    36
	END_TEST_BLOCK
sl@0
    37
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0001
sl@0
    38
sl@0
    39
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0002
sl@0
    40
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0002
sl@0
    41
//! @SYMAPI			DMMCSocket::Reset1();
sl@0
    42
//! @SYMAuthor			James Mechen
sl@0
    43
//! @SYMCreationDate		11/04/2008
sl@0
    44
//! @SYMTestCaseDesc		Reset1 Test - Reset the socket by powering down the stack.
sl@0
    45
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
    46
//!				2. Open the driver connection
sl@0
    47
//!				3. Reset the socket by powering down the stack
sl@0
    48
//!				4. Destroy the object
sl@0
    49
//! @SYMTestStatus		Implemented
sl@0
    50
//! @SYMTestPriority		high
sl@0
    51
//! @SYMTestExpectedResults	The socket is reset with no errors.
sl@0
    52
//! @SYMTestType		CIT
sl@0
    53
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
    54
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
    55
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
    56
		COMMAND		mmcsdsession1	NewL
sl@0
    57
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0002-001-DriverOpen_command01
sl@0
    58
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0002-001-NewL_command02
sl@0
    59
		COMMAND		mmcsdsocket1	Reset1
sl@0
    60
		COMMAND		mmcsdsession1	Close
sl@0
    61
		COMMAND		mmcsdsocket1	~
sl@0
    62
		COMMAND		mmcsdsession1	~
sl@0
    63
	END_TEST_BLOCK
sl@0
    64
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0002
sl@0
    65
sl@0
    66
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0003
sl@0
    67
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0003
sl@0
    68
//! @SYMAPI			DMMCSocket::Reset2();
sl@0
    69
//! @SYMAuthor			James Mechen
sl@0
    70
//! @SYMCreationDate		11/04/2008
sl@0
    71
//! @SYMTestCaseDesc		Reset2 Test - Reset the socket and free up allocated resources.
sl@0
    72
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
    73
//!				2. Open the driver connection
sl@0
    74
//!				3. Reset the socket by powering down the stack
sl@0
    75
//!				4. Reset the socket and free up allocated resources
sl@0
    76
//!				5. Destroy the object
sl@0
    77
//! @SYMTestStatus		Implemented
sl@0
    78
//! @SYMTestPriority		high
sl@0
    79
//! @SYMTestExpectedResults	The socket is reset with no errors.
sl@0
    80
//! @SYMTestType		CIT
sl@0
    81
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
    82
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
    83
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
    84
		COMMAND		mmcsdsession1	NewL
sl@0
    85
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0003-001-DriverOpen_command01
sl@0
    86
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0003-001-NewL_command02
sl@0
    87
		COMMAND		mmcsdsocket1	Reset1
sl@0
    88
		COMMAND		mmcsdsocket1	Reset2
sl@0
    89
		COMMAND		mmcsdsession1	Close
sl@0
    90
		COMMAND		mmcsdsocket1	~
sl@0
    91
		COMMAND		mmcsdsession1	~
sl@0
    92
	END_TEST_BLOCK
sl@0
    93
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0003
sl@0
    94
sl@0
    95
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0004
sl@0
    96
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0004
sl@0
    97
//! @SYMAPI			DMMCSocket::Stack(TInt);
sl@0
    98
//! @SYMAuthor			James Mechen
sl@0
    99
//! @SYMCreationDate		11/04/2008
sl@0
   100
//! @SYMTestCaseDesc		Stack Pointer Test - Get a pointer to a DMMCStack object.
sl@0
   101
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   102
//!				2. Open the driver connection
sl@0
   103
//!				3. Get a pointer to a DMMCStack object for MMC card number 1
sl@0
   104
//!				4. Destroy the object
sl@0
   105
//! @SYMTestStatus		Implemented
sl@0
   106
//! @SYMTestPriority		high
sl@0
   107
//! @SYMTestExpectedResults	The stack pointer is returned with no errors.
sl@0
   108
//! @SYMTestType		CIT
sl@0
   109
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   110
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   111
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   112
		COMMAND		mmcsdsession1	NewL
sl@0
   113
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0004-001-DriverOpen_command01
sl@0
   114
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0004-001-NewL_command02
sl@0
   115
		COMMAND		mmcsdsocket1	Stack			BASE-BSP-MMC-SOCKET-DRIVER-0004-001-Stack_command03
sl@0
   116
		COMMAND		mmcsdsession1	Close
sl@0
   117
		COMMAND		mmcsdsocket1	~
sl@0
   118
		COMMAND		mmcsdsession1	~
sl@0
   119
	END_TEST_BLOCK
sl@0
   120
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0004
sl@0
   121
sl@0
   122
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0005
sl@0
   123
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0005
sl@0
   124
//! @SYMAPI			DMMCSocket::ResetInactivity(TInt);
sl@0
   125
//! @SYMAuthor			James Mechen
sl@0
   126
//! @SYMCreationDate		11/04/2008
sl@0
   127
//! @SYMTestCaseDesc		Reset inactivity timer Test - Reset socket's PSU inactivity timer.
sl@0
   128
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   129
//!				2. Open the driver connection
sl@0
   130
//!				3. Reset socket's PSU inactivity timer
sl@0
   131
//!				4. Verify the bus inactivity count
sl@0
   132
//!				5. Destroy the object
sl@0
   133
//! @SYMTestStatus		Implemented
sl@0
   134
//! @SYMTestPriority		high
sl@0
   135
//! @SYMTestExpectedResults	PSU inactivity timer is reset with no errors.
sl@0
   136
//! @SYMTestType		CIT
sl@0
   137
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   138
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   139
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   140
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1
sl@0
   141
		COMMAND		mmcsdsession1	NewL
sl@0
   142
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0005-001-DriverOpen_command02
sl@0
   143
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0005-001-NewL_command03
sl@0
   144
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0005-001-NewL_command03
sl@0
   145
		COMMAND		mmcsdsocket1	ResetInactivity		BASE-BSP-MMC-SOCKET-DRIVER-0005-001-ResetInactivity_command04
sl@0
   146
		COMMAND		mmcsdpsu1	PsuInfo			BASE-BSP-MMC-SOCKET-DRIVER-0005-001-PsuInfo_command05
sl@0
   147
		COMMAND		mmcsdsession1	Close
sl@0
   148
		COMMAND		mmcsdpsu1	~
sl@0
   149
		COMMAND		mmcsdsocket1	~
sl@0
   150
		COMMAND		mmcsdsession1	~
sl@0
   151
	END_TEST_BLOCK
sl@0
   152
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0005
sl@0
   153
sl@0
   154
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0006
sl@0
   155
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0006
sl@0
   156
//! @SYMAPI			DMMCSocket::MachineInfo();
sl@0
   157
//! @SYMAuthor			James Mechen
sl@0
   158
//! @SYMCreationDate		11/04/2008
sl@0
   159
//! @SYMTestCaseDesc		MachineInfo Test - Get the MachineInfo from the PSL.
sl@0
   160
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   161
//!				2. Open the driver connection
sl@0
   162
//!				3. Get the MachineInfo from the PSL
sl@0
   163
//!				4. Destroy the object
sl@0
   164
//! @SYMTestStatus		Implemented
sl@0
   165
//! @SYMTestPriority		high
sl@0
   166
//! @SYMTestExpectedResults	MachineInfo is retrieved and contains the correct values.
sl@0
   167
//! @SYMTestType		CIT
sl@0
   168
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   169
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   170
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   171
		COMMAND		mmcsdsession1	NewL
sl@0
   172
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0006-001-DriverOpen_command01
sl@0
   173
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0006-001-NewL_command02
sl@0
   174
		COMMAND		mmcsdsocket1	MachineInfo		BASE-BSP-MMC-SOCKET-DRIVER-0006-001-MachineInfo_command03
sl@0
   175
		COMMAND		mmcsdsession1	Close
sl@0
   176
		COMMAND		mmcsdsocket1	~
sl@0
   177
		COMMAND		mmcsdsession1	~
sl@0
   178
	END_TEST_BLOCK
sl@0
   179
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0006
sl@0
   180
sl@0
   181
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0007
sl@0
   182
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0007
sl@0
   183
//! @SYMAPI			DMMCSocket::AdjustPartialRead(const TMMCard{ptr}, TUint32, TUint32, TUint32{ptr}, TUint32{ptr});
sl@0
   184
//! @SYMAuthor			James Mechen
sl@0
   185
//! @SYMCreationDate		11/04/2008
sl@0
   186
//! @SYMTestCaseDesc		Adjust Partial Read Test - Calculate minimum range that must be read off card.
sl@0
   187
//! @SYMTestActions    		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   188
//!				2. Open the driver connection
sl@0
   189
//!				3. Get pointer to card
sl@0
   190
//!				4. Calculate minimum range that must be read off card
sl@0
   191
//!				5. Destroy the objects
sl@0
   192
//! @SYMTestStatus		Implemented
sl@0
   193
//! @SYMTestPriority		high
sl@0
   194
//! @SYMTestExpectedResults	Minimum range that must be read off card is correctly returned.
sl@0
   195
//! @SYMTestType		CIT
sl@0
   196
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   197
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   198
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   199
		CREATE_OBJECT	MMCSDStack	mmcsdstack1
sl@0
   200
		COMMAND		mmcsdsession1	NewL
sl@0
   201
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0007-001-DriverOpen_command02
sl@0
   202
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0007-001-NewL_command03
sl@0
   203
		COMMAND		mmcsdstack1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0007-001-NewL_command03
sl@0
   204
		COMMAND		mmcsdstack1	CardP			BASE-BSP-MMC-SOCKET-DRIVER-0007-001-CardP_command04
sl@0
   205
		COMMAND		mmcsdsocket1	AdjustPartialRead	BASE-BSP-MMC-SOCKET-DRIVER-0007-001-AdjustPartialRead_command05
sl@0
   206
		COMMAND		mmcsdsession1	Close
sl@0
   207
		COMMAND		mmcsdstack1	~
sl@0
   208
		COMMAND		mmcsdsocket1	~
sl@0
   209
		COMMAND		mmcsdsession1	~
sl@0
   210
	END_TEST_BLOCK
sl@0
   211
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0007
sl@0
   212
sl@0
   213
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0008
sl@0
   214
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0008
sl@0
   215
//! @SYMAPI			DMMCSocket::GetBufferInfo(TUint8{ptr}{ptr}, TInt{ptr});
sl@0
   216
//! @SYMAuthor			James Mechen
sl@0
   217
//! @SYMCreationDate		11/04/2008
sl@0
   218
//! @SYMTestCaseDesc		Get Buffer Info Test - Get details of the buffer allocated by socket for data transfer operations.
sl@0
   219
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   220
//!				2. Open the driver connection
sl@0
   221
//!				3. Get details of the buffer allocated by socket for data transfer operations
sl@0
   222
//!				4. Destroy the object
sl@0
   223
//! @SYMTestStatus		Implemented
sl@0
   224
//! @SYMTestPriority		high
sl@0
   225
//! @SYMTestExpectedResults	Correct buffer details are returned with no errors.
sl@0
   226
//! @SYMTestType		CIT
sl@0
   227
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   228
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   229
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   230
		COMMAND		mmcsdsession1	NewL
sl@0
   231
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0008-001-DriverOpen_command01
sl@0
   232
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0008-001-NewL_command02
sl@0
   233
		COMMAND		mmcsdsocket1	GetBufferInfo		BASE-BSP-MMC-SOCKET-DRIVER-0008-001-GetBufferInfo_command03
sl@0
   234
		COMMAND		mmcsdsession1	Close
sl@0
   235
		COMMAND		mmcsdsocket1	~
sl@0
   236
		COMMAND		mmcsdsession1	~
sl@0
   237
	END_TEST_BLOCK
sl@0
   238
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0008
sl@0
   239
sl@0
   240
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0009
sl@0
   241
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0009
sl@0
   242
//! @SYMAPI			DMMCSocket::PrepareStore(TInt, TInt, TLocalDrivePasswordData{ref});
sl@0
   243
//! @SYMAuthor			James Mechen
sl@0
   244
//! @SYMCreationDate		11/04/2008
sl@0
   245
//! @SYMTestCaseDesc		Prepare Store Test - Prepare store so mappings can be allocated or deallocated.
sl@0
   246
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   247
//!				2. Open the driver connection
sl@0
   248
//!				3. Prepare store so mappings can be allocated or deallocated, using operation EPasswordClear
sl@0
   249
//!				4. Destroy the object
sl@0
   250
//! @SYMTestStatus		Implemented
sl@0
   251
//! @SYMTestPriority		high
sl@0
   252
//! @SYMTestExpectedResults	Store is prepared with no errors.
sl@0
   253
//! @SYMTestType		CIT
sl@0
   254
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   255
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   256
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   257
		COMMAND		mmcsdsession1	NewL
sl@0
   258
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0009-001-DriverOpen_command01
sl@0
   259
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0006-001-NewL_command02
sl@0
   260
		COMMAND		mmcsdsocket1	PrepareStore		BASE-BSP-MMC-SOCKET-DRIVER-0009-001-PrepareStore_command03
sl@0
   261
		COMMAND		mmcsdsession1	Close
sl@0
   262
		COMMAND		mmcsdsocket1	~
sl@0
   263
		COMMAND		mmcsdsession1	~
sl@0
   264
	END_TEST_BLOCK
sl@0
   265
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0009
sl@0
   266
sl@0
   267
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0010
sl@0
   268
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0010
sl@0
   269
//! @SYMAPI			DMMCSocket::Init();
sl@0
   270
//! @SYMAuthor			James Mechen
sl@0
   271
//! @SYMCreationDate		15/05/2008
sl@0
   272
//! @SYMTestCaseDesc		Initialise Test - Allocate resources and initialise the MMC socket and associated stack object.
sl@0
   273
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   274
//!				2. Open the driver connection
sl@0
   275
//!				3. Allocate resources and initialise the MMC socket and associated stack object
sl@0
   276
//!				4. Destroy the object
sl@0
   277
//! @SYMTestStatus		Implemented
sl@0
   278
//! @SYMTestPriority		high
sl@0
   279
//! @SYMTestExpectedResults	MMC socket initialised with no error.
sl@0
   280
//! @SYMTestType		CIT
sl@0
   281
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   282
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   283
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   284
		COMMAND		mmcsdsession1	NewL
sl@0
   285
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0010-001-DriverOpen_command01
sl@0
   286
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0010-001-NewL_command02
sl@0
   287
		COMMAND		mmcsdsocket1	Init
sl@0
   288
		COMMAND		mmcsdsession1	Close
sl@0
   289
		COMMAND		mmcsdsocket1	~
sl@0
   290
		COMMAND		mmcsdsession1	~
sl@0
   291
	END_TEST_BLOCK
sl@0
   292
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0010
sl@0
   293
sl@0
   294
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0011
sl@0
   295
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0011
sl@0
   296
//! @SYMAPI			DMMCSocket::Init();
sl@0
   297
//! @SYMAuthor			James Mechen
sl@0
   298
//! @SYMCreationDate		15/05/2008
sl@0
   299
//! @SYMTestCaseDesc		Initialise Test - Allocate resources and initialise the MMC socket and associated stack object.
sl@0
   300
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   301
//!				2. Open the driver connection
sl@0
   302
//!				3. Allocate resources and initialise the MMC socket and associated stack object
sl@0
   303
//!				4. Destroy the object
sl@0
   304
//! @SYMTestStatus		Implemented
sl@0
   305
//! @SYMTestPriority		high
sl@0
   306
//! @SYMTestExpectedResults	MMC socket initialised with error KErrAlreadyExists.
sl@0
   307
//! @SYMTestType		CIT
sl@0
   308
	START_TEST_BLOCK		100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   309
		CREATE_OBJECT		MMCSDSession	mmcsdsession1
sl@0
   310
		CREATE_OBJECT		MMCSDSocket	mmcsdsocket1
sl@0
   311
		COMMAND			mmcsdsession1	NewL
sl@0
   312
		COMMAND			mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0011-001-DriverOpen_command01
sl@0
   313
		COMMAND			mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0011-001-NewL_command02
sl@0
   314
		COMMAND	!Error=-11	mmcsdsocket1	Init
sl@0
   315
		COMMAND			mmcsdsession1	Close
sl@0
   316
		COMMAND			mmcsdsocket1	~
sl@0
   317
		COMMAND			mmcsdsession1	~
sl@0
   318
	END_TEST_BLOCK
sl@0
   319
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0011
sl@0
   320
sl@0
   321
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0012
sl@0
   322
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0012
sl@0
   323
//! @SYMAPI			DMMCSocket::Init();
sl@0
   324
//! @SYMAuthor			James Mechen
sl@0
   325
//! @SYMCreationDate		15/05/2008
sl@0
   326
//! @SYMTestCaseDesc		Initialise Test - Allocate resources and initialise the MMC socket and associated stack object.
sl@0
   327
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   328
//!				2. Open the driver connection
sl@0
   329
//!				3. Allocate resources and initialise the MMC socket and associated stack object
sl@0
   330
//!				4. Destroy the object
sl@0
   331
//! @SYMTestStatus		Implemented
sl@0
   332
//! @SYMTestPriority		high
sl@0
   333
//! @SYMTestExpectedResults	MMC socket initialised with error KErrInUse.
sl@0
   334
//! @SYMTestType		CIT
sl@0
   335
	START_TEST_BLOCK		100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   336
		CREATE_OBJECT		MMCSDSession	mmcsdsession1
sl@0
   337
		CREATE_OBJECT		MMCSDSocket	mmcsdsocket1
sl@0
   338
		COMMAND			mmcsdsession1	NewL
sl@0
   339
		COMMAND			mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0011-001-DriverOpen_command01
sl@0
   340
		COMMAND			mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0011-001-NewL_command02
sl@0
   341
		COMMAND	!Error=-14	mmcsdsocket1	Init
sl@0
   342
		COMMAND			mmcsdsession1	Close
sl@0
   343
		COMMAND			mmcsdsocket1	~
sl@0
   344
		COMMAND			mmcsdsession1	~
sl@0
   345
	END_TEST_BLOCK
sl@0
   346
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0012
sl@0
   347
sl@0
   348
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0013
sl@0
   349
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0013
sl@0
   350
//! @SYMAPI			DMMCSocket::InitiatePowerUpSequence();
sl@0
   351
//! @SYMAuthor			James Mechen
sl@0
   352
//! @SYMCreationDate		15/05/2008
sl@0
   353
//! @SYMTestCaseDesc		Initiate Power Up Sequence Test - Initiate power up sequence on the stack.
sl@0
   354
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   355
//!				2. Open the driver connection
sl@0
   356
//!				3. Initiate power up sequence on the stack
sl@0
   357
//!				4. Destroy the object
sl@0
   358
//! @SYMTestStatus		Implemented
sl@0
   359
//! @SYMTestPriority		high
sl@0
   360
//! @SYMTestExpectedResults	Power up sequence initiated with no errors.
sl@0
   361
//! @SYMTestType		CIT
sl@0
   362
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   363
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   364
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   365
		COMMAND		mmcsdsession1	NewL
sl@0
   366
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0013-001-DriverOpen_command01
sl@0
   367
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0013-001-NewL_command02
sl@0
   368
		COMMAND		mmcsdsocket1	InitiatePowerUpSequence
sl@0
   369
		COMMAND		mmcsdsession1	Close
sl@0
   370
		COMMAND		mmcsdsocket1	~
sl@0
   371
		COMMAND		mmcsdsession1	~
sl@0
   372
	END_TEST_BLOCK
sl@0
   373
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0013
sl@0
   374
sl@0
   375
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0014
sl@0
   376
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0014
sl@0
   377
//! @SYMAPI			DMMCSocket::Reset2();
sl@0
   378
//! @SYMAuthor			James Mechen
sl@0
   379
//! @SYMCreationDate		25/06/2008
sl@0
   380
//! @SYMTestCaseDesc		Reset2 Test - Reset the socket and free up allocated resources, without powering down the stack first.
sl@0
   381
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   382
//!				2. Open the driver connection
sl@0
   383
//!				3. Reset the socket and free up allocated resources
sl@0
   384
//!				4. Destroy the object
sl@0
   385
//! @SYMTestStatus		Implemented
sl@0
   386
//! @SYMTestPriority		high
sl@0
   387
//! @SYMTestExpectedResults	The socket is reset with no errors.
sl@0
   388
//! @SYMTestType		CIT
sl@0
   389
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   390
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   391
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   392
		COMMAND		mmcsdsession1	NewL
sl@0
   393
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0014-001-DriverOpen_command01
sl@0
   394
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0014-001-NewL_command02
sl@0
   395
		COMMAND		mmcsdsocket1	Reset2
sl@0
   396
		COMMAND		mmcsdsession1	Close
sl@0
   397
		COMMAND		mmcsdsocket1	~
sl@0
   398
		COMMAND		mmcsdsession1	~
sl@0
   399
	END_TEST_BLOCK
sl@0
   400
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0014
sl@0
   401
sl@0
   402
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0015
sl@0
   403
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0015
sl@0
   404
//! @SYMAPI			DMMCSocket::Stack(TInt);
sl@0
   405
//! @SYMAuthor			James Mechen
sl@0
   406
//! @SYMCreationDate		25/06/2008
sl@0
   407
//! @SYMTestCaseDesc		Stack Pointer Test - Get a pointer to a DMMCStack object, for invalid bus number.
sl@0
   408
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   409
//!				2. Open the driver connection
sl@0
   410
//!				3. Get a pointer to a DMMCStack object for MMC card number -1
sl@0
   411
//!				4. Destroy the object
sl@0
   412
//! @SYMTestStatus		Implemented
sl@0
   413
//! @SYMTestPriority		high
sl@0
   414
//! @SYMTestExpectedResults	The stack pointer is correctly returned.
sl@0
   415
//! @SYMTestType		CIT
sl@0
   416
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   417
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   418
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   419
		COMMAND		mmcsdsession1	NewL
sl@0
   420
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0015-001-DriverOpen_command01
sl@0
   421
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0015-001-NewL_command02
sl@0
   422
		COMMAND		mmcsdsocket1	Stack			BASE-BSP-MMC-SOCKET-DRIVER-0015-001-Stack_command03
sl@0
   423
		COMMAND		mmcsdsession1	Close
sl@0
   424
		COMMAND		mmcsdsocket1	~
sl@0
   425
		COMMAND		mmcsdsession1	~
sl@0
   426
	END_TEST_BLOCK
sl@0
   427
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0015
sl@0
   428
sl@0
   429
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0016
sl@0
   430
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0016
sl@0
   431
//! @SYMAPI			DMMCSocket::Stack(TInt);
sl@0
   432
//! @SYMAuthor			James Mechen
sl@0
   433
//! @SYMCreationDate		25/06/2008
sl@0
   434
//! @SYMTestCaseDesc		Stack Pointer Test - Get a pointer to a DMMCStack object, for invalid bus number.
sl@0
   435
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   436
//!				2. Open the driver connection
sl@0
   437
//!				3. Get a pointer to a DMMCStack object for MMC card number 5
sl@0
   438
//!				4. Destroy the object
sl@0
   439
//! @SYMTestStatus		Implemented
sl@0
   440
//! @SYMTestPriority		high
sl@0
   441
//! @SYMTestExpectedResults	The stack pointer is returned as NULL.
sl@0
   442
//! @SYMTestType		CIT
sl@0
   443
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   444
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   445
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   446
		COMMAND		mmcsdsession1	NewL
sl@0
   447
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0016-001-DriverOpen_command01
sl@0
   448
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0010-001-NewL_command02
sl@0
   449
		COMMAND		mmcsdsocket1	Stack			BASE-BSP-MMC-SOCKET-DRIVER-0016-001-Stack_command03
sl@0
   450
		COMMAND		mmcsdsession1	Close
sl@0
   451
		COMMAND		mmcsdsocket1	~
sl@0
   452
		COMMAND		mmcsdsession1	~
sl@0
   453
	END_TEST_BLOCK
sl@0
   454
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0016
sl@0
   455
sl@0
   456
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0017
sl@0
   457
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0017
sl@0
   458
//! @SYMAPI			DMMCSocket::ResetInactivity(TInt);
sl@0
   459
//! @SYMAuthor			James Mechen
sl@0
   460
//! @SYMCreationDate		26/06/2008
sl@0
   461
//! @SYMTestCaseDesc		Reset inactivity timer Test - Reset socket's PSU inactivity timer, for invalid bus number.
sl@0
   462
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   463
//!				2. Open the driver connection
sl@0
   464
//!				3. Reset socket's PSU inactivity timer for MMC card number -1
sl@0
   465
//!				4. Verify the bus inactivity count
sl@0
   466
//!				5. Destroy the object
sl@0
   467
//! @SYMTestStatus		Implemented
sl@0
   468
//! @SYMTestPriority		high
sl@0
   469
//! @SYMTestExpectedResults	PSU inactivity timer is reset with no errors.
sl@0
   470
//! @SYMTestType		CIT
sl@0
   471
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   472
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   473
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   474
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1
sl@0
   475
		COMMAND		mmcsdsession1	NewL
sl@0
   476
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0017-001-DriverOpen_command02
sl@0
   477
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0017-001-NewL_command03
sl@0
   478
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0017-001-NewL_command03
sl@0
   479
		COMMAND		mmcsdsocket1	ResetInactivity		BASE-BSP-MMC-SOCKET-DRIVER-0017-001-ResetInactivity_command04
sl@0
   480
		COMMAND		mmcsdpsu1	PsuInfo			BASE-BSP-MMC-SOCKET-DRIVER-0017-001-PsuInfo_command05
sl@0
   481
		COMMAND		mmcsdsession1	Close
sl@0
   482
		COMMAND		mmcsdpsu1	~
sl@0
   483
		COMMAND		mmcsdsocket1	~
sl@0
   484
		COMMAND		mmcsdsession1	~
sl@0
   485
	END_TEST_BLOCK
sl@0
   486
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0017
sl@0
   487
sl@0
   488
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0018
sl@0
   489
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0018
sl@0
   490
//! @SYMAPI			DMMCSocket::ResetInactivity(TInt);
sl@0
   491
//! @SYMAuthor			James Mechen
sl@0
   492
//! @SYMCreationDate		26/06/2008
sl@0
   493
//! @SYMTestCaseDesc		Reset inactivity timer Test - Reset socket's PSU inactivity timer, for invalid bus number.
sl@0
   494
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   495
//!				2. Open the driver connection
sl@0
   496
//!				3. Reset socket's PSU inactivity timer for MMC card number 5
sl@0
   497
//!				4. Verify the bus inactivity count
sl@0
   498
//!				5. Destroy the object
sl@0
   499
//! @SYMTestStatus		Implemented
sl@0
   500
//! @SYMTestPriority		high
sl@0
   501
//! @SYMTestExpectedResults	PSU inactivity timer is reset with no errors.
sl@0
   502
//! @SYMTestType		CIT
sl@0
   503
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   504
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   505
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   506
		CREATE_OBJECT	MMCSDPsu	mmcsdpsu1
sl@0
   507
		COMMAND		mmcsdsession1	NewL
sl@0
   508
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0018-001-DriverOpen_command02
sl@0
   509
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0018-001-NewL_command03
sl@0
   510
		COMMAND		mmcsdpsu1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0018-001-NewL_command03
sl@0
   511
		COMMAND		mmcsdsocket1	ResetInactivity		BASE-BSP-MMC-SOCKET-DRIVER-0018-001-ResetInactivity_command04
sl@0
   512
		COMMAND		mmcsdpsu1	PsuInfo			BASE-BSP-MMC-SOCKET-DRIVER-0018-001-PsuInfo_command05
sl@0
   513
		COMMAND		mmcsdsession1	Close
sl@0
   514
		COMMAND		mmcsdpsu1	~
sl@0
   515
		COMMAND		mmcsdsocket1	~
sl@0
   516
		COMMAND		mmcsdsession1	~
sl@0
   517
	END_TEST_BLOCK
sl@0
   518
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0018
sl@0
   519
sl@0
   520
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0019
sl@0
   521
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0019
sl@0
   522
//! @SYMAPI			DMMCSocket::AdjustPartialRead(const TMMCard{ptr}, TUint32, TUint32, TUint32{ptr}, TUint32{ptr});
sl@0
   523
//! @SYMAuthor			James Mechen
sl@0
   524
//! @SYMCreationDate		26/06/2008
sl@0
   525
//! @SYMTestCaseDesc		Adjust Partial Read Test - Calculate minimum range that must be read off card, using invalid inputs.
sl@0
   526
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   527
//!				2. Open the driver connection
sl@0
   528
//!				3. Get pointer to card
sl@0
   529
//!				4. Calculate minimum range that must be read off card, where aStart=0xFFFFFFFE and aEnd=0xFFFFFFFF
sl@0
   530
//!				5. Destroy the objects
sl@0
   531
//! @SYMTestStatus		Implemented
sl@0
   532
//! @SYMTestPriority		high
sl@0
   533
//! @SYMTestExpectedResults	Minimum range that must be read off card is correctly returned.
sl@0
   534
//! @SYMTestType		CIT
sl@0
   535
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   536
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   537
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   538
		CREATE_OBJECT	MMCSDStack	mmcsdstack1
sl@0
   539
		COMMAND		mmcsdsession1	NewL
sl@0
   540
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0019-001-DriverOpen_command02
sl@0
   541
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0019-001-NewL_command03
sl@0
   542
		COMMAND		mmcsdstack1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0019-001-NewL_command03
sl@0
   543
		COMMAND		mmcsdstack1	CardP			BASE-BSP-MMC-SOCKET-DRIVER-0019-001-CardP_command04
sl@0
   544
		COMMAND		mmcsdsocket1	AdjustPartialRead	BASE-BSP-MMC-SOCKET-DRIVER-0019-001-AdjustPartialRead_command05
sl@0
   545
		COMMAND		mmcsdsession1	Close
sl@0
   546
		COMMAND		mmcsdstack1	~
sl@0
   547
		COMMAND		mmcsdsocket1	~
sl@0
   548
		COMMAND		mmcsdsession1	~
sl@0
   549
	END_TEST_BLOCK
sl@0
   550
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0019
sl@0
   551
sl@0
   552
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0020
sl@0
   553
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0020
sl@0
   554
//! @SYMAPI			DMMCSocket::AdjustPartialRead(const TMMCard{ptr}, TUint32, TUint32, TUint32{ptr}, TUint32{ptr});
sl@0
   555
//! @SYMAuthor			James Mechen
sl@0
   556
//! @SYMCreationDate		26/06/2008
sl@0
   557
//! @SYMTestCaseDesc		Adjust Partial Read Test - Calculate minimum range that must be read off card, using invalid inputs.
sl@0
   558
//! @SYMTestActions    		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   559
//!				2. Open the driver connection
sl@0
   560
//!				3. Get pointer to card
sl@0
   561
//!				4. Calculate minimum range that must be read off card, where aStart=0 and aEnd=0xFFFFFFFF
sl@0
   562
//!				5. Destroy the objects
sl@0
   563
//! @SYMTestStatus		Implemented
sl@0
   564
//! @SYMTestPriority		high
sl@0
   565
//! @SYMTestExpectedResults	Minimum range that must be read off card is correctly returned.
sl@0
   566
//! @SYMTestType		CIT
sl@0
   567
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   568
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   569
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   570
		CREATE_OBJECT	MMCSDStack	mmcsdstack1
sl@0
   571
		COMMAND		mmcsdsession1	NewL
sl@0
   572
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0020-001-DriverOpen_command02
sl@0
   573
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0020-001-NewL_command03
sl@0
   574
		COMMAND		mmcsdstack1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0020-001-NewL_command03
sl@0
   575
		COMMAND		mmcsdstack1	CardP			BASE-BSP-MMC-SOCKET-DRIVER-0020-001-CardP_command04
sl@0
   576
		COMMAND		mmcsdsocket1	AdjustPartialRead	BASE-BSP-MMC-SOCKET-DRIVER-0020-001-AdjustPartialRead_command05
sl@0
   577
		COMMAND		mmcsdsession1	Close
sl@0
   578
		COMMAND		mmcsdstack1	~
sl@0
   579
		COMMAND		mmcsdsocket1	~
sl@0
   580
		COMMAND		mmcsdsession1	~
sl@0
   581
	END_TEST_BLOCK
sl@0
   582
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0020
sl@0
   583
sl@0
   584
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0021
sl@0
   585
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0021
sl@0
   586
//! @SYMAPI			DMMCSocket::AdjustPartialRead(const TMMCard{ptr}, TUint32, TUint32, TUint32{ptr}, TUint32{ptr});
sl@0
   587
//! @SYMAuthor			James Mechen
sl@0
   588
//! @SYMCreationDate		26/06/2008
sl@0
   589
//! @SYMTestCaseDesc		Adjust Partial Read Test - Calculate minimum range that must be read off card, using invalid inputs.
sl@0
   590
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   591
//!				2. Open the driver connection
sl@0
   592
//!				3. Get pointer to card
sl@0
   593
//!				4. Calculate minimum range that must be read off card, where aStart=aEnd
sl@0
   594
//!				5. Destroy the objects
sl@0
   595
//! @SYMTestStatus		Implemented
sl@0
   596
//! @SYMTestPriority		high
sl@0
   597
//! @SYMTestExpectedResults	Minimum range that must be read off card is correctly returned.
sl@0
   598
//! @SYMTestType		CIT
sl@0
   599
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   600
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   601
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   602
		CREATE_OBJECT	MMCSDStack	mmcsdstack1
sl@0
   603
		COMMAND		mmcsdsession1	NewL
sl@0
   604
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0021-001-DriverOpen_command02
sl@0
   605
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0021-001-NewL_command03
sl@0
   606
		COMMAND		mmcsdstack1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0021-001-NewL_command03
sl@0
   607
		COMMAND		mmcsdstack1	CardP			BASE-BSP-MMC-SOCKET-DRIVER-0021-001-CardP_command04
sl@0
   608
		COMMAND		mmcsdsocket1	AdjustPartialRead	BASE-BSP-MMC-SOCKET-DRIVER-0021-001-AdjustPartialRead_command05
sl@0
   609
		COMMAND		mmcsdsession1	Close
sl@0
   610
		COMMAND		mmcsdstack1	~
sl@0
   611
		COMMAND		mmcsdsocket1	~
sl@0
   612
		COMMAND		mmcsdsession1	~
sl@0
   613
	END_TEST_BLOCK
sl@0
   614
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0021
sl@0
   615
sl@0
   616
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0022
sl@0
   617
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0022
sl@0
   618
//! @SYMAPI			DMMCSocket::AdjustPartialRead(const TMMCard{ptr}, TUint32, TUint32, TUint32{ptr}, TUint32{ptr});
sl@0
   619
//! @SYMAuthor			James Mechen
sl@0
   620
//! @SYMCreationDate		26/06/2008
sl@0
   621
//! @SYMTestCaseDesc		Adjust Partial Read Test - Calculate minimum range that must be read off card, using invalid inputs.
sl@0
   622
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   623
//!				2. Open the driver connection
sl@0
   624
//!				3. Get pointer to card
sl@0
   625
//!				4. Calculate minimum range that must be read off card, where aStart>aEnd
sl@0
   626
//!				5. Destroy the objects
sl@0
   627
//! @SYMTestStatus		Implemented
sl@0
   628
//! @SYMTestPriority		high
sl@0
   629
//! @SYMTestExpectedResults	Minimum range that must be read off card is correctly returned.
sl@0
   630
//! @SYMTestType		CIT
sl@0
   631
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   632
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   633
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   634
		CREATE_OBJECT	MMCSDStack	mmcsdstack1
sl@0
   635
		COMMAND		mmcsdsession1	NewL
sl@0
   636
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0022-001-DriverOpen_command02
sl@0
   637
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0022-001-NewL_command03
sl@0
   638
		COMMAND		mmcsdstack1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0022-001-NewL_command03
sl@0
   639
		COMMAND		mmcsdstack1	CardP			BASE-BSP-MMC-SOCKET-DRIVER-0022-001-CardP_command04
sl@0
   640
		COMMAND		mmcsdsocket1	AdjustPartialRead	BASE-BSP-MMC-SOCKET-DRIVER-0022-001-AdjustPartialRead_command05
sl@0
   641
		COMMAND		mmcsdsession1	Close
sl@0
   642
		COMMAND		mmcsdstack1	~
sl@0
   643
		COMMAND		mmcsdsocket1	~
sl@0
   644
		COMMAND		mmcsdsession1	~
sl@0
   645
	END_TEST_BLOCK
sl@0
   646
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0022
sl@0
   647
sl@0
   648
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0023
sl@0
   649
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0023
sl@0
   650
//! @SYMAPI			DMMCSocket::PrepareStore(TInt, TInt, TLocalDrivePasswordData{ref});
sl@0
   651
//! @SYMAuthor			James Mechen
sl@0
   652
//! @SYMCreationDate		27/06/2008
sl@0
   653
//! @SYMTestCaseDesc		Prepare Store Test - Prepare store so mappings can be allocated or deallocated.
sl@0
   654
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   655
//!				2. Open the driver connection
sl@0
   656
//!				3. Prepare store so mappings can be allocated or deallocated, using operation EPasswordLock
sl@0
   657
//!				4. Destroy the object
sl@0
   658
//! @SYMTestStatus		Implemented
sl@0
   659
//! @SYMTestPriority		high
sl@0
   660
//! @SYMTestExpectedResults	Store is prepared with no errors.
sl@0
   661
//! @SYMTestType		CIT
sl@0
   662
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   663
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   664
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   665
		COMMAND		mmcsdsession1	NewL
sl@0
   666
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0023-001-DriverOpen_command01
sl@0
   667
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0023-001-NewL_command02
sl@0
   668
		COMMAND		mmcsdsocket1	PrepareStore		BASE-BSP-MMC-SOCKET-DRIVER-0023-001-PrepareStore_command03
sl@0
   669
		COMMAND		mmcsdsession1	Close
sl@0
   670
		COMMAND		mmcsdsocket1	~
sl@0
   671
		COMMAND		mmcsdsession1	~
sl@0
   672
	END_TEST_BLOCK
sl@0
   673
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0023
sl@0
   674
sl@0
   675
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0024
sl@0
   676
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0024
sl@0
   677
//! @SYMAPI			DMMCSocket::PrepareStore(TInt, TInt, TLocalDrivePasswordData{ref});
sl@0
   678
//! @SYMAuthor			James Mechen
sl@0
   679
//! @SYMCreationDate		27/06/2008
sl@0
   680
//! @SYMTestCaseDesc		Prepare Store Test - Prepare store so mappings can be allocated or deallocated.
sl@0
   681
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   682
//!				2. Open the driver connection
sl@0
   683
//!				3. Prepare store so mappings can be allocated or deallocated, using operation EPasswordUnlock
sl@0
   684
//!				4. Destroy the object
sl@0
   685
//! @SYMTestStatus		Implemented
sl@0
   686
//! @SYMTestPriority		high
sl@0
   687
//! @SYMTestExpectedResults	Store is prepared with no errors.
sl@0
   688
//! @SYMTestType		CIT
sl@0
   689
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   690
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   691
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   692
		COMMAND		mmcsdsession1	NewL
sl@0
   693
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0024-001-DriverOpen_command01
sl@0
   694
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0024-001-NewL_command02
sl@0
   695
		COMMAND		mmcsdsocket1	PrepareStore		BASE-BSP-MMC-SOCKET-DRIVER-0024-001-PrepareStore_command03
sl@0
   696
		COMMAND		mmcsdsession1	Close
sl@0
   697
		COMMAND		mmcsdsocket1	~
sl@0
   698
		COMMAND		mmcsdsession1	~
sl@0
   699
	END_TEST_BLOCK
sl@0
   700
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0024
sl@0
   701
sl@0
   702
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0025
sl@0
   703
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0025
sl@0
   704
//! @SYMAPI			DMMCSocket::PrepareStore(TInt, TInt, TLocalDrivePasswordData{ref});
sl@0
   705
//! @SYMAuthor			James Mechen
sl@0
   706
//! @SYMCreationDate		02/07/2008
sl@0
   707
//! @SYMTestCaseDesc		Prepare Store Test - Prepare store so mappings can be allocated or deallocated, using NULL password.
sl@0
   708
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   709
//!				2. Open the driver connection
sl@0
   710
//!				3. Prepare store so mappings can be allocated or deallocated, using operation EPasswordLock and NULL password
sl@0
   711
//!				4. Destroy the object
sl@0
   712
//! @SYMTestStatus		Implemented
sl@0
   713
//! @SYMTestPriority		high
sl@0
   714
//! @SYMTestExpectedResults	Store is prepared with error KErrAccessDenied.
sl@0
   715
//! @SYMTestType		CIT
sl@0
   716
	START_TEST_BLOCK		100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   717
		CREATE_OBJECT		MMCSDSession	mmcsdsession1
sl@0
   718
		CREATE_OBJECT		MMCSDSocket	mmcsdsocket1
sl@0
   719
		COMMAND			mmcsdsession1	NewL
sl@0
   720
		COMMAND			mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0025-001-DriverOpen_command01
sl@0
   721
		COMMAND			mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0025-001-NewL_command02
sl@0
   722
		COMMAND	!Error=-21	mmcsdsocket1	PrepareStore		BASE-BSP-MMC-SOCKET-DRIVER-0025-001-PrepareStore_command03
sl@0
   723
		COMMAND			mmcsdsession1	Close
sl@0
   724
		COMMAND			mmcsdsocket1	~
sl@0
   725
		COMMAND			mmcsdsession1	~
sl@0
   726
	END_TEST_BLOCK
sl@0
   727
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0025
sl@0
   728
sl@0
   729
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0026
sl@0
   730
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0026
sl@0
   731
//! @SYMAPI			DMMCSocket::PrepareStore(TInt, TInt, TLocalDrivePasswordData{ref});
sl@0
   732
//! @SYMAuthor			James Mechen
sl@0
   733
//! @SYMCreationDate		02/07/2008
sl@0
   734
//! @SYMTestCaseDesc		Prepare Store Test - Prepare store so mappings can be allocated or deallocated, using NULL password.
sl@0
   735
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   736
//!				2. Open the driver connection
sl@0
   737
//!				3. Prepare store so mappings can be allocated or deallocated, using operation EPasswordClear and NULL password
sl@0
   738
//!				4. Destroy the object
sl@0
   739
//! @SYMTestStatus		Implemented
sl@0
   740
//! @SYMTestPriority		high
sl@0
   741
//! @SYMTestExpectedResults	Store is prepared with error KErrAccessDenied.
sl@0
   742
//! @SYMTestType		CIT
sl@0
   743
	START_TEST_BLOCK		100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   744
		CREATE_OBJECT		MMCSDSession	mmcsdsession1
sl@0
   745
		CREATE_OBJECT		MMCSDSocket	mmcsdsocket1
sl@0
   746
		COMMAND			mmcsdsession1	NewL
sl@0
   747
		COMMAND			mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0026-001-DriverOpen_command01
sl@0
   748
		COMMAND			mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0026-001-NewL_command02
sl@0
   749
		COMMAND	!Error=-21	mmcsdsocket1	PrepareStore		BASE-BSP-MMC-SOCKET-DRIVER-0026-001-PrepareStore_command03
sl@0
   750
		COMMAND			mmcsdsession1	Close
sl@0
   751
		COMMAND			mmcsdsocket1	~
sl@0
   752
		COMMAND			mmcsdsession1	~
sl@0
   753
	END_TEST_BLOCK
sl@0
   754
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0026
sl@0
   755
sl@0
   756
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0027
sl@0
   757
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0027
sl@0
   758
//! @SYMAPI			DMMCSocket::PrepareStore(TInt, TInt, TLocalDrivePasswordData{ref});
sl@0
   759
//! @SYMAuthor			James Mechen
sl@0
   760
//! @SYMCreationDate		02/07/2008
sl@0
   761
//! @SYMTestCaseDesc		Prepare Store Test - Prepare store so mappings can be allocated or deallocated, using NULL password.
sl@0
   762
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   763
//!				2. Open the driver connection
sl@0
   764
//!				3. Prepare store so mappings can be allocated or deallocated, using operation EPasswordUnlock and NULL password
sl@0
   765
//!				4. Destroy the object
sl@0
   766
//! @SYMTestStatus		Implemented
sl@0
   767
//! @SYMTestPriority		high
sl@0
   768
//! @SYMTestExpectedResults	Store is prepared with error KErrLocked.
sl@0
   769
//! @SYMTestType		CIT
sl@0
   770
	START_TEST_BLOCK		100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   771
		CREATE_OBJECT		MMCSDSession	mmcsdsession1
sl@0
   772
		CREATE_OBJECT		MMCSDSocket	mmcsdsocket1
sl@0
   773
		COMMAND			mmcsdsession1	NewL
sl@0
   774
		COMMAND			mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0027-001-DriverOpen_command01
sl@0
   775
		COMMAND			mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0027-001-NewL_command02
sl@0
   776
		COMMAND	!Error=-22	mmcsdsocket1	PrepareStore		BASE-BSP-MMC-SOCKET-DRIVER-0027-001-PrepareStore_command03
sl@0
   777
		COMMAND			mmcsdsession1	Close
sl@0
   778
		COMMAND			mmcsdsocket1	~
sl@0
   779
		COMMAND			mmcsdsession1	~
sl@0
   780
	END_TEST_BLOCK
sl@0
   781
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0027
sl@0
   782
sl@0
   783
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0028
sl@0
   784
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0028
sl@0
   785
//! @SYMAPI			DMMCSocket::iStandby();
sl@0
   786
//! @SYMAuthor			Saravanakumar
sl@0
   787
//! @SYMCreationDate		06/05/2008
sl@0
   788
//! @SYMTestCaseDesc		Checks the Device Standby State
sl@0
   789
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   790
//!				2. Open the driver connection
sl@0
   791
//!				3. Check the Device is in Standby mode
sl@0
   792
//!				4. Destroy the object
sl@0
   793
//! @SYMTestStatus		Implemented
sl@0
   794
//! @SYMTestPriority		high
sl@0
   795
//! @SYMTestExpectedResults	Standby mode EFalse
sl@0
   796
//! @SYMTestType		CIT
sl@0
   797
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   798
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   799
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   800
		COMMAND		mmcsdsession1	NewL
sl@0
   801
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0028-001-DriverOpen_command01
sl@0
   802
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0028-001-NewL_command02
sl@0
   803
		COMMAND		mmcsdsocket1	iStandby_Get		BASE-BSP-MMC-SOCKET-DRIVER-0028-001-iStandby_Get_command03
sl@0
   804
		COMMAND		mmcsdsession1	Close
sl@0
   805
		COMMAND		mmcsdsocket1	~
sl@0
   806
		COMMAND		mmcsdsession1	~
sl@0
   807
	END_TEST_BLOCK
sl@0
   808
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0028
sl@0
   809
sl@0
   810
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0029
sl@0
   811
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0029
sl@0
   812
//! @SYMAPI			DMMCSocket::iType();
sl@0
   813
//! @SYMAuthor			Saravanakumar
sl@0
   814
//! @SYMCreationDate		06/05/2008
sl@0
   815
//! @SYMTestCaseDesc		Checks the card bus type
sl@0
   816
//! @SYMTestActions		1. Create RMMCSDTestControllerInterface Handle object.
sl@0
   817
//!				2. Open the driver connection
sl@0
   818
//!				3. Read the Bus type
sl@0
   819
//!				4. Destroy the object
sl@0
   820
//! @SYMTestStatus		Implemented
sl@0
   821
//! @SYMTestPriority		high
sl@0
   822
//! @SYMTestExpectedResults	Bus type EPBusTypeNone
sl@0
   823
//! @SYMTestType		CIT
sl@0
   824
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   825
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   826
		CREATE_OBJECT	MMCSDSocket	mmcsdsocket1
sl@0
   827
		COMMAND		mmcsdsession1	NewL
sl@0
   828
		COMMAND		mmcsdsession1	DriverOpen		BASE-BSP-MMC-SOCKET-DRIVER-0029-001-DriverOpen_command01
sl@0
   829
		COMMAND		mmcsdsocket1	NewL			BASE-BSP-MMC-SOCKET-DRIVER-0029-001-NewL_command02
sl@0
   830
		COMMAND		mmcsdsocket1	iType_Get		BASE-BSP-MMC-SOCKET-DRIVER-0029-001-iType_Get_command03
sl@0
   831
		COMMAND		mmcsdsession1	Close
sl@0
   832
		COMMAND		mmcsdsocket1	~
sl@0
   833
		COMMAND		mmcsdsession1	~
sl@0
   834
	END_TEST_BLOCK
sl@0
   835
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0029
sl@0
   836
sl@0
   837
START_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0030
sl@0
   838
//! @SYMTestCaseID		BASE-BSP-MMC-SOCKET-DRIVER-0030
sl@0
   839
//! @SYMAPI			FreeLogicalDevice(const TDesC {ref});
sl@0
   840
//! @SYMAuthor			James Mechen
sl@0
   841
//! @SYMCreationDate		11/04/2008
sl@0
   842
//! @SYMTestCaseDesc		Free the Logical Device Driver
sl@0
   843
//! @SYMTestActions		Free the D_MMCSDIF LDD Driver
sl@0
   844
//! @SYMTestStatus		Implemented
sl@0
   845
//! @SYMTestPriority		high
sl@0
   846
//! @SYMTestExpectedResults	Displayed Power supply information.
sl@0
   847
//! @SYMTestType		CIT
sl@0
   848
	START_TEST_BLOCK	100		T_mmcsd			\base\mmcsd\BASE-BSP-MMC-SOCKET-DRIVER.ini
sl@0
   849
		CREATE_OBJECT	MMCSDSession	mmcsdsession1
sl@0
   850
		COMMAND		mmcsdsession1	NewL
sl@0
   851
		COMMAND		mmcsdsession1	UnLoadDriver		BASE-BSP-MMC-SOCKET-DRIVER-0030-001-UnLoadDriver_command02
sl@0
   852
		COMMAND		mmcsdsession1	~
sl@0
   853
	END_TEST_BLOCK
sl@0
   854
END_TESTCASE			BASE-BSP-MMC-SOCKET-DRIVER-0030