os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/scripts/PBASE-F32-DUAL-DRIVE-Publicapi-RAM.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
//! @file
sl@0
    17
//! @SYMTestSuiteName		PBASE-F32-DUAL-DRIVE-Publicapi-RAM.script
sl@0
    18
//! @SYMScriptTestEnvironment	This test script requires a base ROM.
sl@0
    19
/////////////////////////////////////////////////////////////////////////////////////////////////////
sl@0
    20
//The device has to support Dual drive feature for single interface. The drive info has to be changed
sl@0
    21
//in dual_drive_env.ini before running the tests on the device which supports DUAL Drive with same interface.
sl@0
    22
//Example two MMC drives or two NAND drives etc.
sl@0
    23
/////////////////////////////////////////////////////////////////////////////////////////////////////
sl@0
    24
LOAD_SUITE	T_Sfsrv
sl@0
    25
sl@0
    26
START_TESTCASE 			PBASE-F32-DualDrive-Publicapi-RAM-0001
sl@0
    27
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0001
sl@0
    28
//! @SYMAPI			    RFs::MkDirAll();TEntry::IsDir();RFs::RmDir()
sl@0
    29
//! @SYMAuthor			Nirmala Bailur 
sl@0
    30
//! @SYMCreationDate		30/05/2008 
sl@0
    31
//! @SYMTestCaseDesc		Try creating directory on both the drives and also check whether it has been created or not.
sl@0
    32
//!                         And finally remove the directory created.
sl@0
    33
//!                         
sl@0
    34
//! @SYMTestActions		1. Create RFs instance.
sl@0
    35
//!				        2. Call RFs::MkDirAll() to create the directories.
sl@0
    36
//!                     3. Check the directory created using TEntry()
sl@0
    37
//!                     4. Remove the directory created.
sl@0
    38
//!                     5. Perform the above operation on both the drives concurrently
sl@0
    39
//!				
sl@0
    40
//! @SYMTestStatus		Implemented
sl@0
    41
//! @SYMTestPriority		High
sl@0
    42
//! @SYMTestExpectedResults	  Creates the directories on to both the drives concurrently.
sl@0
    43
//! @SYMTestType		CIT
sl@0
    44
CONCURRENT
sl@0
    45
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
    46
		CREATE_OBJECT	RFs	        rfs1
sl@0
    47
        CREATE_OBJECT	TEntry		tEntry1	
sl@0
    48
		COMMAND		rfs1	    new
sl@0
    49
		COMMAND		rfs1	    Connect
sl@0
    50
		COMMAND		rfs1	    MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll_drive1
sl@0
    51
        COMMAND		rfs1	    MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll2_drive1
sl@0
    52
        COMMAND		rfs1	    MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll3_drive1
sl@0
    53
        COMMAND		rfs1	    MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll4_drive1
sl@0
    54
        COMMAND		tEntry1		new
sl@0
    55
        COMMAND		rfs1		Entry       PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry_drive1
sl@0
    56
        COMMAND		tEntry1		IsDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1
sl@0
    57
        COMMAND		rfs1		Entry       PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry2_drive1
sl@0
    58
        COMMAND		tEntry1		IsDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1
sl@0
    59
        COMMAND		rfs1		Entry       PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry3_drive1
sl@0
    60
        COMMAND		tEntry1		IsDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1
sl@0
    61
        COMMAND		rfs1		Entry       PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry4_drive1
sl@0
    62
        COMMAND		tEntry1		IsDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1
sl@0
    63
        COMMAND		tEntry1		~
sl@0
    64
        COMMAND		rfs1	    RmDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir_drive1
sl@0
    65
        COMMAND		rfs1	    RmDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir2_drive1
sl@0
    66
        COMMAND		rfs1	    RmDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir3_drive1
sl@0
    67
        COMMAND		rfs1	    RmDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir4_drive1
sl@0
    68
		COMMAND		rfs1	    Close
sl@0
    69
        COMMAND		rfs1	    ~
sl@0
    70
END_TEST_BLOCK
sl@0
    71
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
    72
		CREATE_OBJECT	RFs	        rfs2
sl@0
    73
        CREATE_OBJECT	TEntry		tEntry2	
sl@0
    74
		COMMAND		rfs2	    new
sl@0
    75
		COMMAND		rfs2	    Connect
sl@0
    76
		COMMAND		rfs2	    MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll_drive2
sl@0
    77
        COMMAND		rfs2	    MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll2_drive2
sl@0
    78
        COMMAND		rfs2	    MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll3_drive2
sl@0
    79
        COMMAND		rfs2	    MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll4_drive2
sl@0
    80
        COMMAND		tEntry2		new
sl@0
    81
        COMMAND		rfs2		Entry       PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry_drive2
sl@0
    82
        COMMAND		tEntry2		IsDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive2
sl@0
    83
        COMMAND		rfs2		Entry       PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry2_drive2
sl@0
    84
        COMMAND		tEntry2		IsDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive2
sl@0
    85
        COMMAND		rfs2		Entry       PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry3_drive2
sl@0
    86
        COMMAND		tEntry2		IsDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive2
sl@0
    87
        COMMAND		rfs2		Entry       PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry4_drive2
sl@0
    88
        COMMAND		tEntry2		IsDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive2
sl@0
    89
        COMMAND		tEntry2		~
sl@0
    90
        COMMAND		rfs2	    RmDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir_drive2
sl@0
    91
        COMMAND		rfs2	    RmDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir2_drive2
sl@0
    92
        COMMAND		rfs2	    RmDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir3_drive2
sl@0
    93
        COMMAND		rfs2	    RmDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir4_drive2
sl@0
    94
		COMMAND		rfs2	    Close
sl@0
    95
        COMMAND		rfs2	    ~
sl@0
    96
END_TEST_BLOCK
sl@0
    97
CONSECUTIVE
sl@0
    98
END_TESTCASE 			PBASE-F32-DualDrive-Publicapi-RAM-0001
sl@0
    99
sl@0
   100
sl@0
   101
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0002
sl@0
   102
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0002
sl@0
   103
//! @SYMAPI			CFileMan::Attribs();CFileMan::Copy();Rfs::Att()
sl@0
   104
//! @SYMAuthor			Nirmala Bailur 
sl@0
   105
//! @SYMCreationDate		30/05/2008 
sl@0
   106
//! @SYMTestCaseDesc		Copy files on to both the drives from system drive concurrenlty
sl@0
   107
//!				
sl@0
   108
//! @SYMTestActions		1. Call Copy() to copy files on to the mmc drives.	
sl@0
   109
//!				2. Set and Get the attribute of the file.
sl@0
   110
//!             3. Delete the file copied on to the drive.
sl@0
   111
//!             4. Perform above operation on both the  drive concurrently.
sl@0
   112
//!				
sl@0
   113
//! @SYMTestStatus		Implemented
sl@0
   114
//! @SYMTestPriority		High
sl@0
   115
//! @SYMTestExpectedResults	copying files on to both drives concurrently works successfully.
sl@0
   116
//! @SYMTestType		CIT
sl@0
   117
CONCURRENT
sl@0
   118
START_TEST_BLOCK	100	T_Sfsrv	    \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   119
        CREATE_OBJECT	RFs	        rfs1
sl@0
   120
		CREATE_OBJECT	RFile	    file1
sl@0
   121
        CREATE_OBJECT	CFileMan	fileMan1
sl@0
   122
		COMMAND		rfs1	    new
sl@0
   123
		COMMAND		rfs1	    Connect
sl@0
   124
		COMMAND		file1	    new
sl@0
   125
		COMMAND		file1	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0005_Open_drive1
sl@0
   126
		COMMAND		fileMan1	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0005_NewL_drive1
sl@0
   127
        COMMAND		fileMan1    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy_drive1
sl@0
   128
        COMMAND		file1	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0005_Open2_drive1
sl@0
   129
        COMMAND		fileMan1    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy2_drive1
sl@0
   130
        COMMAND		rfs1        Att		    PBASE-F32-DualDrive-Publicapi-RAM-0005_Att1_drive1
sl@0
   131
        COMMAND     fileMan1    Attribs     PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs1_drive1
sl@0
   132
        COMMAND		rfs1        Att		    PBASE-F32-DualDrive-Publicapi-RAM-0005_Att2_drive1
sl@0
   133
        COMMAND     fileMan1    Attribs     PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs2_drive1
sl@0
   134
        COMMAND		rfs1        Att		    PBASE-F32-DualDrive-Publicapi-RAM-0005_Att1_drive1
sl@0
   135
        COMMAND     rfs1        Delete      PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete_drive1
sl@0
   136
        COMMAND     rfs1        Delete      PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete2_drive1
sl@0
   137
		COMMAND		fileMan1    ~
sl@0
   138
		COMMAND		file1	    Close
sl@0
   139
		COMMAND		file1	    ~
sl@0
   140
		COMMAND		rfs1	    Close
sl@0
   141
		COMMAND		rfs1	    ~
sl@0
   142
END_TEST_BLOCK
sl@0
   143
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   144
		CREATE_OBJECT	RFs     rfs2
sl@0
   145
		CREATE_OBJECT	RFile	file2
sl@0
   146
        CREATE_OBJECT	CFileMan	fileMan2
sl@0
   147
		COMMAND		rfs2	    new
sl@0
   148
		COMMAND		rfs2	    Connect
sl@0
   149
		COMMAND		file2	    new
sl@0
   150
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0005_Open_drive2
sl@0
   151
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0005_NewL_drive2
sl@0
   152
		COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy_drive2
sl@0
   153
        COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0005_Open2_drive2
sl@0
   154
        COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy2_drive2
sl@0
   155
        COMMAND		rfs2        Att		    PBASE-F32-DualDrive-Publicapi-RAM-0005_Att1_drive2
sl@0
   156
        COMMAND     fileMan2    Attribs     PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs1_drive2
sl@0
   157
        COMMAND		rfs2        Att		    PBASE-F32-DualDrive-Publicapi-RAM-0005_Att2_drive2
