os/kernelhwsrv/baseapitest/basesvs/validation/f32/sfsrv/scripts/PBASE-F32-Entry-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-sfsrv-publicapi-ram
sl@0
    18
//! @SYMScriptTestEnvironment		This test script requires a basic ROM.
sl@0
    19
//! @SYMScriptAuthor 			Dmitri Trofimov, Sergei Tveritin, Jaanus Randveer
sl@0
    20
//! @SYMCreationDate			12/10/2007
sl@0
    21
//! @SYMScriptDescription		The test script contains API tests for the following functions of TEntry class:
sl@0
    22
//! TEntry();
sl@0
    23
//! TEntry(const TEntry &aEntry);
sl@0
    24
//! TEntry &operator=(const TEntry &aEntry);
sl@0
    25
//! const TUid &operator[](TInt anIndex) const;
sl@0
    26
//! TBool IsUidPresent(TUid aUid) const;
sl@0
    27
//! TBool IsTypeValid() const;
sl@0
    28
//! TUid MostDerivedUid() const;
sl@0
    29
//! TBool IsReadOnly() const;
sl@0
    30
//! TBool IsHidden() const;
sl@0
    31
//! TBool IsSystem() const;
sl@0
    32
//! TBool IsDir() const;
sl@0
    33
//! TBool IsArchive() const;
sl@0
    34
sl@0
    35
sl@0
    36
LOAD_SUITE	T_SfSrv
sl@0
    37
//DELAY		5000
sl@0
    38
sl@0
    39
sl@0
    40
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0001
sl@0
    41
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0001
sl@0
    42
//! @SYMAPI			TEntry
sl@0
    43
//!
sl@0
    44
//! @SYMTestCaseDesc		TEntry() test. Tests for successful object creation.
sl@0
    45
//!				Uses API elements: TEntry()
sl@0
    46
//! @SYMTestActions		1. Create a TEntry object
sl@0
    47
//!
sl@0
    48
//! @SYMTestStatus		Implemented
sl@0
    49
//! @SYMTestPriority		Critical
sl@0
    50
//! @SYMTestExpectedResults	Function does not leave nor panic
sl@0
    51
//! @SYMTestType		CIT
sl@0
    52
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
    53
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
    54
		COMMAND		TEntry1		new
sl@0
    55
		COMMAND		TEntry1		~
sl@0
    56
	END_TEST_BLOCK
sl@0
    57
END_TESTCASE			PBASE-F32-Entry-PublicApi-0001
sl@0
    58
sl@0
    59
sl@0
    60
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0002
sl@0
    61
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0002
sl@0
    62
//! @SYMAPI			TEntry
sl@0
    63
//! @SYMTestCaseDesc		operator=() test. Tests for successful assignment of one TEntry object to another TEntry object.
sl@0
    64
//!				Uses API elements: TEntry(), operator=(), RFs::Entry()
sl@0
    65
//! @SYMTestActions		1. Create a TEntry object.
sl@0
    66
//!				2. Call RFs's command Entry() and pass "<RAM_DRIVE>:\<RELATIVE_PATH>\Entry\Test1.txt" as name of file.
sl@0
    67
//!				3. Create second TEntry object.
sl@0
    68
//!				4. Call assignment operator "=" and pass second TEntry object, first TEntry object to be copied to this second TEntry object.
sl@0
    69
//!				5. Check that firstTEntr and second TEntry has the same name "\base\PBASE-F32-Entry-PublicApi.ini".
sl@0
    70
//!
sl@0
    71
//! @SYMTestStatus		Implemented
sl@0
    72
//! @SYMTestPriority		Critical
sl@0
    73
//! @SYMTestExpectedResults	Second TEntry object contains same data as the first TEntry.
sl@0
    74
//! @SYMTestType		CIT
sl@0
    75
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
    76
		CREATE_OBJECT	RFs		RFs1
sl@0
    77
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
    78
		COMMAND		RFs1		new			
sl@0
    79
		COMMAND		RFs1		Connect
sl@0
    80
		COMMAND		RFs1		MkDirAll	PBASE-F32-Entry-PublicApi-0002-001-MkDirAll_command004
sl@0
    81
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0002-001-NewL_command005
sl@0
    82
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0002-001-Copy_command006
sl@0
    83
		COMMAND		CFileMan1	~
sl@0
    84
		COMMAND		RFs1		~
sl@0
    85
	END_TEST_BLOCK	
sl@0
    86
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
    87
		CREATE_OBJECT	RFs		RFs1	
sl@0
    88
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
    89
		CREATE_OBJECT	TEntry		TEntry2	
sl@0
    90
		COMMAND		RFs1		new		
sl@0
    91
		COMMAND		RFs1		Connect		
sl@0
    92
		COMMAND		TEntry1		new	
sl@0
    93
		COMMAND		RFs1		Entry	PBASE-F32-Entry-PublicApi-0002-002-Entry_command007
sl@0
    94
		COMMAND		TEntry2		new		
sl@0
    95
		COMMAND		TEntry2		=	PBASE-F32-Entry-PublicApi-0002-002-=_command009
sl@0
    96
		COMMAND		TEntry2		~		
sl@0
    97
		COMMAND		TEntry1		~		
sl@0
    98
		COMMAND		RFs1		~		
sl@0
    99
	END_TEST_BLOCK