sl@0
   158
        COMMAND     fileMan2    Attribs     PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs2_drive2
sl@0
   159
        COMMAND		rfs2        Att		    PBASE-F32-DualDrive-Publicapi-RAM-0005_Att1_drive2
sl@0
   160
        COMMAND     rfs2        Delete      PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete_drive2
sl@0
   161
        COMMAND     rfs2        Delete      PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete2_drive2
sl@0
   162
		COMMAND		fileMan2    ~
sl@0
   163
		COMMAND		file2	    Close
sl@0
   164
		COMMAND		file2	    ~
sl@0
   165
		COMMAND		rfs2	    Close
sl@0
   166
		COMMAND		rfs2	    ~
sl@0
   167
END_TEST_BLOCK	
sl@0
   168
CONSECUTIVE
sl@0
   169
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0002
sl@0
   170
sl@0
   171
START_TESTCASE 			PBASE-F32-DualDrive-Publicapi-RAM-0003
sl@0
   172
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0003
sl@0
   173
//! @SYMAPI			RFile::Replace();RFile::Read();RFile::Write()
sl@0
   174
//! @SYMAuthor			Nirmala Bailur 
sl@0
   175
//! @SYMCreationDate		30/05/2008 
sl@0
   176
//! @SYMTestCaseDesc	create a file on to the both the drive, write and read the content of file and delete the file after the operation.
sl@0
   177
//!				Uses API elements: Open().
sl@0
   178
//! @SYMTestActions		1. Create RFs session
sl@0
   179
//!				2. Open the files 
sl@0
   180
//!             3. Write the contents on to the file.
sl@0
   181
//!				4. Close files.
sl@0
   182
//!				5. Open file the files.
sl@0
   183
//!				6. Read the content of the filess.
sl@0
   184
//!				7. Close file.
sl@0
   185
//!				8. Delete files.
sl@0
   186
//!				9. Perform the above operation on both the drives concurrently
sl@0
   187
//!
sl@0
   188
//! @SYMTestStatus		Implemented
sl@0
   189
//! @SYMTestPriority		High
sl@0
   190
//! @SYMTestExpectedResults	 Can perform both read and write opearation on both the drives concurrently
sl@0
   191
//!
sl@0
   192
//! @SYMTestType		CIT
sl@0
   193
CONCURRENT
sl@0
   194
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   195
		CREATE_OBJECT	RFs	        rfs1
sl@0
   196
		CREATE_OBJECT	RFile	    file1
sl@0
   197
        CREATE_OBJECT	CFileMan	fileMan1
sl@0
   198
		COMMAND		rfs1	    new		
sl@0
   199
		COMMAND		rfs1	    Connect		
sl@0
   200
		COMMAND		file1	    new	
sl@0
   201
        COMMAND		file1	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive1
sl@0
   202
		COMMAND		fileMan1	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive1
sl@0
   203
		COMMAND		fileMan1    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive1
sl@0
   204
        COMMAND		file1	    Close        
sl@0
   205
		COMMAND		file1	    Replace		PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive1
sl@0
   206
		COMMAND		file1	    Write		PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive1
sl@0
   207
		COMMAND		file1	    Close		
sl@0
   208
		COMMAND		file1	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive1
sl@0
   209
		COMMAND		file1	    Read		PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive1
sl@0
   210
		COMMAND		file1	    Close		
sl@0
   211
		COMMAND		file1	    ~		
sl@0
   212
		COMMAND		rfs1	    Delete		PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive1
sl@0
   213
		COMMAND		rfs1	    ~		
sl@0
   214
END_TEST_BLOCK
sl@0
   215
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   216
		CREATE_OBJECT	RFs	        rfs2
sl@0
   217
		CREATE_OBJECT	RFile	    file2
sl@0
   218
        CREATE_OBJECT	CFileMan	fileMan2
sl@0
   219
		COMMAND		rfs2	    new
sl@0
   220
		COMMAND		rfs2	    Connect
sl@0
   221
		COMMAND		file2	    new
sl@0
   222
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2
sl@0
   223
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2
sl@0
   224
		COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2
sl@0
   225
        COMMAND		file2	    Close
sl@0
   226
        COMMAND		file2	    Replace		PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2
sl@0
   227
		COMMAND		file2	    Write		PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2
sl@0
   228
		COMMAND		file2	    Close		
sl@0
   229
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2
sl@0
   230
		COMMAND		file2	    Read		PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2
sl@0
   231
		COMMAND		file2	    Close		
sl@0
   232
		COMMAND		file2	    ~		
sl@0
   233
		COMMAND		rfs2	    Delete		PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2
sl@0
   234
		COMMAND		rfs2	    ~		
sl@0
   235
END_TEST_BLOCK
sl@0
   236
CONSECUTIVE
sl@0
   237
END_TESTCASE 		PBASE-F32-DualDrive-Publicapi-RAM-0003
sl@0
   238
sl@0
   239
sl@0
   240
sl@0
   241
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0004
sl@0
   242
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0004
sl@0
   243
//! @SYMAPI			CFileMan::Rename()
sl@0
   244
//! @SYMAuthor			Nirmala Bailur 
sl@0
   245
//! @SYMCreationDate		30/05/2008 
sl@0
   246
//! @SYMTestCaseDesc		Rename the files on the mmc drives.
sl@0
   247
//! @SYMTestActions		1.Create a RFs session and call it's Connect() function.
sl@0
   248
//!				2.Call CFileMan::NewL(RFs &aFs) and connected file server session as parameter.
sl@0
   249
//!				3.Call CFileMan::Rename() to rename the file in one drive with different name.
sl@0
   250
//!				4.Call CFileMan::Rename() to rename the file in second drive with different name.
sl@0
   251
//!				5.Delete the renamed file.
sl@0
   252
//!             6.Close the Rfs session.
sl@0
   253
//!             7.Perform the above operation on both the drives concurrently
sl@0
   254
//! @SYMTestStatus		Implemented
sl@0
   255
//! @SYMTestPriority		High
sl@0
   256
//! @SYMTestExpectedResults	Files get renamed on both the drives.
sl@0
   257
//! @SYMTestType		CIT
sl@0
   258
CONCURRENT
sl@0
   259
START_TEST_BLOCK	50	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   260
		CREATE_OBJECT	RFs				rfs1
sl@0
   261
		CREATE_OBJECT	RFile			file1
sl@0
   262
		CREATE_OBJECT	CFileMan	    fileMan1
sl@0
   263
		COMMAND		rfs1		new		
sl@0
   264
		COMMAND		rfs1		Connect
sl@0
   265
		COMMAND		file1		new
sl@0
   266
        COMMAND		file1	    Open		    PBASE-F32-DualDrive-Publicapi-RAM-0009_Open_drive1
sl@0
   267
		COMMAND		fileMan1	NewL			PBASE-F32-DualDrive-Publicapi-RAM-0009_NewL_drive1
sl@0
   268
		COMMAND		fileMan1    Copy		    PBASE-F32-DualDrive-Publicapi-RAM-0009_Copy_drive1
sl@0
   269
		COMMAND		fileMan1	Rename		    PBASE-F32-DualDrive-Publicapi-RAM-0009_Rename_drive1
sl@0
   270
		COMMAND		file1		Open			PBASE-F32-DualDrive-Publicapi-RAM-0009_Open_drive1
sl@0
   271
		COMMAND		file1		Close
sl@0
   272
		COMMAND		fileMan1	~
sl@0
   273
		COMMAND		file1		~
sl@0
   274
		COMMAND		rfs1		~		
sl@0
   275
END_TEST_BLOCK	
sl@0
   276
START_TEST_BLOCK	50	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   277
		CREATE_OBJECT	RFs				rfs2
sl@0
   278
		CREATE_OBJECT	RFile			file2
sl@0
   279
		CREATE_OBJECT	CFileMan	fileMan2
sl@0
   280
		COMMAND		rfs2		new		
sl@0
   281
		COMMAND		rfs2		Connect
sl@0
   282
		COMMAND		file2		new
sl@0
   283
        COMMAND		file2	    Open		    PBASE-F32-DualDrive-Publicapi-RAM-0009_Open_drive2
sl@0
   284
		COMMAND		fileMan2	NewL			PBASE-F32-DualDrive-Publicapi-RAM-0009_NewL_drive2
sl@0
   285
		COMMAND		fileMan2    Copy		    PBASE-F32-DualDrive-Publicapi-RAM-0009_Copy_drive2
sl@0
   286
		COMMAND		fileMan2	Rename		    PBASE-F32-DualDrive-Publicapi-RAM-0009_Rename_drive2
sl@0
   287
		COMMAND		file2		Open			PBASE-F32-DualDrive-Publicapi-RAM-0009_Open_drive2
sl@0
   288
		COMMAND		file2		Close
sl@0
   289
		COMMAND		fileMan2	~
sl@0
   290
		COMMAND		file2		~
sl@0
   291
		COMMAND		rfs2		~		
sl@0
   292
END_TEST_BLOCK	
sl@0
   293
CONSECUTIVE
sl@0
   294
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0004
sl@0
   295
sl@0
   296
sl@0
   297
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0005
sl@0
   298
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0005
sl@0
   299
//! @SYMAPI			    CFileMan:Move()
sl@0
   300
//! @SYMAuthor			Nirmala Bailur 
sl@0
   301
//! @SYMCreationDate		30/05/2008 
sl@0
   302
//! @SYMTestCaseDesc		Move the files between the two drives
sl@0
   303
//!											
sl@0
   304
//! @SYMTestActions		1.Create a RFs session and call it's Connect() function.
sl@0
   305
//!				2.Call CFileMan::NewL(RFs &aFs) and connected file server session as parameter.
sl@0
   306
//!				3.Call CFileMan::Move()  to move the file from drive1 to drive2.
sl@0
   307
//!				4.Call CFileMan::Move(), to move the file from drive2 to drive2.
sl@0
   308
//!             5.Delete the moved files.
sl@0
   309
//!             6 Delete the directory in which the file is moved.
sl@0
   310