sl@0
   100
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   101
		CREATE_OBJECT	RFs		RFs1
sl@0
   102
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   103
		COMMAND		RFs1		new			
sl@0
   104
		COMMAND		RFs1		Connect
sl@0
   105
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0002-003-NewL_command004
sl@0
   106
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0002-003-Delete_command005
sl@0
   107
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0002-003-RmDir_command006
sl@0
   108
		COMMAND		CFileMan1	~
sl@0
   109
		COMMAND		RFs1		~
sl@0
   110
	END_TEST_BLOCK
sl@0
   111
END_TESTCASE			PBASE-F32-Entry-PublicApi-0002
sl@0
   112
sl@0
   113
sl@0
   114
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0003
sl@0
   115
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0003
sl@0
   116
//! @SYMAPI			TEntry
sl@0
   117
//! @SYMTestCaseDesc		TEntry() passing another TEntry object as a reference. Tests for successful creation of TEntry object and initilization with another TEntry objet's data.
sl@0
   118
//!				Uses API elements: TEntry()
sl@0
   119
//! @SYMTestActions		1. Create a TEntry object
sl@0
   120
//!				2. Call RFs's command Entry() and pass "<RAM_DRIVE>:\<RELATIVE_PATH>\Entry\Test1.txt" as name of file.
sl@0
   121
//!				3. Create the second TEntry object passing the the first TEntry as a parameter
sl@0
   122
//!				4. Compare data members of the first and the second TEntry objects.
sl@0
   123
//!
sl@0
   124
//! @SYMTestStatus		Implemented
sl@0
   125
//! @SYMTestPriority		Critical
sl@0
   126
//! @SYMTestExpectedResults	New TEntry object contains same data as the other one.
sl@0
   127
//! @SYMTestType		CIT
sl@0
   128
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   129
		CREATE_OBJECT	RFs		RFs1
sl@0
   130
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   131
		COMMAND		RFs1		new			
sl@0
   132
		COMMAND		RFs1		Connect
sl@0
   133
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0003-001-MkDirAll_command004
sl@0
   134
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0003-001-NewL_command005
sl@0
   135
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0003-001-Copy_command006
sl@0
   136
		COMMAND		CFileMan1	~
sl@0
   137
		COMMAND		RFs1		~
sl@0
   138
	END_TEST_BLOCK	
sl@0
   139
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   140
		CREATE_OBJECT	RFs		RFs1	
sl@0
   141
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   142
		CREATE_OBJECT	TEntry		TEntry2	
sl@0
   143
		COMMAND		RFs1		new		
sl@0
   144
		COMMAND		RFs1		Connect		
sl@0
   145
		COMMAND		TEntry1		new		
sl@0
   146
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0003-002-Entry_command007
sl@0
   147
		COMMAND		TEntry2		new		PBASE-F32-Entry-PublicApi-0003-002-new_command008
sl@0
   148
		COMMAND		TEntry2		IsReadOnly	PBASE-F32-Entry-PublicApi-0003-002-IsReadOnly_command009
sl@0
   149
		COMMAND		TEntry2		IsHidden	PBASE-F32-Entry-PublicApi-0003-002-IsHidden_command010
sl@0
   150
		COMMAND		TEntry2		IsDir		PBASE-F32-Entry-PublicApi-0003-002-IsDir_command011
sl@0
   151
		COMMAND		TEntry2		~		
sl@0
   152
		COMMAND		TEntry1		~		
sl@0
   153
		COMMAND		RFs1		~		
sl@0
   154
	END_TEST_BLOCK
sl@0
   155
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   156
		CREATE_OBJECT	RFs		RFs1
sl@0
   157
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   158
		COMMAND		RFs1		new			
sl@0
   159
		COMMAND		RFs1		Connect
sl@0
   160
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0003-003-NewL_command004
sl@0
   161
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0003-003-Delete_command005
sl@0
   162
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0003-003-RmDir_command006
sl@0
   163
		COMMAND		CFileMan1	~
sl@0
   164
		COMMAND		RFs1		~
sl@0
   165
	END_TEST_BLOCK
sl@0
   166
END_TESTCASE			PBASE-F32-Entry-PublicApi-0003
sl@0
   167
sl@0
   168
sl@0
   169
//! START_TESTCASE 			PBASE-F32-Entry-PublicApi-0004
sl@0
   170
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0004
sl@0
   171
//! @SYMAPI			TEntry
sl@0
   172
//! @SYMCreationDate		13/08/2006
sl@0
   173
//! @SYMTestCaseDesc		operator[] negative test where passing unsupported index of UID as a parameter. This tests for panic when unsupported UID
sl@0
   174
//!				index value is provided.
sl@0
   175
//!				Uses API elements: operator[]
sl@0
   176
//! @SYMTestActions		1. Create a TEntry object
sl@0
   177
//!				2. Try get "four UID"
sl@0
   178
//!
sl@0
   179
//! @SYMTestStatus		Implemented
sl@0
   180
//! @SYMTestPriority		Critical
sl@0
   181
//! @SYMTestExpectedResults	Panic USER - 37.
sl@0
   182
//! @SYMTestType		CIT
sl@0
   183
//! 	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   184
//! 		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   185
//! 		COMMAND		TEntry1		new		
sl@0
   186
//! 		COMMAND		TEntry1		[]		PBASE-F32-Entry-PublicApi-0004-001-index_command003
sl@0
   187
//! 		COMMAND		TEntry1		~		
sl@0
   188
//! 	END_TEST_BLOCK	!PanicCode=37 !PanicString=USER
sl@0
   189
//! END_TESTCASE			PBASE-F32-Entry-PublicApi-0004
sl@0
   190
sl@0
   191
sl@0
   192
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0005
sl@0
   193
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0005
sl@0
   194
//! @SYMAPI			TEntry
sl@0
   195
//! @SYMTestCaseDesc		IsUidPresent() test. This tests the function for finding a match in "first UID".
sl@0
   196
//!				Uses API elements: IsUidPresent()
sl@0
   197
//! @SYMTestActions		1. Create a TEntry object
sl@0
   198
//!				2. Call IsUidPresent() and and check that the function return "FALSE".
sl@0
   199
//!				3. Call RFs's command Entry() and pass "<RAM_DRIVE>:\<RELATIVE_PATH>\Entry\Test3.txt" as name of file.
sl@0
   200
//!				4. Call IsUidPresent() and check that the function return "FALSE".
sl@0
   201
//!
sl@0
   202
//! @SYMTestStatus		Implemented
sl@0
   203
//! @SYMTestPriority		Critical
sl@0
   204
//! @SYMTestExpectedResults	IsUidPresent() returns ETrue
sl@0
   205
//! @SYMTestType		CIT
sl@0
   206
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   207
		CREATE_OBJECT	RFs		RFs1
sl@0
   208
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   209
		COMMAND		RFs1		new			
sl@0
   210
		COMMAND		RFs1		Connect
sl@0
   211
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0005-001-MkDirAll_command004
sl@0
   212
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0005-001-NewL_command005
sl@0
   213
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0005-001-Copy_command006
sl@0
   214
		COMMAND		CFileMan1	~
sl@0
   215
		COMMAND		RFs1		~
sl@0
   216
	END_TEST_BLOCK	
sl@0
   217
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   218
		CREATE_OBJECT	RFs		RFs1	
sl@0
   219
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   220
		COMMAND		RFs1		new		
sl@0
   221
		COMMAND		RFs1		Connect		
sl@0
   222
		COMMAND		TEntry1		new		
sl@0
   223
		COMMAND		TEntry1		IsUidPresent	PBASE-F32-Entry-PublicApi-0005-002-IsUidPresent_command006
sl@0
   224
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0005-002-Entry_command007
sl@0
   225
		COMMAND		TEntry1		IsUidPresent	PBASE-F32-Entry-PublicApi-0005-002-IsUidPresent_command008
sl@0
   226
		COMMAND		TEntry1		~		
sl@0
   227
		COMMAND		RFs1		~		
sl@0
   228
	END_TEST_BLOCK
sl@0
   229
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   230
		CREATE_OBJECT	RFs		RFs1
sl@0
   231
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   232
		COMMAND		RFs1		new			
sl@0
   233
		COMMAND		RFs1		Connect
sl@0
   234
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0005-003-NewL_command004
sl@0
   235
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0005-003-Delete_command005
sl@0
   236
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0005-003-RmDir_command006
sl@0
   237
		COMMAND		CFileMan1	~
sl@0
   238
		COMMAND		RFs1		~
sl@0
   239
	END_TEST_BLOCK
sl@0
   240
END_TESTCASE			PBASE-F32-Entry-PublicApi-0005
sl@0
   241
sl@0
   242
sl@0
   243
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0006
sl@0
   244
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0006
sl@0
   245
//! @SYMAPI			TEntry
sl@0
   246
//! @SYMTestCaseDesc		IsTypeValid() test. This tests if the function can correctly identify the absence of valid UID.
sl@0
   247
//!				Uses API elements: IsTypeValid()
sl@0
   248
//! @SYMTestActions		1. Create TEntry object
sl@0
   249
//!				2. Call IsTypeValid() and and check that the function return "FALSE".
sl@0
   250
//!				3. Call RFs's command Entry() and pass "<RAM_DRIVE>:\<RELATIVE_PATH>\Entry\Test3.txt" as name of file.
sl@0
   251
//!				4. Call IsTypeValid() and check that the function return "FALSE".
sl@0
   252
//!
sl@0
   253
//! @SYMTestStatus		Implemented
sl@0
   254
//! @SYMTestPriority		Critical
sl@0
   255
//! @SYMTestExpectedResults	IsTypeValid() returns EFalse
sl@0
   256
//! @SYMTestType		CIT
sl@0
   257
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   258
		CREATE_OBJECT	RFs		RFs1
sl@0
   259
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   260
		COMMAND		RFs1		new			
sl@0
   261
		COMMAND		RFs1		Connect
sl@0
   262
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0006-001-MkDirAll_command004
sl@0
   263
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0006-001-NewL_command005
sl@0
   264
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0006-001-Copy_command006
sl@0
   265
		COMMAND		CFileMan1	~
sl@0
   266
		COMMAND		RFs1		~
sl@0
   267
	END_TEST_BLOCK
sl@0
   268
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   269
		CREATE_OBJECT	RFs		RFs1	
sl@0
   270
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   271
		COMMAND		RFs1		new		
sl@0
   272
		COMMAND		RFs1		Connect		