//! @SYMTestPriority		High
sl@0
   311
//! @SYMTestExpectedResults	Files are moved across the drives..
sl@0
   312
//! @SYMTestType		CIT
sl@0
   313
START_TEST_BLOCK	50	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   314
		CREATE_OBJECT	RFs				rfs1
sl@0
   315
		CREATE_OBJECT	RFile			file1
sl@0
   316
		CREATE_OBJECT	CFileMan	    fileMan1
sl@0
   317
		COMMAND		rfs1		new
sl@0
   318
		COMMAND		rfs1		Connect
sl@0
   319
		COMMAND		rfs1		MkDir			PBASE-F32-DualDrive-Publicapi-RAM-0010_MkDir_drive1
sl@0
   320
        COMMAND		rfs1		MkDir			PBASE-F32-DualDrive-Publicapi-RAM-0010_MkDir_drive2
sl@0
   321
		COMMAND		file1		new
sl@0
   322
		COMMAND		fileMan1	NewL		    PBASE-F32-DualDrive-Publicapi-RAM-0010_NewL_drive1
sl@0
   323
		COMMAND		fileMan1	Move		    PBASE-F32-DualDrive-Publicapi-RAM-0010_Move_drive1
sl@0
   324
		COMMAND		file1		Open		    PBASE-F32-DualDrive-Publicapi-RAM-0010_Open_drive1
sl@0
   325
		COMMAND		file1		Close
sl@0
   326
		COMMAND		fileMan1	Move		    PBASE-F32-DualDrive-Publicapi-RAM-0010_Move_drive2
sl@0
   327
		COMMAND		file1		Open		    PBASE-F32-DualDrive-Publicapi-RAM-0010_Open_drive2
sl@0
   328
		COMMAND		file1		Close
sl@0
   329
        COMMAND     fileMan1    Attribs         PBASE-F32-DualDrive-Publicapi-RAM-0010_Attribs_drive1
sl@0
   330
        COMMAND     fileMan1    Attribs         PBASE-F32-DualDrive-Publicapi-RAM-0010_Attribs_drive2
sl@0
   331
        COMMAND		rfs1		Delete		    PBASE-F32-DualDrive-Publicapi-RAM-0010_Delete_drive1
sl@0
   332
        COMMAND		rfs1		Delete		    PBASE-F32-DualDrive-Publicapi-RAM-0010_Delete_drive2
sl@0
   333
		COMMAND		rfs1		RmDir		    PBASE-F32-DualDrive-Publicapi-RAM-0010_RmDir_drive1
sl@0
   334
        COMMAND		rfs1		RmDir		    PBASE-F32-DualDrive-Publicapi-RAM-0010_RmDir_drive2
sl@0
   335
		COMMAND		fileMan1	~
sl@0
   336
		COMMAND		file1		~
sl@0
   337
		COMMAND		rfs1		~		
sl@0
   338
END_TEST_BLOCK	
sl@0
   339
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0005
sl@0
   340
sl@0
   341
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0006
sl@0
   342
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0006
sl@0
   343
//! @SYMAPI			    CFileMan:Move()
sl@0
   344
//! @SYMAuthor			Nirmala Bailur 
sl@0
   345
//! @SYMCreationDate		02/07/2008 
sl@0
   346
//! @SYMTestCaseDesc		Move the files from system drive to dual drive and back in to systemdrive CONCURRENTly.
sl@0
   347
//!											
sl@0
   348
//! @SYMTestActions		1.Create a RFs session and call it's Connect() function.
sl@0
   349
//!				2.Call CFileMan::NewL(RFs &aFs) and connected file server session as parameter.
sl@0
   350
//!				3.Call CFileMan::Move()  to move the file from system drive to the one of the dual drive drive.
sl@0
   351
//!				4.Call CFileMan::Move(), to move the file from dual drive to the systemdrive .
sl@0
   352
//!             5.Delete the directory in which the file is moved.
sl@0
   353
//!             6.Perform the above operation concurrently on both the dual drives
sl@0
   354
//!             
sl@0
   355
//! @SYMTestPriority		High
sl@0
   356
//! @SYMTestExpectedResults	Files are moved from systemdrive to dual drives concurrantly.
sl@0
   357
//! @SYMTestType		CIT
sl@0
   358
CONCURRENT
sl@0
   359
START_TEST_BLOCK	50	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   360
		CREATE_OBJECT	RFs				rfs1
sl@0
   361
		CREATE_OBJECT	RFile			file1
sl@0
   362
		CREATE_OBJECT	CFileMan	    fileMan1
sl@0
   363
		COMMAND		rfs1		new
sl@0
   364
		COMMAND		rfs1		Connect
sl@0
   365
		COMMAND		rfs1		MkDir			PBASE-F32-DualDrive-Publicapi-RAM-0011_MkDir_drive1
sl@0
   366
        COMMAND		file1		new
sl@0
   367
		COMMAND		fileMan1	NewL		    PBASE-F32-DualDrive-Publicapi-RAM-0011_NewL_drive1
sl@0
   368
		COMMAND		fileMan1	Move		    PBASE-F32-DualDrive-Publicapi-RAM-0011_Move_drive1
sl@0
   369
		COMMAND     fileMan1    Move            PBASE-F32-DualDrive-Publicapi-RAM-0011_Move2_drive1
sl@0
   370
        COMMAND		file1		Open		    PBASE-F32-DualDrive-Publicapi-RAM-0011_Open2_drive1
sl@0
   371
        COMMAND		rfs1		RmDir		    PBASE-F32-DualDrive-Publicapi-RAM-0011_RmDir_drive1
sl@0
   372
        COMMAND		file1		Close
sl@0
   373
        COMMAND		fileMan1	~
sl@0
   374
		COMMAND		file1		~
sl@0
   375
		COMMAND		rfs1		~		
sl@0
   376
END_TEST_BLOCK	
sl@0
   377
START_TEST_BLOCK	50	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   378
		CREATE_OBJECT	RFs				rfs2
sl@0
   379
		CREATE_OBJECT	RFile			file2
sl@0
   380
		CREATE_OBJECT	CFileMan	    fileMan2
sl@0
   381
		COMMAND		rfs2		new
sl@0
   382
		COMMAND		rfs2		Connect
sl@0
   383
		COMMAND		rfs2		MkDir			PBASE-F32-DualDrive-Publicapi-RAM-0011_MkDir_drive2
sl@0
   384
        COMMAND		file2		new
sl@0
   385
		COMMAND		fileMan2	NewL		    PBASE-F32-DualDrive-Publicapi-RAM-0011_NewL_drive2
sl@0
   386
		COMMAND		fileMan2	Move		    PBASE-F32-DualDrive-Publicapi-RAM-0011_Move_drive2
sl@0
   387
		COMMAND     fileMan2    Move            PBASE-F32-DualDrive-Publicapi-RAM-0011_Move2_drive2
sl@0
   388
        COMMAND		file2		Open		    PBASE-F32-DualDrive-Publicapi-RAM-0011_Open2_drive2
sl@0
   389
        COMMAND		rfs2		RmDir		    PBASE-F32-DualDrive-Publicapi-RAM-0011_RmDir_drive2
sl@0
   390
        COMMAND		file2		Close
sl@0
   391
        COMMAND		fileMan2	~
sl@0
   392
		COMMAND		file2		~
sl@0
   393
		COMMAND		rfs2		~		
sl@0
   394
END_TEST_BLOCK	
sl@0
   395
CONSECUTIVE
sl@0
   396
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0006
sl@0
   397
sl@0
   398
START_TESTCASE 			PBASE-F32-DualDrive-Publicapi-RAM-0007
sl@0
   399
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0007
sl@0
   400
//! @SYMAPI			    RFs::Volume();RFs::SetVolumeLabel()
sl@0
   401
//! @SYMAuthor			Nirmala Bailur 
sl@0
   402
//! @SYMCreationDate		02/07/2008 
sl@0
   403
//! @SYMTestCaseDesc		Get the Volume information for drives concurrently
sl@0
   404
//! @SYMTestActions		1. Call Connect().
sl@0
   405
//!				2. Saving volume label.
sl@0
   406
//!				3. Call SetVolumeLabel() passing "Test" as first parameter and the drive number as a second parameter.
sl@0
   407
//!				4. Call Volume() passing  TVolumeInfo reference as first parameter and the drive number as a second parameter.
sl@0
   408
//!				5. Restoring volume label.
sl@0
   409
//!				6. Perform above operation concurrantly on both the drives.
sl@0
   410
//! @SYMTestStatus		Implemented
sl@0
   411
//! @SYMTestPriority		High
sl@0
   412
//! @SYMTestExpectedResults Set and get the volume information of both the drives concurrently.
sl@0
   413
//! @SYMTestType		CIT
sl@0
   414
sl@0
   415
CONCURRENT
sl@0
   416
	START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   417
		CREATE_OBJECT	RFs	rfs1
sl@0
   418
		COMMAND		rfs1	new		
sl@0
   419
		COMMAND		rfs1	Connect		
sl@0
   420
		COMMAND		rfs1	Volume		        PBASE-F32-DualDrive-Publicapi-RAM-0012_Volume_drive1
sl@0
   421
		COMMAND		rfs1	SetVolumeLabel		PBASE-F32-DualDrive-Publicapi-RAM-0012_SetVolumeLabel_drive1
sl@0
   422
		COMMAND		rfs1	Volume		        PBASE-F32-DualDrive-Publicapi-RAM-0012_Volume_drive1
sl@0
   423
		COMMAND		rfs1	SetVolumeLabel		PBASE-F32-DualDrive-Publicapi-RAM-0012_SetVolumeLabel_drive1
sl@0
   424
		COMMAND		rfs1	Close		
sl@0
   425
		COMMAND		rfs1	~		
sl@0
   426
	END_TEST_BLOCK
sl@0
   427
    START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   428
		CREATE_OBJECT	RFs	rfs2
sl@0
   429
		COMMAND		rfs2	new		
sl@0
   430
		COMMAND		rfs2	Connect		
sl@0
   431
		COMMAND		rfs2	Volume		        PBASE-F32-DualDrive-Publicapi-RAM-0012_Volume_drive2
sl@0
   432
		COMMAND		rfs2	SetVolumeLabel		PBASE-F32-DualDrive-Publicapi-RAM-0012_SetVolumeLabel_drive2
sl@0
   433
		COMMAND		rfs2	Volume		        PBASE-F32-DualDrive-Publicapi-RAM-0012_Volume_drive2
sl@0
   434
		COMMAND		rfs2	SetVolumeLabel		PBASE-F32-DualDrive-Publicapi-RAM-0012_SetVolumeLabel_drive2
sl@0
   435
		COMMAND		rfs2	Close		
sl@0
   436
		COMMAND		rfs2	~		
sl@0
   437
	END_TEST_BLOCK
sl@0
   438
CONSECUTIVE
sl@0
   439
END_TESTCASE 			PBASE-F32-DualDrive-Publicapi-RAM-0007
sl@0
   440
sl@0
   441
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0008
sl@0
   442
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0008
sl@0
   443
//! @SYMAPI			    CFileMan:Move();RFile::Read();RFile::Write()
sl@0
   444
//! @SYMAuthor			Nirmala Bailur 
sl@0
   445
//! @SYMCreationDate		02/07/2008 
sl@0
   446
//! @SYMTestCaseDesc		Move the file from system drive to one of the dual drive concurrenlty with the read/write operation on another dual drive
sl@0
   447
//!											
sl@0
   448
//! @SYMTestActions		1.Move the file from systemdrive to dual drive and back from dual drive to system drive.
sl@0
   449
//!				2.Write and read the content of the file from other drive in concurrent with above action on another drive
sl@0
   450
//! @SYMTestPriority		High
sl@0
   451
//! @SYMTestExpectedResults	File is moved in concurrent with read/write operation on another drive.
sl@0
   452
//! @SYMTestType		CIT
sl@0
   453
CONCURRENT
sl@0
   454
START_TEST_BLOCK	50	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   455
		CREATE_OBJECT	RFs				rfs1
sl@0
   456
		CREATE_OBJECT	RFile			file1
sl@0
   457
		CREATE_OBJECT	CFileMan	    fileMan1
sl@0
   458
		COMMAND		rfs1		new
sl@0
   459
		COMMAND		rfs1		Connect
sl@0
   460
		COMMAND		rfs1		MkDir			PBASE-F32-DualDrive-Publicapi-RAM-0011_MkDir_drive1
sl@0
   461
        COMMAND		file1		new
sl@0
   462
		COMMAND		fileMan1	NewL		    PBASE-F32-DualDrive-Publicapi-RAM-0011_NewL_drive1
sl@0
   463
		COMMAND		fileMan1	Move		    PBASE-F32-DualDrive-Publicapi-RAM-0011_Move_drive1
sl@0
   464
		COMMAND     fileMan1    Move            PBASE-F32-DualDrive-Publicapi-RAM-0011_Move2_drive1
sl@0
   465
        COMMAND		file1		Open		    PBASE-F32-DualDrive-Publicapi-RAM-0011_Open2_drive1
sl@0
   466
        COMMAND		rfs1		RmDir		    PBASE-F32-DualDrive-Publicapi-RAM-0011_RmDir_drive1
sl@0
   467
        COMMAND		file1		Close
sl@0
   468
        COMMAND		fileMan1	~
sl@0
   469
		COMMAND		file1		~
sl@0
   470
		COMMAND		rfs1		~		
sl@0
   471
END_TEST_BLOCK
sl@0
   472
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   473
		CREATE_OBJECT	RFs	rfs2
sl@0
   474
		CREATE_OBJECT	RFile	    file2
sl@0
   475
        CREATE_OBJECT	CFileMan	fileMan2
sl@0
   476
		COMMAND		rfs2	    new
sl@0
   477
		COMMAND		rfs2	    Connect
sl@0
   478
		COMMAND		file2	    new
sl@0
   479
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2
sl@0
   480
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2
sl@0
   481
		COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2
sl@0
   482
        COMMAND		file2	    Close
sl@0
   483
        COMMAND		file2	    Replace		PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2
sl@0
   484
		COMMAND		file2	    Write		PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2
sl@0
   485
		COMMAND		file2	    Close		
sl@0
   486
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2
sl@0
   487
		COMMAND		file2	    Read		PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2
sl@0
   488
		COMMAND		file2	    Close		
sl@0
   489
		COMMAND		file2	    ~		
sl@0
   490
		COMMAND		rfs2	    Delete		PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2
sl@0
   491
		COMMAND		rfs2	    ~		
sl@0
   492
END_TEST_BLOCK
sl@0
   493
CONSECUTIVE
sl@0
   494
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0008
sl@0
   495
sl@0
   496
START_TESTCASE 			PBASE-F32-DualDrive-Publicapi-RAM-0009
sl@0
   497
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0009
sl@0
   498
//! @SYMAPI			    RFs::MkDirAll();TEntry::IsDir();RFs::RmDir()
sl@0
   499
//! @SYMAuthor			Nirmala Bailur 
sl@0
   500
//! @SYMCreationDate		30/05/2008 
sl@0
   501
//! @SYMTestCaseDesc		Try creating directory and removing directory with read and write operation concurrantly on dual drives.
sl@0
   502
//!                         
sl@0
   503
//! @SYMTestActions		1. Create RFs instance.
sl@0
   504
//!				        2. Call RFs::MkDirAll() to create the directories.
sl@0
   505
//!                     3. Check the directory created using TEntry()
sl@0
   506
//!                     4. Remove the directory.
sl@0
   507
//!                     5. Perform Read/Write operation on a file on different drive in concurrent with the above operation
sl@0
   508
//!				
sl@0
   509
//! @SYMTestStatus		Implemented
sl@0
   510
//! @SYMTestPriority		High
sl@0
   511
//! @SYMTestExpectedResults	  Creates the directories on to both the drives in concurrent with the read/write operation on the other drive.
sl@0
   512
//! @SYMTestType		CIT
sl@0
   513
CONCURRENT
sl@0
   514
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   515
		CREATE_OBJECT	RFs	        rfs1
sl@0
   516
        CREATE_OBJECT	TEntry		tEntry1	
sl@0
   517
		COMMAND		rfs1	    new
sl@0
   518
		COMMAND		rfs1	    Connect
sl@0
   519
		COMMAND		rfs1	    MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll_drive1
sl@0
   520
        COMMAND		tEntry1		new
sl@0
   521
        COMMAND		rfs1		Entry       PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry_drive1
sl@0
   522
        COMMAND		tEntry1		IsDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1
sl@0
   523
        COMMAND		tEntry1		~
sl@0
   524
        COMMAND		rfs1	    RmDir       PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir_drive1
sl@0
   525
		COMMAND		rfs1	    Close
sl@0
   526
        COMMAND		rfs1	    ~
sl@0
   527
	END_TEST_BLOCK
sl@0
   528
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   529
		CREATE_OBJECT	RFs	rfs2
sl@0
   530
		CREATE_OBJECT	RFile	    file2
sl@0
   531
        CREATE_OBJECT	CFileMan	fileMan2
sl@0
   532
		COMMAND		rfs2	    new
sl@0
   533
		COMMAND		rfs2	    Connect
sl@0
   534
		COMMAND		file2	    new
sl@0
   535
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2
sl@0
   536
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2
sl@0
   537
		COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2
sl@0
   538
        COMMAND		file2	    Close
sl@0
   539
        COMMAND		file2	    Replace		PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2
sl@0
   540
		COMMAND		file2	    Write		PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2
sl@0
   541
		COMMAND		file2	    Close		
sl@0
   542
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2
sl@0
   543
		COMMAND		file2	    Read		PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2
sl@0
   544
		COMMAND		file2	    Close		
sl@0
   545
		COMMAND		file2	    ~		
sl@0
   546
		COMMAND		rfs2	    Delete		PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2
sl@0
   547
		COMMAND		rfs2	    ~		
sl@0
   548
END_TEST_BLOCK
sl@0
   549
CONSECUTIVE
sl@0
   550
END_TESTCASE 			PBASE-F32-DualDrive-Publicapi-RAM-0009
sl@0
   551
sl@0
   552
sl@0
   553
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0010
sl@0
   554
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0010
sl@0
   555
//! @SYMAPI			CDirScan::SetScanDataL();CDirScan::NextL()
sl@0
   556
//! @SYMAuthor			Nirmala Bailur 
sl@0
   557
//! @SYMCreationDate		02/07/2008 
sl@0
   558
//! @SYMTestCaseDesc		Testcase to get the filtered list of filess from  both the drives CONCURRENTly
sl@0
   559
sl@0
   560
//! @SYMTestActions		1.Call Create a RFs session and call it's Connect() function.
sl@0
   561
//!				2.Call RFs::MkDirAll() and <Drive>\dirscan\TempDir\ as parameter
sl@0
   562
//!				3.Call CDirScan::NewL() and connected file server session as parameter.
sl@0
   563
//!				4.Call CDirScan::SetScanDataL() and <Drive>\dirscan\ as first parameter, KEntryAttNormal as second
sl@0
   564
//!				  parameter, ESortByName as third parameter and EScanDownTree as fourth parameter
sl@0
   565
//!				5.Call CDirScan::NextL() and CDir object as parameter.
sl@0
   566
//!				6.Call CDirScan::FullPath() to verify the expected directory path.
sl@0
   567
//!				7.Call CDir::Count() to verify the number of entries returned.
sl@0
   568
//!				8.Call CDir::operator[] to verify the entries returned.
sl@0
   569
//!				9.Call RFs::RmDir() and <Drive>\dirscan\TempDir\ as parameter
sl@0
   570
//!             10. Perform above operation on other drive concurrently
sl@0
   571
//! @SYMTestStatus		Implemented
sl@0
   572
//! @SYMTestPriority		High
sl@0
   573
//! @SYMTestExpectedResults	Filters the file set with KEntryAttNormal as attribute mask on both the drives
sl@0
   574
//! @SYMTestType		CIT
sl@0
   575