sl@0
   273
		COMMAND		TEntry1		new		
sl@0
   274
		COMMAND		TEntry1		IsTypeValid	PBASE-F32-Entry-PublicApi-0006-002-IsTypeValid_command006
sl@0
   275
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0006-002-Entry_command007
sl@0
   276
		COMMAND		TEntry1		IsTypeValid	PBASE-F32-Entry-PublicApi-0006-002-IsTypeValid_command008
sl@0
   277
		COMMAND		TEntry1		~		
sl@0
   278
		COMMAND		RFs1		~		
sl@0
   279
	END_TEST_BLOCK
sl@0
   280
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   281
		CREATE_OBJECT	RFs		RFs1
sl@0
   282
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   283
		COMMAND		RFs1		new			
sl@0
   284
		COMMAND		RFs1		Connect
sl@0
   285
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0006-003-NewL_command004
sl@0
   286
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0006-003-Delete_command005
sl@0
   287
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0006-003-RmDir_command006
sl@0
   288
		COMMAND		CFileMan1	~
sl@0
   289
		COMMAND		RFs1		~
sl@0
   290
	END_TEST_BLOCK
sl@0
   291
END_TESTCASE			PBASE-F32-Entry-PublicApi-0006
sl@0
   292
sl@0
   293
sl@0
   294
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0007
sl@0
   295
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0007
sl@0
   296
//! @SYMAPI			TEntry
sl@0
   297
//! @SYMTestCaseDesc		MostDerivedUid(). This tests if the function is able to correctly find the most derived UID when it is "first UID".
sl@0
   298
//!				Uses API elements: MostDerivedUid()
sl@0
   299
//! @SYMTestActions		1. Create TEntry object
sl@0
   300
//!				2. Call RFs's command Entry() and pass "<RAM_DRIVE>:\<RELATIVE_PATH>\Entry\Test3.txt" as name of file.
sl@0
   301
//!				3. Call MostDerivedUid().
sl@0
   302
//!
sl@0
   303
//! @SYMTestStatus		Implemented
sl@0
   304
//! @SYMTestPriority		Critical
sl@0
   305
//! @SYMTestExpectedResults	Function returns no panic.
sl@0
   306
//! @SYMTestType		CIT
sl@0
   307
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   308
		CREATE_OBJECT	RFs		RFs1
sl@0
   309
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   310
		COMMAND		RFs1		new			
sl@0
   311
		COMMAND		RFs1		Connect
sl@0
   312
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0007-001-MkDirAll_command004
sl@0
   313
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0007-001-NewL_command005
sl@0
   314
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0007-001-Copy_command006
sl@0
   315
		COMMAND		CFileMan1	~
sl@0
   316
		COMMAND		RFs1		~
sl@0
   317
	END_TEST_BLOCK
sl@0
   318
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   319
		CREATE_OBJECT	RFs		RFs1	
sl@0
   320
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   321
		COMMAND		RFs1		new		
sl@0
   322
		COMMAND		RFs1		Connect		
sl@0
   323
		COMMAND		TEntry1		new		
sl@0
   324
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0007-002-Entry_command006
sl@0
   325
		COMMAND		TEntry1		MostDerivedUid	
sl@0
   326
		COMMAND		TEntry1		~		
sl@0
   327
		COMMAND		RFs1		~		
sl@0
   328
	END_TEST_BLOCK
sl@0
   329
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   330
		CREATE_OBJECT	RFs		RFs1
sl@0
   331
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   332
		COMMAND		RFs1		new			
sl@0
   333
		COMMAND		RFs1		Connect
sl@0
   334
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0007-003-NewL_command004
sl@0
   335
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0007-003-Delete_command005
sl@0
   336
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0007-003-RmDir_command006
sl@0
   337
		COMMAND		CFileMan1	~
sl@0
   338
		COMMAND		RFs1		~
sl@0
   339
	END_TEST_BLOCK
sl@0
   340
END_TESTCASE			PBASE-F32-Entry-PublicApi-0007
sl@0
   341
sl@0
   342
sl@0
   343
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0008
sl@0
   344
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0008
sl@0
   345
//! @SYMAPI			TEntry
sl@0
   346
//! @SYMTestCaseDesc		IsReadOnly() test. Test if the function is able to correctly identify the presence of ReadOnly attribute.
sl@0
   347
//!				Uses API elements: IsReadOnly(), RFs:SetAtt()
sl@0
   348
//! @SYMTestActions		1. Create RFs object
sl@0
   349
//!				2. Create TEntry object
sl@0
   350
//!				3. Call RFs::SetAtt() and pass KEntryAttReadOnly as attribute and "Test1.txt" as name of entry.
sl@0
   351
//!				4. Call RFs::Entry() to obtain data for TEntry object where name is "Test1.txt".
sl@0
   352
//!				5. Call IsReadOnly(), and check that the attribute is set.
sl@0
   353
//!				6. Call RFs::SetAtt() and pass KEntryAttReadOnly as attribute for clear and "Test1.txt" as name of entry.
sl@0
   354
//!				7. Call RFs::Entry() to obtain data for TEntry object where name is "Test1.txt".
sl@0
   355
//!				8. Call IsReadOnly(), and check that the attribute is not set.
sl@0
   356
//!
sl@0
   357