CONCURRENT
sl@0
   576
START_TEST_BLOCK	100	T_Sfsrv		\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   577
		CREATE_OBJECT	RFs		rfs1
sl@0
   578
		CREATE_OBJECT	CFileMan	fileMan1
sl@0
   579
        CREATE_OBJECT	TEntry		tEntry1
sl@0
   580
		CREATE_OBJECT	CDirScan	cdirScan1
sl@0
   581
		CREATE_OBJECT	CDir		cdir1
sl@0
   582
		COMMAND		rfs1		new			
sl@0
   583
		COMMAND		rfs1		Connect
sl@0
   584
		COMMAND		rfs1		MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll_drive1
sl@0
   585
		COMMAND		fileMan1	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0015_NewL_drive1
sl@0
   586
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy1_drive1
sl@0
   587
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy2_drive1
sl@0
   588
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy3_drive1
sl@0
   589
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy4_drive1
sl@0
   590
		COMMAND		rfs1		MkDirAll			PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll2_drive1
sl@0
   591
		COMMAND		tEntry1		new
sl@0
   592
		COMMAND		cdirScan1	NewL			PBASE-F32-DualDrive-Publicapi-RAM-0015_CDirScan_NewL_drive1
sl@0
   593
		COMMAND		cdirScan1	SetScanDataL		PBASE-F32-DualDrive-Publicapi-RAM-0015_SetScanDataL_drive1
sl@0
   594
		COMMAND		cdirScan1	NextL			PBASE-F32-DualDrive-Publicapi-RAM-0015_NextL_drive1
sl@0
   595
		COMMAND		cdirScan1	FullPath		PBASE-F32-DualDrive-Publicapi-RAM-0015_FullPath_drive1
sl@0
   596
		COMMAND		cdir1		Count			PBASE-F32-DualDrive-Publicapi-RAM-0015_Count_drive1
sl@0
   597
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index1_drive1
sl@0
   598
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index2_drive1
sl@0
   599
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index3_drive1
sl@0
   600
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index4_drive1
sl@0
   601
		COMMAND		cdir1		~
sl@0
   602
		COMMAND		cdirScan1	~
sl@0
   603
		COMMAND		rfs1		RmDir			PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir1_drive1
sl@0
   604
		COMMAND		tEntry1		~
sl@0
   605
		COMMAND		fileMan1	Delete		PBASE-F32-DualDrive-Publicapi-RAM-0015_Delete_drive1
sl@0
   606
		COMMAND		rfs1		RmDir			PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir2_drive1
sl@0
   607
		COMMAND		fileMan1	~
sl@0
   608
		COMMAND		rfs1		~
sl@0
   609
END_TEST_BLOCK
sl@0
   610
START_TEST_BLOCK	100	T_Sfsrv		\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   611
		CREATE_OBJECT	RFs		rfs2
sl@0
   612
		CREATE_OBJECT	CFileMan	fileMan2
sl@0
   613
        CREATE_OBJECT	TEntry		tEntry2
sl@0
   614
		CREATE_OBJECT	CDirScan	cdirScan2
sl@0
   615
		CREATE_OBJECT	CDir		cdir2
sl@0
   616
		COMMAND		rfs2		new			
sl@0
   617
		COMMAND		rfs2		Connect
sl@0
   618
		COMMAND		rfs2		MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll_drive2
sl@0
   619
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0015_NewL_drive2
sl@0
   620
		COMMAND		fileMan2	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy1_drive2
sl@0
   621
		COMMAND		fileMan2	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy2_drive2
sl@0
   622
		COMMAND		fileMan2	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy3_drive2
sl@0
   623
		COMMAND		fileMan2	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy4_drive2
sl@0
   624
		COMMAND		rfs2		MkDirAll			PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll2_drive2
sl@0
   625
		COMMAND		tEntry2		new
sl@0
   626
		COMMAND		cdirScan2	NewL			PBASE-F32-DualDrive-Publicapi-RAM-0015_CDirScan_NewL_drive2
sl@0
   627
		COMMAND		cdirScan2	SetScanDataL		PBASE-F32-DualDrive-Publicapi-RAM-0015_SetScanDataL_drive2
sl@0
   628
		COMMAND		cdirScan2	NextL			PBASE-F32-DualDrive-Publicapi-RAM-0015_NextL_drive2
sl@0
   629
		COMMAND		cdirScan2	FullPath		PBASE-F32-DualDrive-Publicapi-RAM-0015_FullPath_drive2
sl@0
   630
		COMMAND		cdir2		Count			PBASE-F32-DualDrive-Publicapi-RAM-0015_Count_drive2
sl@0
   631
		COMMAND		cdir2		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index1_drive2
sl@0
   632
		COMMAND		cdir2		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index2_drive2
sl@0
   633
		COMMAND		cdir2		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index3_drive2
sl@0
   634
		COMMAND		cdir2		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index4_drive2
sl@0
   635
		COMMAND		cdir2		~
sl@0
   636
		COMMAND		cdirScan2	~
sl@0
   637
		COMMAND		rfs2		RmDir			PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir1_drive2
sl@0
   638
		COMMAND		tEntry2		~
sl@0
   639
		COMMAND		fileMan2	Delete		PBASE-F32-DualDrive-Publicapi-RAM-0015_Delete_drive2
sl@0
   640
	    COMMAND		rfs2		RmDir		PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir2_drive2
sl@0
   641
		COMMAND		fileMan2	~
sl@0
   642
		COMMAND		rfs2		~
sl@0
   643
END_TEST_BLOCK
sl@0
   644
CONSECUTIVE
sl@0
   645
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0010
sl@0
   646
sl@0
   647
sl@0
   648
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0011
sl@0
   649
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0011
sl@0
   650
//! @SYMAPI			    CDirScan::SetScanDataL();RFile::Read();RFile::Write()
sl@0
   651
//! @SYMAuthor			Nirmala Bailur 
sl@0
   652
//! @SYMCreationDate		02/07/2008 
sl@0
   653
//! @SYMTestCaseDesc		Testcase to get the filtered list of files in concurrant with read/write operation
sl@0
   654
//! @SYMTestActions		1. Filter the files with attribute normal.
sl@0
   655
//!                     2. Perform write/ read operation in concurrant.
sl@0
   656
//! @SYMTestStatus		Implemented
sl@0
   657
//! @SYMTestPriority	High
sl@0
   658
//! @SYMTestExpectedResults	Filters the file set with KEntryAttNormal as attribute mask in concurrant with read/write operation on another drive
sl@0
   659
//! @SYMTestType		CIT
sl@0
   660
CONCURRENT
sl@0
   661
START_TEST_BLOCK	100	T_Sfsrv		\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   662
		CREATE_OBJECT	RFs		rfs1
sl@0
   663
		CREATE_OBJECT	CFileMan	fileMan1
sl@0
   664
        CREATE_OBJECT	TEntry		tEntry1
sl@0
   665
		CREATE_OBJECT	CDirScan	cdirScan1
sl@0
   666
		CREATE_OBJECT	CDir		cdir1
sl@0
   667
		COMMAND		rfs1		new			
sl@0
   668
		COMMAND		rfs1		Connect
sl@0
   669
		COMMAND		rfs1		MkDirAll		PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll_drive1
sl@0
   670
		COMMAND		fileMan1	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0015_NewL_drive1
sl@0
   671
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy1_drive1
sl@0
   672
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy2_drive1
sl@0
   673
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy3_drive1
sl@0
   674
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy4_drive1
sl@0
   675
		COMMAND		rfs1		MkDirAll			PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll2_drive1
sl@0
   676
		COMMAND		tEntry1		new
sl@0
   677
		COMMAND		cdirScan1	NewL			PBASE-F32-DualDrive-Publicapi-RAM-0015_CDirScan_NewL_drive1
sl@0
   678
		COMMAND		cdirScan1	SetScanDataL		PBASE-F32-DualDrive-Publicapi-RAM-0015_SetScanDataL_drive1
sl@0
   679
		COMMAND		cdirScan1	NextL			PBASE-F32-DualDrive-Publicapi-RAM-0015_NextL_drive1
sl@0
   680
		COMMAND		cdirScan1	FullPath		PBASE-F32-DualDrive-Publicapi-RAM-0015_FullPath_drive1
sl@0
   681
		COMMAND		cdir1		Count			PBASE-F32-DualDrive-Publicapi-RAM-0015_Count_drive1
sl@0
   682
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index1_drive1
sl@0
   683
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index2_drive1
sl@0
   684
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index3_drive1
sl@0
   685
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index4_drive1
sl@0
   686
		COMMAND		cdir1		~
sl@0
   687
		COMMAND		cdirScan1	~
sl@0
   688
		COMMAND		rfs1		RmDir			PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir1_drive1
sl@0
   689
		COMMAND		tEntry1		~
sl@0
   690
		COMMAND		fileMan1	Delete		PBASE-F32-DualDrive-Publicapi-RAM-0015_Delete_drive1
sl@0
   691
		COMMAND		fileMan1	RmDir		PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir2_drive1
sl@0
   692
		COMMAND		fileMan1	~
sl@0
   693
		COMMAND		rfs1		~
sl@0
   694
END_TEST_BLOCK
sl@0
   695
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   696
		CREATE_OBJECT	RFs	rfs2
sl@0
   697
		CREATE_OBJECT	RFile	    file2
sl@0
   698
        CREATE_OBJECT	CFileMan	fileMan2
sl@0
   699
		COMMAND		rfs2	    new
sl@0
   700
		COMMAND		rfs2	    Connect
sl@0
   701
		COMMAND		file2	    new
sl@0
   702
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2
sl@0
   703
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2
sl@0
   704
		COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2
sl@0
   705
        COMMAND		file2	    Close
sl@0
   706
        COMMAND		file2	    Replace		PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2
sl@0
   707
		COMMAND		file2	    Write		PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2
sl@0
   708
		COMMAND		file2	    Close		
sl@0
   709
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2
sl@0
   710
		COMMAND		file2	    Read		PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2