//! @SYMTestStatus		Implemented
sl@0
   358
//! @SYMTestPriority		Critical
sl@0
   359
//! @SYMTestExpectedResults	IsReadonly() returns expected result successfuly.
sl@0
   360
//! @SYMTestType		CIT
sl@0
   361
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   362
		CREATE_OBJECT	RFs		RFs1
sl@0
   363
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   364
		COMMAND		RFs1		new			
sl@0
   365
		COMMAND		RFs1		Connect
sl@0
   366
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0008-001-MkDirAll_command004
sl@0
   367
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0008-001-NewL_command005
sl@0
   368
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0008-001-Copy_command006
sl@0
   369
		COMMAND		CFileMan1	~
sl@0
   370
		COMMAND		RFs1		~
sl@0
   371
	END_TEST_BLOCK
sl@0
   372
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   373
		CREATE_OBJECT	RFs		RFs1	
sl@0
   374
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   375
		COMMAND		RFs1		new		
sl@0
   376
		COMMAND		RFs1		Connect		
sl@0
   377
		COMMAND		RFs1		SetAtt		PBASE-F32-Entry-PublicApi-0008-002-SetAtt_command005
sl@0
   378
		COMMAND		TEntry1		new		
sl@0
   379
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0008-002-Entry_command007
sl@0
   380
		COMMAND		TEntry1		IsReadOnly	PBASE-F32-Entry-PublicApi-0008-002-IsReadOnly_command008
sl@0
   381
		COMMAND		RFs1		SetAtt		PBASE-F32-Entry-PublicApi-0008-002-SetAtt_command009
sl@0
   382
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0008-002-Entry_command010
sl@0
   383
		COMMAND		TEntry1		IsReadOnly	PBASE-F32-Entry-PublicApi-0008-002-IsReadOnly_command011
sl@0
   384
		COMMAND		TEntry1		~		
sl@0
   385
		COMMAND		RFs1		~		
sl@0
   386
	END_TEST_BLOCK
sl@0
   387
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   388
		CREATE_OBJECT	RFs		RFs1
sl@0
   389
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   390
		COMMAND		RFs1		new			
sl@0
   391
		COMMAND		RFs1		Connect
sl@0
   392
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0008-003-NewL_command004
sl@0
   393
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0008-003-Delete_command005
sl@0
   394
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0008-003-RmDir_command006
sl@0
   395
		COMMAND		CFileMan1	~
sl@0
   396
		COMMAND		RFs1		~
sl@0
   397
	END_TEST_BLOCK
sl@0
   398
END_TESTCASE			PBASE-F32-Entry-PublicApi-0008
sl@0
   399
sl@0
   400
sl@0
   401
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0009
sl@0
   402
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0009
sl@0
   403
//! @SYMAPI			TEntry
sl@0
   404
//! @SYMTestCaseDesc		IsHidden() test. This tests if the function is able to identify the presence of Hidden attribute.
sl@0
   405
//!				Uses API elements: IsHidden(), RFs:SetAtt()
sl@0
   406
//! @SYMTestActions		1. Create RFs object
sl@0
   407
//!				2. Create TEntry object
sl@0
   408
//!				3. Call RFs::SetAtt() and pass KEntryAttHidden as attribute and "Test1.txt" as name of entry.
sl@0
   409
//!				4. Call RFs::Entry() to obtain data for TEntry object where name is "Test1.txt".
sl@0
   410
//!				5. Call IsHidden(), and check that the attribute is set.
sl@0
   411
//!				6. Call RFs::SetAtt() and pass KEntryAttHidden as attribute for clear and "Test1.txt" as name of entry.
sl@0
   412
//!				7. Call RFs::Entry() to obtain data for TEntry object where name is "Test1.txt".
sl@0
   413
//!				8. Call IsHidden(), and check that the attribute is not set.
sl@0
   414
//!
sl@0
   415
//!
sl@0
   416
//! @SYMTestStatus		Implemented
sl@0
   417
//! @SYMTestPriority		Critical
sl@0
   418
//! @SYMTestExpectedResults	IsHidden() returns expected result successfuly.
sl@0
   419
//! @SYMTestType		CIT
sl@0
   420
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   421
		CREATE_OBJECT	RFs		RFs1
sl@0
   422
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   423
		COMMAND		RFs1		new			
sl@0
   424
		COMMAND		RFs1		Connect
sl@0
   425
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0009-001-MkDirAll_command004
sl@0
   426
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0009-001-NewL_command005
sl@0
   427
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0009-001-Copy_command006
sl@0
   428
		COMMAND		CFileMan1	~
sl@0
   429
		COMMAND		RFs1		~
sl@0
   430
	END_TEST_BLOCK
sl@0
   431
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   432
		CREATE_OBJECT	RFs		RFs1	
sl@0
   433
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   434
		COMMAND		RFs1		new		
sl@0
   435
		COMMAND		RFs1		Connect		
sl@0
   436
		COMMAND		RFs1		SetAtt		PBASE-F32-Entry-PublicApi-0009-002-SetAtt_command005
sl@0
   437
		COMMAND		TEntry1		new		
sl@0
   438
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0009-002-Entry_command007
sl@0
   439
		COMMAND		TEntry1		IsHidden	PBASE-F32-Entry-PublicApi-0009-002-IsHidden_command008
sl@0
   440
		COMMAND		RFs1		SetAtt		PBASE-F32-Entry-PublicApi-0009-002-SetAtt_command009
sl@0
   441
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0009-002-Entry_command010
sl@0
   442
		COMMAND		TEntry1		IsHidden	PBASE-F32-Entry-PublicApi-0009-002-IsHidden_command011
sl@0
   443
		COMMAND		TEntry1		~		
sl@0
   444
		COMMAND		RFs1		~		
sl@0
   445
	END_TEST_BLOCK
sl@0
   446
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   447
		CREATE_OBJECT	RFs		RFs1
sl@0
   448
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   449
		COMMAND		RFs1		new			
sl@0
   450
		COMMAND		RFs1		Connect
sl@0
   451
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0009-003-NewL_command004
sl@0
   452
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0009-003-Delete_command005
sl@0
   453
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0009-003-RmDir_command006
sl@0
   454
		COMMAND		CFileMan1	~
sl@0
   455
		COMMAND		RFs1		~
sl@0
   456
	END_TEST_BLOCK
sl@0
   457
END_TESTCASE			PBASE-F32-Entry-PublicApi-0009
sl@0
   458
sl@0
   459
sl@0
   460
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0010
sl@0
   461
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0010
sl@0
   462
//! @SYMAPI			TEntry
sl@0
   463
//! @SYMTestCaseDesc		IsSystem() test. This tests if the function is able to identify the presence of System attribute.
sl@0
   464
//!				Uses API elements: IsSystem(), RFs:SetAtt()
sl@0
   465
//! @SYMTestActions		1. Create RFs object
sl@0
   466
//!				2. Create TEntry object
sl@0
   467
//!				3. Call RFs::SetAtt() and pass KEntryAttSystem as attribute and "Test1.txt" as name of entry.
sl@0
   468
//!				4. Call RFs::Entry() to obtain data for TEntry object where name is "Test1.txt".
sl@0
   469
//!				5. Call IsSystem(), and check that the attribute is set.
sl@0
   470
//!				6. Call RFs::SetAtt() and pass KEntryAttSystem as attribute for clear and "Test1.txt" as name of entry.
sl@0
   471
//!				7. Call RFs::Entry() to obtain data for TEntry object where name is "Test1.txt".
sl@0
   472
//!				8. Call IsSystem(), and check that the attribute is not set.
sl@0
   473
//!
sl@0
   474
//! @SYMTestStatus		Implemented
sl@0
   475
//! @SYMTestPriority		Critical
sl@0
   476
//! @SYMTestExpectedResults	IsSystem() returns expected result successfuly.
sl@0
   477
//! @SYMTestType		CIT
sl@0
   478
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   479
		CREATE_OBJECT	RFs		RFs1
sl@0
   480
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   481
		COMMAND		RFs1		new			
sl@0
   482
		COMMAND		RFs1		Connect
sl@0
   483
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0010-001-MkDirAll_command004
sl@0
   484
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0010-001-NewL_command005
sl@0
   485
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0010-001-Copy_command006
sl@0
   486
		COMMAND		CFileMan1	~
sl@0
   487
		COMMAND		RFs1		~
sl@0
   488
	END_TEST_BLOCK
sl@0
   489
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   490
		CREATE_OBJECT	RFs		RFs1	
sl@0
   491
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   492
		COMMAND		RFs1		new		
sl@0
   493
		COMMAND		RFs1		Connect		
sl@0
   494
		COMMAND		RFs1		SetAtt		PBASE-F32-Entry-PublicApi-0010-002-SetAtt_command005
sl@0
   495
		COMMAND		TEntry1		new		
sl@0
   496
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0010-002-Entry_command007
sl@0
   497
		COMMAND		TEntry1		IsSystem	PBASE-F32-Entry-PublicApi-0010-002-IsSystem_command008
sl@0
   498
		COMMAND		RFs1		SetAtt		PBASE-F32-Entry-PublicApi-0010-002-SetAtt_command009
sl@0
   499
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0010-002-Entry_command010
sl@0
   500
		COMMAND		TEntry1		IsSystem	PBASE-F32-Entry-PublicApi-0010-002-IsSystem_command011
sl@0
   501
		COMMAND		TEntry1		~		
sl@0
   502
		COMMAND		RFs1		~		
sl@0
   503
	END_TEST_BLOCK
sl@0
   504
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   505
		CREATE_OBJECT	RFs		RFs1
sl@0
   506
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   507
		COMMAND		RFs1		new			
sl@0
   508
		COMMAND		RFs1		Connect
sl@0
   509
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0010-003-NewL_command004
sl@0
   510
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0010-003-Delete_command005
sl@0
   511
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0010-003-RmDir_command006
sl@0
   512
		COMMAND		CFileMan1	~
sl@0
   513
		COMMAND		RFs1		~
sl@0
   514
	END_TEST_BLOCK
sl@0
   515
END_TESTCASE			PBASE-F32-Entry-PublicApi-0010
sl@0
   516
sl@0
   517
sl@0
   518
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0011
sl@0
   519
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0011
sl@0
   520
//! @SYMAPI			TEntry
sl@0
   521
//! @SYMTestCaseDesc		IsArchive() test. This tests if the function is able to identify the presence of Archive attribute.
sl@0
   522