sl@0
   711
		COMMAND		file2	    Close		
sl@0
   712
		COMMAND		file2	    ~		
sl@0
   713
		COMMAND		rfs2	    Delete		PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2
sl@0
   714
		COMMAND		rfs2	    ~		
sl@0
   715
END_TEST_BLOCK
sl@0
   716
CONSECUTIVE
sl@0
   717
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0011
sl@0
   718
sl@0
   719
sl@0
   720
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0012
sl@0
   721
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0012
sl@0
   722
//! @SYMAPI			CFileMan::Attribs();CFileMan::Copy();RFile::Read();RFile::Write()
sl@0
   723
//! @SYMAuthor			Nirmala Bailur 
sl@0
   724
//! @SYMCreationDate		30/05/2008 
sl@0
   725
//! @SYMTestCaseDesc		Copy files on to the drive in concurrent with read/write operation on the other drive.
sl@0
   726
//!				
sl@0
   727
//! @SYMTestActions		1. Call Connect().
sl@0
   728
//!				2. Call Copy() to copy files on to the mmc drives.
sl@0
   729
//!             3. Perform read/write operation on the other drive concurrenlty
sl@0
   730
//! @SYMTestStatus		Implemented
sl@0
   731
//! @SYMTestPriority		High
sl@0
   732
//! @SYMTestExpectedResults	Copying of file will be done concurranlty with the read/write operation
sl@0
   733
//! @SYMTestType		CIT
sl@0
   734
CONCURRENT
sl@0
   735
START_TEST_BLOCK	100	T_Sfsrv	    \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   736
        CREATE_OBJECT	RFs	        rfs1
sl@0
   737
		CREATE_OBJECT	RFile	    file1
sl@0
   738
        CREATE_OBJECT	CFileMan	fileMan1
sl@0
   739
		COMMAND		rfs1	    new
sl@0
   740
		COMMAND		rfs1	    Connect
sl@0
   741
		COMMAND		file1	    new
sl@0
   742
		COMMAND		file1	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0005_Open_drive1
sl@0
   743
		COMMAND		fileMan1	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0005_NewL_drive1
sl@0
   744
		COMMAND		fileMan1    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy_drive1
sl@0
   745
        COMMAND     fileMan1    Attribs     PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs_drive1
sl@0
   746
        COMMAND     rfs1        Delete      PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete_drive1
sl@0
   747
		COMMAND		fileMan1    ~
sl@0
   748
		COMMAND		file1	    Close
sl@0
   749
		COMMAND		file1	    ~
sl@0
   750
		COMMAND		rfs1	    Close
sl@0
   751
		COMMAND		rfs1	    ~
sl@0
   752
END_TEST_BLOCK
sl@0
   753
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   754
		CREATE_OBJECT	RFs	rfs2
sl@0
   755
		CREATE_OBJECT	RFile	    file2
sl@0
   756
        CREATE_OBJECT	CFileMan	fileMan2
sl@0
   757
		COMMAND		rfs2	    new
sl@0
   758
		COMMAND		rfs2	    Connect
sl@0
   759
		COMMAND		file2	    new
sl@0
   760
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2
sl@0
   761
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2
sl@0
   762
		COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2
sl@0
   763
        COMMAND		file2	    Close
sl@0
   764
        COMMAND		file2	    Replace		PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2
sl@0
   765
		COMMAND		file2	    Write		PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2
sl@0
   766
		COMMAND		file2	    Close		
sl@0
   767
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2
sl@0
   768
		COMMAND		file2	    Read		PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2
sl@0
   769
		COMMAND		file2	    Close		
sl@0
   770
		COMMAND		file2	    ~		
sl@0
   771
		COMMAND		rfs2	    Delete		PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2
sl@0
   772
		COMMAND		rfs2	    ~		
sl@0
   773
END_TEST_BLOCK
sl@0
   774
CONSECUTIVE
sl@0
   775
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0012
sl@0
   776
sl@0
   777
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0013
sl@0
   778
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0013
sl@0
   779
//! @SYMAPI			CFileMan::Attribs();CFileMan::Copy()
sl@0
   780
//! @SYMAuthor			Nirmala Bailur 
sl@0
   781
//! @SYMCreationDate		30/05/2008 
sl@0
   782
//! @SYMTestCaseDesc		Copies large file on to the drive in cuncurrent with read/write operation on the large file on the other drive.
sl@0
   783
//!				
sl@0
   784
//! @SYMTestActions		
sl@0
   785
//!				1. Call Copy() to copy files on to the mmc drives.
sl@0
   786
//!             2. Perform read/write operation on the other drive concurrenlty
sl@0
   787
//! @SYMTestStatus		Implemented
sl@0
   788
//! @SYMTestPriority		High
sl@0
   789
//! @SYMTestExpectedResults	Copying of file will be done concurranlty with the read/write operation
sl@0
   790
//! @SYMTestType		CIT
sl@0
   791
CONCURRENT
sl@0
   792
START_TEST_BLOCK	100	T_Sfsrv	    \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   793
        CREATE_OBJECT	RFs	        rfs1
sl@0
   794
		CREATE_OBJECT	RFile	    file1
sl@0
   795
        CREATE_OBJECT	CFileMan	fileMan1
sl@0
   796
		COMMAND		rfs1	    new
sl@0
   797
		COMMAND		rfs1	    Connect
sl@0
   798
		COMMAND		file1	    new
sl@0
   799
		COMMAND		file1	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0020_Open_drive1
sl@0
   800
		COMMAND		fileMan1	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0020_NewL_drive1
sl@0
   801
		COMMAND		fileMan1    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0020_Copy_drive1
sl@0
   802
        COMMAND     fileMan1    Attribs     PBASE-F32-DualDrive-Publicapi-RAM-0020_Attribs_drive1
sl@0
   803
        COMMAND     rfs1        Delete      PBASE-F32-DualDrive-Publicapi-RAM-0020_Delete_drive1
sl@0
   804
		COMMAND		fileMan1    ~
sl@0
   805
		COMMAND		file1	    Close
sl@0
   806
		COMMAND		file1	    ~
sl@0
   807
		COMMAND		rfs1	    Close
sl@0
   808
		COMMAND		rfs1	    ~
sl@0
   809
END_TEST_BLOCK
sl@0
   810
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   811
		CREATE_OBJECT	RFs	rfs2
sl@0
   812
		CREATE_OBJECT	RFile	    file2
sl@0
   813
        CREATE_OBJECT	CFileMan	fileMan2
sl@0
   814
		COMMAND		rfs2	    new
sl@0
   815
		COMMAND		rfs2	    Connect
sl@0
   816
		COMMAND		file2	    new
sl@0
   817
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0018_Open_drive2
sl@0
   818
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0018_NewL_drive2
sl@0
   819
		COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0018_Copy_drive2
sl@0
   820
        COMMAND		file2	    Close
sl@0
   821
        COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2
sl@0
   822
		COMMAND		file2	    Write		PBASE-F32-DualDrive-Publicapi-RAM-0018_Write_drive2
sl@0
   823
		COMMAND		file2	    Close		
sl@0
   824
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2
sl@0
   825
		COMMAND		file2	    Read		PBASE-F32-DualDrive-Publicapi-RAM-0018_Read_drive2
sl@0
   826
		COMMAND		file2	    Close		
sl@0
   827
		COMMAND		file2	    ~		
sl@0
   828
		COMMAND		rfs2	    Delete		PBASE-F32-DualDrive-Publicapi-RAM-0018_Delete_drive2
sl@0
   829
		COMMAND		rfs2	    ~		
sl@0
   830
END_TEST_BLOCK
sl@0
   831
CONSECUTIVE
sl@0
   832
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0013
sl@0
   833
sl@0
   834
sl@0
   835
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0014
sl@0
   836
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0014
sl@0
   837
//! @SYMAPI			    CFileMan:Move();RFile::Read();RFile::Write()
sl@0
   838
//! @SYMAuthor			Nirmala Bailur 
sl@0
   839
//! @SYMCreationDate		03/07/2008 
sl@0
   840
//! @SYMTestCaseDesc		Move the much large file in concurrant with the read/write operation on the file on another drive concurrenlty 
sl@0
   841
//!											
sl@0
   842
//! @SYMTestActions		1.Create a RFs session and call it's Connect() function.
sl@0
   843
//!				2.Call CFileMan::NewL(RFs &aFs) and connected file server session as parameter.
sl@0
   844
//!				3.Call CFileMan::Move()  to move the file from system drive to one of the dual drive.
sl@0
   845
//!				4.Perform Read/write operation on the other drive
sl@0
   846
//! @SYMTestPriority		High
sl@0
   847
//! @SYMTestExpectedResults	File moving and read/write operation on diff drives performed successfully
sl@0
   848
//! @SYMTestType		CIT
sl@0
   849
CONCURRENT
sl@0
   850
START_TEST_BLOCK	50	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   851
		CREATE_OBJECT	RFs				rfs1
sl@0
   852
		CREATE_OBJECT	RFile			file1
sl@0
   853
		CREATE_OBJECT	CFileMan	    fileMan1
sl@0
   854
		COMMAND		rfs1		new
sl@0
   855
		COMMAND		rfs1		Connect
sl@0
   856
		COMMAND		rfs1		MkDir			PBASE-F32-DualDrive-Publicapi-RAM-0021_MkDir_drive1
sl@0
   857
        COMMAND		file1		new
sl@0
   858
		COMMAND		fileMan1	NewL		    PBASE-F32-DualDrive-Publicapi-RAM-0021_NewL_drive1
sl@0
   859
		COMMAND		fileMan1	Move		    PBASE-F32-DualDrive-Publicapi-RAM-0021_Move_drive1
sl@0
   860
		COMMAND     fileMan1    Move            PBASE-F32-DualDrive-Publicapi-RAM-0021_Move2_drive1
sl@0
   861
        COMMAND		file1		Open		    PBASE-F32-DualDrive-Publicapi-RAM-0021_Open2_drive1
sl@0
   862
        COMMAND		rfs1		RmDir		    PBASE-F32-DualDrive-Publicapi-RAM-0021_RmDir_drive1