//!				Uses API elements: IsArchive(), RFs:SetAtt()
sl@0
   523
//! @SYMTestActions		1. Create RFs object
sl@0
   524
//!				2. Create TEntry object
sl@0
   525
//!				3. Call RFs::SetAtt() and pass KEntryAttArchive as attribute and "Test1.txt" as name of entry.
sl@0
   526
//!				4. Call RFs::Entry() to obtain data for TEntry object where name is "Test1.txt".
sl@0
   527
//!				5. Call IsArchive(), and check that the attribute is set.
sl@0
   528
//!				6. Call RFs::SetAtt() and pass KEntryAttArchive as attribute for clear and "test.txt" as name of entry.
sl@0
   529
//!				7. Call RFs::Entry() to obtain data for TEntry object where name is "Test1.txt".
sl@0
   530
//!				8. Call IsArchive(), and check that the attribute is not set.
sl@0
   531
//!
sl@0
   532
//! @SYMTestStatus		Implemented
sl@0
   533
//! @SYMTestPriority		Critical
sl@0
   534
//! @SYMTestExpectedResults	IsArchive() returns ETrue.
sl@0
   535
//! @SYMTestType		CIT
sl@0
   536
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   537
		CREATE_OBJECT	RFs		RFs1
sl@0
   538
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   539
		COMMAND		RFs1		new			
sl@0
   540
		COMMAND		RFs1		Connect
sl@0
   541
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0011-001-MkDirAll_command004
sl@0
   542
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0011-001-NewL_command005
sl@0
   543
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0011-001-Copy_command006
sl@0
   544
		COMMAND		CFileMan1	~
sl@0
   545
		COMMAND		RFs1		~
sl@0
   546
	END_TEST_BLOCK
sl@0
   547
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   548
		CREATE_OBJECT	RFs		RFs1	
sl@0
   549
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   550
		COMMAND		RFs1		new		
sl@0
   551
		COMMAND		RFs1		Connect		
sl@0
   552
		COMMAND		RFs1		SetAtt		PBASE-F32-Entry-PublicApi-0011-002-SetAtt_command005
sl@0
   553
		COMMAND		TEntry1		new		
sl@0
   554
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0011-002-Entry_command007
sl@0
   555
		COMMAND		TEntry1		IsArchive	PBASE-F32-Entry-PublicApi-0011-002-IsArchive_command008
sl@0
   556
		COMMAND		RFs1		SetAtt		PBASE-F32-Entry-PublicApi-0011-002-SetAtt_command009
sl@0
   557
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0011-002-Entry_command010
sl@0
   558
		COMMAND		TEntry1		IsArchive	PBASE-F32-Entry-PublicApi-0011-002-IsArchive_command011
sl@0
   559
		COMMAND		TEntry1		~		
sl@0
   560
		COMMAND		RFs1		~		
sl@0
   561
	END_TEST_BLOCK
sl@0
   562
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   563
		CREATE_OBJECT	RFs		RFs1
sl@0
   564
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   565
		COMMAND		RFs1		new			
sl@0
   566
		COMMAND		RFs1		Connect
sl@0
   567
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0011-003-NewL_command004
sl@0
   568
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0011-003-Delete_command005
sl@0
   569
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0011-003-RmDir_command006
sl@0
   570
		COMMAND		CFileMan1	~
sl@0
   571
		COMMAND		RFs1		~
sl@0
   572
	END_TEST_BLOCK
sl@0
   573
END_TESTCASE			PBASE-F32-Entry-PublicApi-0011
sl@0
   574
sl@0
   575
sl@0
   576
sl@0
   577
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0012
sl@0
   578
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0012
sl@0
   579
//! @SYMAPI			TEntry
sl@0
   580
//! @SYMTestCaseDesc		IsDir() test. This tests if the function is able to indentify the presence of Dir attribute.
sl@0
   581
//!				Uses API elements: IsDir(), RFs:SetAtt()
sl@0
   582
//! @SYMTestActions		1. Create RFs object
sl@0
   583
//!				2. Create TEntry object
sl@0
   584
//!				3. Call RFs::MkDirAll() and pass "test\" as name of directory.
sl@0
   585
//!				4. Call RFs::Entry() to obtain data for TEntry object where name is "test".
sl@0
   586
//!				5. Call IsDir(), and check that the attribute is set.
sl@0
   587
//!				6. Call RFs::Entry() to obtain data for TEntry object where name is "Test1.txt".
sl@0
   588
//!				7. Call IsDir(), and check that the attribute is not set.
sl@0
   589
//!
sl@0
   590
//! @SYMTestStatus		Implemented
sl@0
   591
//! @SYMTestPriority		Critical
sl@0
   592
//! @SYMTestExpectedResults	IsDir() returns ETrue.
sl@0
   593
//! @SYMTestType		CIT
sl@0
   594
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   595
		CREATE_OBJECT	RFs		RFs1
sl@0
   596
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   597
		COMMAND		RFs1		new			
sl@0
   598
		COMMAND		RFs1		Connect
sl@0
   599
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0012-001-MkDirAll_command004
sl@0
   600
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0012-001-NewL_command005
sl@0
   601
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0012-001-Copy_command006
sl@0
   602
		COMMAND		CFileMan1	~
sl@0
   603
		COMMAND		RFs1		~