sl@0
   863
        COMMAND		file1		Close
sl@0
   864
        COMMAND		fileMan1	~
sl@0
   865
		COMMAND		file1		~
sl@0
   866
		COMMAND		rfs1		~		
sl@0
   867
END_TEST_BLOCK
sl@0
   868
START_TEST_BLOCK	100	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
   869
		CREATE_OBJECT	RFs	rfs2
sl@0
   870
		CREATE_OBJECT	RFile	    file2
sl@0
   871
        CREATE_OBJECT	CFileMan	fileMan2
sl@0
   872
		COMMAND		rfs2	    new
sl@0
   873
		COMMAND		rfs2	    Connect
sl@0
   874
		COMMAND		file2	    new
sl@0
   875
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0018_Open_drive2
sl@0
   876
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0018_NewL_drive2
sl@0
   877
		COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0018_Copy_drive2
sl@0
   878
        COMMAND		file2	    Close
sl@0
   879
        COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2
sl@0
   880
		COMMAND		file2	    Write		PBASE-F32-DualDrive-Publicapi-RAM-0018_Write_drive2
sl@0
   881
		COMMAND		file2	    Close		
sl@0
   882
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2
sl@0
   883
		COMMAND		file2	    Read		PBASE-F32-DualDrive-Publicapi-RAM-0018_Read_drive2
sl@0
   884
		COMMAND		file2	    Close		
sl@0
   885
		COMMAND		file2	    ~		
sl@0
   886
		COMMAND		rfs2	    Delete		PBASE-F32-DualDrive-Publicapi-RAM-0018_Delete_drive2
sl@0
   887
		COMMAND		rfs2	    ~		
sl@0
   888
END_TEST_BLOCK
sl@0
   889
CONSECUTIVE
sl@0
   890
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0014
sl@0
   891
sl@0
   892
sl@0
   893
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0015
sl@0
   894
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0015
sl@0
   895
//! @SYMAPI			CDirScan::SetScanDataL;CDirScan::NextL()
sl@0
   896
//! @SYMAuthor			Nirmala Bailur 
sl@0
   897
//! @SYMCreationDate		02/07/2008 
sl@0
   898
//! @SYMTestCaseDesc		Testcase to get the filtered list of filess from  both the drives concurrently
sl@0
   899
sl@0
   900
//! @SYMTestActions		1.Call Create a RFs session and call it's Connect() function.
sl@0
   901
//!				2.Call RFs::MkDirAll() and <Drive>\dirscan\TempDir\ as parameter
sl@0
   902
//!				3.Call CDirScan::NewL() and connected file server session as parameter.
sl@0
   903
//!				4.Call CDirScan::SetScanDataL() and <Drive>\dirscan\ as first parameter, KEntryAttReadOnly as second
sl@0
   904
//!				  parameter, ESortByName as third parameter and EScanDownTree as fourth parameter
sl@0
   905
//!				5.Call CDirScan::NextL() and CDir object as parameter.
sl@0
   906
//!				6.Call CDirScan::FullPath() to verify the expected directory path.
sl@0
   907
//!				7.Call CDir::Count() to verify the number of entries returned.
sl@0
   908
//!				8.Call CDir::operator[] to verify the entries returned.
sl@0
   909
//!				9.Call RFs::RmDir() and <Drive>\dirscan\TempDir\ as parameter
sl@0
   910
//!             10. Perform above operation on both the drives concurrently
sl@0
   911
//! @SYMTestStatus		Implemented
sl@0
   912
//! @SYMTestPriority		High
sl@0
   913
//! @SYMTestExpectedResults	Filters the file set with KEntryAttReadOnly as attribute mask on one drive and KEntryAttrNormal on other drives
sl@0
   914
//! @SYMTestType		CIT
sl@0
   915
CONCURRENT
sl@0
   916
START_TEST_BLOCK	100	T_Sfsrv		\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   917
		CREATE_OBJECT	RFs		rfs1
sl@0
   918
		CREATE_OBJECT	CFileMan	fileMan1
sl@0
   919
        CREATE_OBJECT	TEntry		tEntry1
sl@0
   920
		CREATE_OBJECT	CDirScan	cdirScan1
sl@0
   921
		CREATE_OBJECT	CDir		cdir1
sl@0
   922
		COMMAND		rfs1		new			
sl@0
   923
		COMMAND		rfs1		Connect
sl@0
   924
		COMMAND		rfs1		MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0023_MkDirAll_drive1
sl@0
   925
		COMMAND		fileMan1	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0023_NewL_drive1
sl@0
   926
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0023_Copy1_drive1
sl@0
   927
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0023_Copy2_drive1
sl@0
   928
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0023_Copy3_drive1
sl@0
   929
		COMMAND		fileMan1	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0023_Copy4_drive1
sl@0
   930
        COMMAND		rfs1        SetAtt      PBASE-F32-DualDrive-Publicapi-RAM-0023_SetAtt1_drive1
sl@0
   931
        COMMAND		rfs1        SetAtt      PBASE-F32-DualDrive-Publicapi-RAM-0023_SetAtt2_drive1
sl@0
   932
		COMMAND		tEntry1		new
sl@0
   933
		COMMAND		cdirScan1	NewL			PBASE-F32-DualDrive-Publicapi-RAM-0023_CDirScan_NewL_drive1
sl@0
   934
		COMMAND		cdirScan1	SetScanDataL	PBASE-F32-DualDrive-Publicapi-RAM-0023_SetScanDataL_drive1
sl@0
   935
		COMMAND		cdirScan1	NextL			PBASE-F32-DualDrive-Publicapi-RAM-0023_NextL_drive1
sl@0
   936
		COMMAND		cdirScan1	FullPath		PBASE-F32-DualDrive-Publicapi-RAM-0023_FullPath_drive1
sl@0
   937
		COMMAND		cdir1		Count			PBASE-F32-DualDrive-Publicapi-RAM-0023_Count_drive1
sl@0
   938
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0023_index1_drive1
sl@0
   939
		COMMAND		cdir1		[]			PBASE-F32-DualDrive-Publicapi-RAM-0023_index2_drive1
sl@0
   940
        COMMAND		rfs1        SetAtt      PBASE-F32-DualDrive-Publicapi-RAM-0023_SetAtt4_drive1
sl@0
   941
        COMMAND		rfs1        SetAtt      PBASE-F32-DualDrive-Publicapi-RAM-0023_SetAtt5_drive1
sl@0
   942
		COMMAND		cdir1		~
sl@0
   943
		COMMAND		cdirScan1	~
sl@0
   944
		COMMAND		tEntry1		~
sl@0
   945
		COMMAND		fileMan1	Delete		PBASE-F32-DualDrive-Publicapi-RAM-0023_Delete_drive1
sl@0
   946
		COMMAND		rfs1    	RmDir		PBASE-F32-DualDrive-Publicapi-RAM-0023_RmDir2_drive1
sl@0
   947
		COMMAND		fileMan1	~
sl@0
   948
		COMMAND		rfs1		~
sl@0
   949
END_TEST_BLOCK
sl@0
   950
START_TEST_BLOCK	100	T_Sfsrv		\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
   951
		CREATE_OBJECT	RFs		rfs2
sl@0
   952
		CREATE_OBJECT	CFileMan	fileMan2
sl@0
   953
        CREATE_OBJECT	TEntry		tEntry2
sl@0
   954
		CREATE_OBJECT	CDirScan	cdirScan2
sl@0
   955
		CREATE_OBJECT	CDir		cdir2
sl@0
   956
		COMMAND		rfs2		new			
sl@0
   957
		COMMAND		rfs2		Connect
sl@0
   958
		COMMAND		rfs2		MkDirAll	PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll_drive2
sl@0
   959
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0015_NewL_drive2
sl@0
   960
		COMMAND		fileMan2	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy1_drive2
sl@0
   961
		COMMAND		fileMan2	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy2_drive2
sl@0
   962
		COMMAND		fileMan2	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy3_drive2
sl@0
   963
		COMMAND		fileMan2	Copy		PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy4_drive2
sl@0
   964
		COMMAND		rfs2		MkDirAll			PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll2_drive2
sl@0
   965
		COMMAND		tEntry2		new
sl@0
   966
		COMMAND		cdirScan2	NewL			PBASE-F32-DualDrive-Publicapi-RAM-0015_CDirScan_NewL_drive2
sl@0
   967
		COMMAND		cdirScan2	SetScanDataL		PBASE-F32-DualDrive-Publicapi-RAM-0015_SetScanDataL_drive2
sl@0
   968
		COMMAND		cdirScan2	NextL			PBASE-F32-DualDrive-Publicapi-RAM-0015_NextL_drive2
sl@0
   969
		COMMAND		cdirScan2	FullPath		PBASE-F32-DualDrive-Publicapi-RAM-0015_FullPath_drive2
sl@0
   970
		COMMAND		cdir2		Count			PBASE-F32-DualDrive-Publicapi-RAM-0015_Count_drive2
sl@0
   971
		COMMAND		cdir2		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index1_drive2
sl@0
   972
		COMMAND		cdir2		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index2_drive2
sl@0
   973
		COMMAND		cdir2		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index3_drive2
sl@0
   974
		COMMAND		cdir2		[]			PBASE-F32-DualDrive-Publicapi-RAM-0015_index4_drive2
sl@0
   975
		COMMAND		cdir2		~
sl@0
   976
		COMMAND		cdirScan2	~
sl@0
   977
		COMMAND		rfs2		RmDir			PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir1_drive2
sl@0
   978
		COMMAND		tEntry2		~
sl@0
   979
		COMMAND		fileMan2	Delete		PBASE-F32-DualDrive-Publicapi-RAM-0015_Delete_drive2
sl@0
   980
		COMMAND		fileMan2	RmDir		PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir2_drive2
sl@0
   981
		COMMAND		fileMan2	~
sl@0
   982
		COMMAND		rfs2		~
sl@0
   983
END_TEST_BLOCK
sl@0
   984
CONSECUTIVE
sl@0
   985
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0015
sl@0
   986
sl@0
   987
sl@0
   988
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0017
sl@0
   989
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0017
sl@0
   990
//! @SYMAPI			RFormat::Open();RFormat::Next();RFile::Copy()
sl@0
   991
//! @SYMAuthor			Nirmala Bailur 
sl@0
   992
//! @SYMCreationDate		03/07/2008 
sl@0
   993
//! @SYMTestCaseDesc		Format the one drive concurrenlty with Copy operation on other drive.
sl@0
   994
//!				Uses API elements: Format()
sl@0
   995
//! @SYMTestActions		1. Call Format() on the drive.
sl@0
   996
//!				        2. Try Copying files on to the other drive concurrantly with above operation
sl@0
   997
//! @SYMTestStatus		Implemented
sl@0
   998
//! @SYMTestPriority		High
sl@0
   999
//! @SYMTestExpectedResults	formats the one drive with the read/write operation on another drive concurrently.
sl@0
  1000
//! @SYMTestType		CIT
sl@0
  1001
CONCURRENT
sl@0
  1002
START_TEST_BLOCK	1000	T_Sfsrv	    \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
  1003
        CREATE_OBJECT	RFs	        rfs1
sl@0
  1004
		CREATE_OBJECT	RFile	    file1
sl@0
  1005
        CREATE_OBJECT	CFileMan	fileMan1
sl@0
  1006
		COMMAND		rfs1	    new
sl@0
  1007
		COMMAND		rfs1	    Connect
sl@0
  1008
		COMMAND		file1	    new
sl@0
  1009
		COMMAND		file1	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0020_Open_drive1
sl@0
  1010
		COMMAND		fileMan1	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0020_NewL_drive1
sl@0
  1011
		COMMAND		fileMan1    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0020_Copy_drive1
sl@0
  1012
        COMMAND     fileMan1    Attribs     PBASE-F32-DualDrive-Publicapi-RAM-0020_Attribs_drive1
sl@0
  1013
        COMMAND     rfs1        Delete      PBASE-F32-DualDrive-Publicapi-RAM-0020_Delete_drive1
sl@0
  1014
		COMMAND		fileMan1    ~
sl@0
  1015
		COMMAND		file1	    Close
sl@0
  1016
		COMMAND		file1	    ~
sl@0
  1017
		COMMAND		rfs1	    Close
sl@0
  1018
		COMMAND		rfs1	    ~
sl@0
  1019
END_TEST_BLOCK
sl@0
  1020
START_TEST_BLOCK	1000	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
  1021
		CREATE_OBJECT	RFormat	format2
sl@0
  1022
		CREATE_OBJECT	RFs	rfs2
sl@0
  1023
		COMMAND		rfs2	new
sl@0
  1024
		COMMAND		rfs2	Connect
sl@0
  1025
		COMMAND		format2	new
sl@0
  1026
		COMMAND		format2	Open		PBASE-F32-DualDrive-Publicapi-RAM-0004_Open_drive2
sl@0
  1027
		COMMAND		format2	Next
sl@0
  1028
		COMMAND		format2	Close
sl@0
  1029
		COMMAND		format2	~
sl@0
  1030
		COMMAND		rfs2	Close
sl@0
  1031
		COMMAND		rfs2	~
sl@0
  1032
END_TEST_BLOCK
sl@0
  1033
CONSECUTIVE
sl@0
  1034
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0017
sl@0
  1035
sl@0
  1036
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0018
sl@0
  1037
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0018
sl@0
  1038
//! @SYMAPI			RFormat::Open();RFormat::Next();RFile::Read();RFile::Write()
sl@0
  1039
//! @SYMAuthor			Nirmala Bailur 
sl@0
  1040
//! @SYMCreationDate		03/07/2008 
sl@0
  1041
//! @SYMTestCaseDesc		Format the one drive concurrenlty with read/write operation on large file on another drive.
sl@0
  1042
//!				Uses API elements: Format()
sl@0
  1043
//! @SYMTestActions		1. Call Format() on the drive.
sl@0
  1044
//!				        2. Try Writing and reading operation on the drive concurrantly with above operation
sl@0
  1045
//! @SYMTestStatus		Implemented
sl@0
  1046
//! @SYMTestPriority		High
sl@0
  1047
//! @SYMTestExpectedResults	formats the one drive with the read/write operation on another drive concurrently.
sl@0
  1048
//! @SYMTestType		CIT
sl@0
  1049
CONCURRENT
sl@0
  1050
START_TEST_BLOCK	1000	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
  1051
		CREATE_OBJECT	RFormat	format1
sl@0
  1052
		CREATE_OBJECT	RFs	rfs1
sl@0
  1053
		COMMAND		rfs1	new
sl@0
  1054
		COMMAND		rfs1	Connect
sl@0
  1055
		COMMAND		format1	new
sl@0
  1056
		COMMAND		format1	Open		PBASE-F32-DualDrive-Publicapi-RAM-0004_Open_drive1
sl@0
  1057
		COMMAND		format1	Next
sl@0
  1058
		COMMAND		format1	Close
sl@0
  1059
		COMMAND		format1	~
sl@0
  1060
		COMMAND		rfs1	Close
sl@0
  1061
		COMMAND		rfs1	~
sl@0
  1062
END_TEST_BLOCK
sl@0
  1063
START_TEST_BLOCK	1000	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini
sl@0
  1064
		CREATE_OBJECT	RFs	rfs2
sl@0
  1065
		CREATE_OBJECT	RFile	    file2
sl@0
  1066
        CREATE_OBJECT	CFileMan	fileMan2
sl@0
  1067
		COMMAND		rfs2	    new
sl@0
  1068
		COMMAND		rfs2	    Connect
sl@0
  1069
		COMMAND		file2	    new
sl@0
  1070
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0018_Open_drive2
sl@0
  1071
		COMMAND		fileMan2	NewL		PBASE-F32-DualDrive-Publicapi-RAM-0018_NewL_drive2
sl@0
  1072
		COMMAND		fileMan2    Copy		PBASE-F32-DualDrive-Publicapi-RAM-0018_Copy_drive2
sl@0
  1073
        COMMAND		file2	    Close
sl@0
  1074
        COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2
sl@0
  1075
		COMMAND		file2	    Write		PBASE-F32-DualDrive-Publicapi-RAM-0018_Write_drive2
sl@0
  1076
		COMMAND		file2	    Close		
sl@0
  1077
		COMMAND		file2	    Open		PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2
sl@0
  1078
		COMMAND		file2	    Read		PBASE-F32-DualDrive-Publicapi-RAM-0018_Read_drive2
sl@0
  1079
		COMMAND		file2	    Close		
sl@0
  1080
		COMMAND		file2	    ~		
sl@0
  1081
		COMMAND		rfs2	    Delete		PBASE-F32-DualDrive-Publicapi-RAM-0018_Delete_drive2
sl@0
  1082
		COMMAND		rfs2	    ~		
sl@0
  1083
END_TEST_BLOCK
sl@0
  1084
CONSECUTIVE
sl@0
  1085
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0018
sl@0
  1086
sl@0
  1087
START_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0016
sl@0
  1088
//! @SYMTestCaseID		PBASE-F32-DualDrive-Publicapi-RAM-0016
sl@0
  1089
//! @SYMAPI			RFormat::Open();RFormat::Next()
sl@0
  1090
//! @SYMAuthor			Nirmala Bailur 
sl@0
  1091
//! @SYMCreationDate		30/05/2008 
sl@0
  1092
//! @SYMTestCaseDesc		Try to format both the drives.
sl@0
  1093
//!				Uses API elements: Format()
sl@0
  1094
//! @SYMTestActions		
sl@0
  1095
//!				        1. Call Format() on both the drives.	
sl@0
  1096
//!				        2. Call Close().
sl@0
  1097
//! @SYMTestStatus		Implemented
sl@0
  1098
//! @SYMTestPriority		High
sl@0
  1099
//! @SYMTestExpectedResults	Function Format() returns KErrNone and formats both the drives.
sl@0
  1100
//! @SYMTestType		CIT
sl@0
  1101
CONCURRENT
sl@0
  1102
START_TEST_BLOCK	1000	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
  1103
		CREATE_OBJECT	RFormat	format1
sl@0
  1104
		CREATE_OBJECT	RFs	rfs1
sl@0
  1105
		COMMAND		rfs1	new
sl@0
  1106
		COMMAND		rfs1	Connect
sl@0
  1107
		COMMAND		format1	new
sl@0
  1108
		COMMAND		format1	Open		PBASE-F32-DualDrive-Publicapi-RAM-0004_Open_drive1
sl@0
  1109
		COMMAND		format1	Next
sl@0
  1110
		COMMAND		format1	Close
sl@0
  1111
		COMMAND		format1	~
sl@0
  1112
		COMMAND		rfs1	Close
sl@0
  1113
		COMMAND		rfs1	~
sl@0
  1114
END_TEST_BLOCK
sl@0
  1115
START_TEST_BLOCK	1000	T_Sfsrv	\base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini 
sl@0
  1116
		CREATE_OBJECT	RFormat	format2
sl@0
  1117
		CREATE_OBJECT	RFs	rfs2
sl@0
  1118
		COMMAND		rfs2	new
sl@0
  1119
		COMMAND		rfs2	Connect
sl@0
  1120
		COMMAND		format2	new
sl@0
  1121
		COMMAND		format2	Open		PBASE-F32-DualDrive-Publicapi-RAM-0004_Open_drive2
sl@0
  1122
		COMMAND		format2	Next
sl@0
  1123
		COMMAND		format2	Close
sl@0
  1124
		COMMAND		format2	~
sl@0
  1125
		COMMAND		rfs2	Close
sl@0
  1126
		COMMAND		rfs2	~
sl@0
  1127
END_TEST_BLOCK
sl@0
  1128
CONSECUTIVE
sl@0
  1129
END_TESTCASE			PBASE-F32-DualDrive-Publicapi-RAM-0016
sl@0
  1130
sl@0
  1131
sl@0
  1132
sl@0
  1133
sl@0
  1134