sl@0
   604
	END_TEST_BLOCK
sl@0
   605
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   606
		CREATE_OBJECT	RFs		RFs1	
sl@0
   607
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   608
		COMMAND		RFs1		new		
sl@0
   609
		COMMAND		RFs1		Connect		
sl@0
   610
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0012-002-MkDirAll_command005
sl@0
   611
		COMMAND		TEntry1		new		
sl@0
   612
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0012-002-Entry_command007
sl@0
   613
		COMMAND		TEntry1		IsDir		PBASE-F32-Entry-PublicApi-0012-002-IsDir_command008
sl@0
   614
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0012-002-Entry_command009
sl@0
   615
		COMMAND		TEntry1		IsDir		PBASE-F32-Entry-PublicApi-0012-002-IsDir_command010
sl@0
   616
		COMMAND		TEntry1		~		
sl@0
   617
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0012-002-RmDir_command012
sl@0
   618
		COMMAND		RFs1		~		
sl@0
   619
	END_TEST_BLOCK
sl@0
   620
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   621
		CREATE_OBJECT	RFs		RFs1
sl@0
   622
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   623
		COMMAND		RFs1		new			
sl@0
   624
		COMMAND		RFs1		Connect
sl@0
   625
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0012-003-NewL_command004
sl@0
   626
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0012-003-Delete_command005
sl@0
   627
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0012-003-RmDir_command006
sl@0
   628
		COMMAND		CFileMan1	~
sl@0
   629
		COMMAND		RFs1		~
sl@0
   630
	END_TEST_BLOCK
sl@0
   631
END_TESTCASE			PBASE-F32-Entry-PublicApi-0012
sl@0
   632
sl@0
   633
sl@0
   634
sl@0
   635
START_TESTCASE 			PBASE-F32-Entry-PublicApi-0013
sl@0
   636
//! @SYMTestCaseID		PBASE-F32-Entry-PublicApi-0013
sl@0
   637
//! @SYMAPI			TEntry
sl@0
   638
//! @SYMTestCaseDesc		operator[] test where getting one index of UID.
sl@0
   639
//!				Uses API elements: operator[]
sl@0
   640
//! @SYMTestActions		1. Create a TEntry object
sl@0
   641
//!				2. Call RFs's command Entry() and pass "<RAM_DRIVE>:\<RELATIVE_PATH>\Entry\Test3.txt" as name of file.
sl@0
   642
//!				3. Call operator[] and pass "UID1" as parameter.
sl@0
   643
//!
sl@0
   644
//! @SYMTestStatus		Implemented
sl@0
   645
//! @SYMTestPriority		Critical
sl@0
   646
//! @SYMTestExpectedResults	operator[] returns no panic.
sl@0
   647
//! @SYMTestType		CIT
sl@0
   648
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   649
		CREATE_OBJECT	RFs		RFs1
sl@0
   650
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   651
		COMMAND		RFs1		new			
sl@0
   652
		COMMAND		RFs1		Connect
sl@0
   653
		COMMAND		RFs1		MkDirAll		PBASE-F32-Entry-PublicApi-0013-001-MkDirAll_command004
sl@0
   654
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0013-001-NewL_command005
sl@0
   655
		COMMAND		CFileMan1	Copy		PBASE-F32-Entry-PublicApi-0013-001-Copy_command006
sl@0
   656
		COMMAND		CFileMan1	~
sl@0
   657
		COMMAND		RFs1		~
sl@0
   658
	END_TEST_BLOCK
sl@0
   659
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini
sl@0
   660
		CREATE_OBJECT	RFs		RFs1	
sl@0
   661
		CREATE_OBJECT	TEntry		TEntry1	
sl@0
   662
		COMMAND		RFs1		new		
sl@0
   663
		COMMAND		TEntry1		new
sl@0
   664
		COMMAND		RFs1		Connect	
sl@0
   665
		COMMAND		RFs1		Entry		PBASE-F32-Entry-PublicApi-0013-002-Entry_command006
sl@0
   666
		COMMAND		TEntry1		[]		PBASE-F32-Entry-PublicApi-0013-002-index_command007
sl@0
   667
		COMMAND		TEntry1		~		
sl@0
   668
	END_TEST_BLOCK
sl@0
   669
	START_TEST_BLOCK	100	T_SfSrv	\base\PBASE-F32-Entry-PublicApi.ini 
sl@0
   670
		CREATE_OBJECT	RFs		RFs1
sl@0
   671
		CREATE_OBJECT	CFileMan	CFileMan1
sl@0
   672
		COMMAND		RFs1		new			
sl@0
   673
		COMMAND		RFs1		Connect
sl@0
   674
		COMMAND		CFileMan1	NewL		PBASE-F32-Entry-PublicApi-0013-003-NewL_command004
sl@0
   675
		COMMAND		CFileMan1	Delete		PBASE-F32-Entry-PublicApi-0013-003-Delete_command005
sl@0
   676
		COMMAND		RFs1		RmDir		PBASE-F32-Entry-PublicApi-0013-003-RmDir_command006
sl@0
   677
		COMMAND		CFileMan1	~
sl@0
   678
		COMMAND		RFs1		~
sl@0
   679
	END_TEST_BLOCK	
sl@0
   680
END_TESTCASE			PBASE-F32-Entry-PublicApi-0013