os/security/contentmgmt/referencedrmagent/tcaf/source/ManagerStep.h
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) 2002-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 the License "Eclipse Public License v1.0"
sl@0
     6
* which accompanies this distribution, and is available
sl@0
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     8
*
sl@0
     9
* Initial Contributors:
sl@0
    10
* Nokia Corporation - initial contribution.
sl@0
    11
*
sl@0
    12
* Contributors:
sl@0
    13
*
sl@0
    14
* Description: 
sl@0
    15
*
sl@0
    16
*/
sl@0
    17
sl@0
    18
sl@0
    19
sl@0
    20
sl@0
    21
#if (!defined __MANAGER_STEP_H__)
sl@0
    22
#define __MANAGER_STEP_H__
sl@0
    23
#include <test/testexecutestepbase.h>
sl@0
    24
sl@0
    25
#include "cafstep.h"
sl@0
    26
#include <caf/dirstreamable.h>
sl@0
    27
#include "contentIterator.h"
sl@0
    28
sl@0
    29
// Constants used to name test cases 
sl@0
    30
_LIT(KCAFDeleteStep,"CAFDeleteStep");
sl@0
    31
_LIT(KCAFCopyFileStep,"CAFCopyFileStep");
sl@0
    32
_LIT(KCAFRenameFileStep,"CAFRenameFileStep");
sl@0
    33
_LIT(KCAFMkDirStep,"CAFMkDirStep");
sl@0
    34
_LIT(KCAFMkDirAllStep,"CAFMkDirAllStep");
sl@0
    35
_LIT(KCAFRmDirStep,"CAFRmDirStep");
sl@0
    36
_LIT(KCAFGetDirStep,"CAFGetDirStep");
sl@0
    37
_LIT(KCAFManagerNotifyStep,"CAFManagerNotifyStep");
sl@0
    38
_LIT(KCAFManagerSetPropertyStep,"CAFManagerSetPropertyStep");
sl@0
    39
_LIT(KCAFManagerDisplayInfoStep,"CAFManagerDisplayInfoStep");
sl@0
    40
_LIT(KCAFManagerListAgentsStep,"CAFManagerListAgentsStep");
sl@0
    41
_LIT(KCAFManagerAgentSpecificStep,"CAFManagerAgentSpecificStep");
sl@0
    42
_LIT(KCAFManagerDisplayConfigStep,"CAFManagerDisplayConfigStep");
sl@0
    43
_LIT(KCAFManagerAttributeStep,"CAFManagerAttributeStep");
sl@0
    44
_LIT(KCAFManagerAttributeSetStep,"CAFManagerAttributeSetStep");
sl@0
    45
_LIT(KCAFManagerStringAttributeStep,"CAFManagerStringAttributeStep");
sl@0
    46
_LIT(KCAFManagerStringAttributeSetStep,"CAFManagerStringAttributeSetStep");
sl@0
    47
_LIT(KCAFManagerDisplayInfoByFileHandleStep,"CAFManagerDisplayInfoByFileHandleStep");
sl@0
    48
_LIT(KCAFManagerAttributeByFileHandleStep,"CAFManagerAttributeByFileHandleStep");
sl@0
    49
_LIT(KCAFManagerAttributeSetByFileHandleStep,"CAFManagerAttributeSetByFileHandleStep");
sl@0
    50
_LIT(KCAFManagerStringAttributeByFileHandleStep,"CAFManagerStringAttributeByFileHandleStep");
sl@0
    51
_LIT(KCAFManagerStringAttributeSetByFileHandleStep,"CAFManagerStringAttributeSetByFileHandleStep");
sl@0
    52
sl@0
    53
sl@0
    54
class CCAFServer;
sl@0
    55
sl@0
    56
sl@0
    57
/* 
sl@0
    58
* Used to test CManager::DeleteFile()
sl@0
    59
* The INI file specifies the file to delete and the expected return code.
sl@0
    60
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
    61
* that is read-only or has rights that don't allow it to be deleted
sl@0
    62
* INI file paramerters
sl@0
    63
*
sl@0
    64
* filename - the file to delete
sl@0
    65
*
sl@0
    66
* result - the expected return code
sl@0
    67
*
sl@0
    68
* @internalComponent Exposure internally
sl@0
    69
*/
sl@0
    70
class CCAFDeleteStep : public CCAFStep
sl@0
    71
	{
sl@0
    72
public:
sl@0
    73
	CCAFDeleteStep(CCAFServer& aParent);
sl@0
    74
	~CCAFDeleteStep();
sl@0
    75
	virtual TVerdict doTestStepL();
sl@0
    76
private:
sl@0
    77
	CCAFServer& iParent;
sl@0
    78
	};
sl@0
    79
sl@0
    80
/* 
sl@0
    81
* Used to test CManager::CopyFile()
sl@0
    82
* The INI file specifies the file to delete and the expected return code.
sl@0
    83
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
    84
* that is read-only or has rights that don't allow it to be deleted
sl@0
    85
* INI file paramerters
sl@0
    86
*
sl@0
    87
 source - the source file
sl@0
    88
 destination - the destination file
sl@0
    89
 result - the expected return code
sl@0
    90
*
sl@0
    91
* @internalComponent Exposure internally
sl@0
    92
*/
sl@0
    93
class CCAFCopyFileStep : public CCAFStep
sl@0
    94
	{
sl@0
    95
public:
sl@0
    96
	CCAFCopyFileStep(CCAFServer& aParent);
sl@0
    97
	~CCAFCopyFileStep();
sl@0
    98
	virtual TVerdict doTestStepL();
sl@0
    99
private:
sl@0
   100
	CCAFServer& iParent;
sl@0
   101
	};
sl@0
   102
sl@0
   103
/* 
sl@0
   104
* Used to test CManager::RenameFile()
sl@0
   105
* The INI file specifies the file to delete and the expected return code.
sl@0
   106
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   107
* that is read-only or has rights that don't allow it to be deleted
sl@0
   108
* INI file paramerters
sl@0
   109
*
sl@0
   110
 source - the source file
sl@0
   111
 destination - the destination file
sl@0
   112
 result - the expected return code
sl@0
   113
*
sl@0
   114
* @internalComponent Exposure internally
sl@0
   115
*/
sl@0
   116
class CCAFRenameFileStep : public CCAFStep
sl@0
   117
	{
sl@0
   118
public:
sl@0
   119
	CCAFRenameFileStep(CCAFServer& aParent);
sl@0
   120
	~CCAFRenameFileStep();
sl@0
   121
	virtual TVerdict doTestStepL();
sl@0
   122
private:
sl@0
   123
	CCAFServer& iParent;
sl@0
   124
	};
sl@0
   125
sl@0
   126
/* 
sl@0
   127
* Used to test CManager::MkDir()
sl@0
   128
* The INI file specifies the file to delete and the expected return code.
sl@0
   129
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   130
* that is read-only or has rights that don't allow it to be deleted
sl@0
   131
* INI file paramerters
sl@0
   132
*
sl@0
   133
  path - the directory to create
sl@0
   134
  result - the expected return code
sl@0
   135
*
sl@0
   136
* @internalComponent Exposure internally
sl@0
   137
*/
sl@0
   138
class CCAFMkDirStep : public CCAFStep
sl@0
   139
	{
sl@0
   140
public:
sl@0
   141
	CCAFMkDirStep(CCAFServer& aParent);
sl@0
   142
	~CCAFMkDirStep();
sl@0
   143
	virtual TVerdict doTestStepL();
sl@0
   144
private:
sl@0
   145
	CCAFServer& iParent;
sl@0
   146
	};
sl@0
   147
sl@0
   148
/* 
sl@0
   149
* Used to test CManager::MkDirAll()
sl@0
   150
* The INI file specifies the file to delete and the expected return code.
sl@0
   151
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   152
* that is read-only or has rights that don't allow it to be deleted
sl@0
   153
* INI file paramerters
sl@0
   154
*
sl@0
   155
  path - the directory to create
sl@0
   156
  result - the expected return code
sl@0
   157
*
sl@0
   158
* @internalComponent Exposure internally
sl@0
   159
*/
sl@0
   160
class CCAFMkDirAllStep : public CCAFStep
sl@0
   161
	{
sl@0
   162
public:
sl@0
   163
	CCAFMkDirAllStep(CCAFServer& aParent);
sl@0
   164
	~CCAFMkDirAllStep();
sl@0
   165
	virtual TVerdict doTestStepL();
sl@0
   166
private:
sl@0
   167
	CCAFServer& iParent;
sl@0
   168
	};
sl@0
   169
sl@0
   170
/* 
sl@0
   171
* Used to test CManager::RmDir()
sl@0
   172
* The INI file specifies the file to delete and the expected return code.
sl@0
   173
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   174
* that is read-only or has rights that don't allow it to be deleted
sl@0
   175
* INI file paramerters
sl@0
   176
*
sl@0
   177
  path - the directory to create
sl@0
   178
  result - the expected return code
sl@0
   179
*
sl@0
   180
* @internalComponent Exposure internally
sl@0
   181
*/
sl@0
   182
class CCAFRmDirStep : public CCAFStep
sl@0
   183
	{
sl@0
   184
public:
sl@0
   185
	CCAFRmDirStep(CCAFServer& aParent);
sl@0
   186
	~CCAFRmDirStep();
sl@0
   187
	virtual TVerdict doTestStepL();
sl@0
   188
private:
sl@0
   189
	CCAFServer& iParent;
sl@0
   190
	};
sl@0
   191
sl@0
   192
/* 
sl@0
   193
* Used to test CManager::GetDir()
sl@0
   194
* The INI file specifies the file to delete and the expected return code.
sl@0
   195
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   196
* that is read-only or has rights that don't allow it to be deleted
sl@0
   197
* INI file paramerters
sl@0
   198
*
sl@0
   199
  path - the directory to list
sl@0
   200
  result - the expected return code
sl@0
   201
*
sl@0
   202
* @internalComponent Exposure internally
sl@0
   203
*/
sl@0
   204
class CCAFGetDirStep : public CCAFStep
sl@0
   205
	{
sl@0
   206
public:
sl@0
   207
	CCAFGetDirStep(CCAFServer& aParent);
sl@0
   208
	~CCAFGetDirStep();
sl@0
   209
	virtual TVerdict doTestStepL();
sl@0
   210
private:
sl@0
   211
	void DisplayList(CDir& aDir);
sl@0
   212
	CCAFServer& iParent;
sl@0
   213
	};
sl@0
   214
sl@0
   215
sl@0
   216
/* 
sl@0
   217
* Used to test CManager::NotifyStatusChange()
sl@0
   218
* The INI file specifies the file to delete and the expected return code.
sl@0
   219
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   220
* that is read-only or has rights that don't allow it to be deleted
sl@0
   221
* INI file paramerters
sl@0
   222
*
sl@0
   223
  
sl@0
   224
  
sl@0
   225
*
sl@0
   226
* @internalComponent Exposure internally
sl@0
   227
*/
sl@0
   228
class CCAFManagerNotifyStep : public CCAFStep
sl@0
   229
	{
sl@0
   230
public:
sl@0
   231
	CCAFManagerNotifyStep(CCAFServer& aParent);
sl@0
   232
	~CCAFManagerNotifyStep();
sl@0
   233
	virtual TVerdict doTestStepL();
sl@0
   234
private:
sl@0
   235
	CCAFServer& iParent;
sl@0
   236
	};
sl@0
   237
sl@0
   238
/* 
sl@0
   239
* Used to test CManager::SetProperty()
sl@0
   240
* The INI file specifies the file to delete and the expected return code.
sl@0
   241
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   242
* that is read-only or has rights that don't allow it to be deleted
sl@0
   243
* INI file paramerters
sl@0
   244
*
sl@0
   245
  
sl@0
   246
  
sl@0
   247
*
sl@0
   248
* @internalComponent Exposure internally
sl@0
   249
*/
sl@0
   250
class CCAFManagerSetPropertyStep : public CCAFStep
sl@0
   251
	{
sl@0
   252
public:
sl@0
   253
	CCAFManagerSetPropertyStep(CCAFServer& aParent);
sl@0
   254
	~CCAFManagerSetPropertyStep();
sl@0
   255
	virtual TVerdict doTestStepL();
sl@0
   256
private:
sl@0
   257
	CCAFServer& iParent;
sl@0
   258
	};
sl@0
   259
sl@0
   260
/* 
sl@0
   261
* Used to test CManager::DisplayInfo()
sl@0
   262
* The INI file specifies the file to delete and the expected return code.
sl@0
   263
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   264
* that is read-only or has rights that don't allow it to be deleted
sl@0
   265
* INI file paramerters
sl@0
   266
*
sl@0
   267
  
sl@0
   268
  
sl@0
   269
*
sl@0
   270
* @internalComponent Exposure internally
sl@0
   271
*/
sl@0
   272
class CCAFManagerDisplayInfoStep : public CCAFStep
sl@0
   273
	{
sl@0
   274
public:
sl@0
   275
	CCAFManagerDisplayInfoStep(CCAFServer& aParent);
sl@0
   276
	~CCAFManagerDisplayInfoStep();
sl@0
   277
	virtual TVerdict doTestStepL();
sl@0
   278
private:
sl@0
   279
	CCAFServer& iParent;
sl@0
   280
	};
sl@0
   281
sl@0
   282
sl@0
   283
/* 
sl@0
   284
* Used to test CManager::ListAgents()
sl@0
   285
* The INI file specifies the file to delete and the expected return code.
sl@0
   286
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   287
* that is read-only or has rights that don't allow it to be deleted
sl@0
   288
* INI file paramerters
sl@0
   289
*
sl@0
   290
  
sl@0
   291
  
sl@0
   292
*
sl@0
   293
* @internalComponent Exposure internally
sl@0
   294
*/
sl@0
   295
class CCAFManagerListAgentsStep : public CCAFStep
sl@0
   296
	{
sl@0
   297
public:
sl@0
   298
	CCAFManagerListAgentsStep(CCAFServer& aParent);
sl@0
   299
	~CCAFManagerListAgentsStep();
sl@0
   300
	virtual TVerdict doTestStepL();
sl@0
   301
private:
sl@0
   302
	CCAFServer& iParent;
sl@0
   303
	};
sl@0
   304
sl@0
   305
sl@0
   306
sl@0
   307
/* 
sl@0
   308
* Used to test CManager::AgentSpecificCommand()
sl@0
   309
* The INI file specifies the file to delete and the expected return code.
sl@0
   310
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   311
* that is read-only or has rights that don't allow it to be deleted
sl@0
   312
* INI file paramerters
sl@0
   313
*
sl@0
   314
  
sl@0
   315
  
sl@0
   316
*
sl@0
   317
* @internalComponent Exposure internally
sl@0
   318
*/
sl@0
   319
class CCAFManagerAgentSpecificStep : public CCAFStep
sl@0
   320
	{
sl@0
   321
public:
sl@0
   322
	CCAFManagerAgentSpecificStep(CCAFServer& aParent);
sl@0
   323
	~CCAFManagerAgentSpecificStep();
sl@0
   324
	virtual TVerdict doTestStepL();
sl@0
   325
private:
sl@0
   326
	CCAFServer& iParent;
sl@0
   327
	};
sl@0
   328
sl@0
   329
sl@0
   330
/* 
sl@0
   331
* Used to test CManager::DisplayManagentInfoL()
sl@0
   332
* The INI file specifies the file to delete and the expected return code.
sl@0
   333
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   334
* that is read-only or has rights that don't allow it to be deleted
sl@0
   335
* INI file paramerters
sl@0
   336
*
sl@0
   337
  
sl@0
   338
  
sl@0
   339
*
sl@0
   340
* @internalComponent Exposure internally
sl@0
   341
*/
sl@0
   342
class CCAFManagerDisplayConfigStep : public CCAFStep
sl@0
   343
	{
sl@0
   344
public:
sl@0
   345
	CCAFManagerDisplayConfigStep(CCAFServer& aParent);
sl@0
   346
	~CCAFManagerDisplayConfigStep();
sl@0
   347
	virtual TVerdict doTestStepL();
sl@0
   348
private:
sl@0
   349
	CCAFServer& iParent;
sl@0
   350
	};
sl@0
   351
sl@0
   352
sl@0
   353
/* 
sl@0
   354
* Used to test CManager::GetAttribute()
sl@0
   355
* The INI file specifies the file to delete and the expected return code.
sl@0
   356
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   357
* that is read-only or has rights that don't allow it to be deleted
sl@0
   358
* INI file paramerters
sl@0
   359
*
sl@0
   360
  
sl@0
   361
  
sl@0
   362
*
sl@0
   363
* @internalComponent Exposure internally
sl@0
   364
*/
sl@0
   365
class CCAFManagerAttributeStep : public CCAFStep
sl@0
   366
	{
sl@0
   367
public:
sl@0
   368
	CCAFManagerAttributeStep(CCAFServer& aParent);
sl@0
   369
	~CCAFManagerAttributeStep();
sl@0
   370
	virtual TVerdict doTestStepL();
sl@0
   371
#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT     
sl@0
   372
    TVerdict doWmdrmTestStepL();     
sl@0
   373
#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT 
sl@0
   374
private:
sl@0
   375
	CCAFServer& iParent;
sl@0
   376
	};
sl@0
   377
sl@0
   378
/* 
sl@0
   379
* Used to test CManager::GetAttributeSet()
sl@0
   380
* The INI file specifies the file to delete and the expected return code.
sl@0
   381
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   382
* that is read-only or has rights that don't allow it to be deleted
sl@0
   383
* INI file paramerters
sl@0
   384
*
sl@0
   385
  
sl@0
   386
  
sl@0
   387
*
sl@0
   388
* @internalComponent Exposure internally
sl@0
   389
*/
sl@0
   390
class CCAFManagerAttributeSetStep : public CCAFStep
sl@0
   391
	{
sl@0
   392
public:
sl@0
   393
	CCAFManagerAttributeSetStep(CCAFServer& aParent);
sl@0
   394
	~CCAFManagerAttributeSetStep();
sl@0
   395
	virtual TVerdict doTestStepL();
sl@0
   396
#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT     
sl@0
   397
    TVerdict doWmdrmTestStepL();     
sl@0
   398
#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT     
sl@0
   399
  
sl@0
   400
private:
sl@0
   401
	CCAFServer& iParent;
sl@0
   402
	};
sl@0
   403
sl@0
   404
/* 
sl@0
   405
* Used to test CManager::GetAttribute()
sl@0
   406
* The INI file specifies the file to delete and the expected return code.
sl@0
   407
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   408
* that is read-only or has rights that don't allow it to be deleted
sl@0
   409
* INI file paramerters
sl@0
   410
*
sl@0
   411
  
sl@0
   412
  
sl@0
   413
*
sl@0
   414
* @internalComponent Exposure internally
sl@0
   415
*/
sl@0
   416
class CCAFManagerStringAttributeStep : public CCAFStep
sl@0
   417
	{
sl@0
   418
public:
sl@0
   419
	CCAFManagerStringAttributeStep(CCAFServer& aParent);
sl@0
   420
	~CCAFManagerStringAttributeStep();
sl@0
   421
	virtual TVerdict doTestStepL();
sl@0
   422
#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT     
sl@0
   423
    TVerdict doWmdrmTestStepL();     
sl@0
   424
#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT     
sl@0
   425
  
sl@0
   426
private:
sl@0
   427
	CCAFServer& iParent;
sl@0
   428
	};
sl@0
   429
sl@0
   430
/* 
sl@0
   431
* Used to test CManager::GetStringAttributeSet()
sl@0
   432
* The INI file specifies the file to delete and the expected return code.
sl@0
   433
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   434
* that is read-only or has rights that don't allow it to be deleted
sl@0
   435
* INI file paramerters
sl@0
   436
*
sl@0
   437
  
sl@0
   438
  
sl@0
   439
*
sl@0
   440
* @internalComponent Exposure internally
sl@0
   441
*/
sl@0
   442
class CCAFManagerStringAttributeSetStep : public CCAFStep
sl@0
   443
	{
sl@0
   444
public:
sl@0
   445
	CCAFManagerStringAttributeSetStep(CCAFServer& aParent);
sl@0
   446
	~CCAFManagerStringAttributeSetStep();
sl@0
   447
	virtual TVerdict doTestStepL();
sl@0
   448
#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT     
sl@0
   449
    TVerdict doWmdrmTestStepL();     
sl@0
   450
#endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT     
sl@0
   451
  
sl@0
   452
private:
sl@0
   453
	CCAFServer& iParent;
sl@0
   454
	};
sl@0
   455
sl@0
   456
sl@0
   457
_LIT(KCAFContentIteratorStep,"CAFContentIteratorStep");
sl@0
   458
sl@0
   459
sl@0
   460
/* 
sl@0
   461
* Used to test CContentIterator
sl@0
   462
* The INI file specifies the file to delete and the expected return code.
sl@0
   463
* For instance this can be used to try and delete a file that does not exist or a file
sl@0
   464
* that is read-only or has rights that don't allow it to be deleted
sl@0
   465
* INI file paramerters
sl@0
   466
*
sl@0
   467
  
sl@0
   468
  
sl@0
   469
*
sl@0
   470
* @internalComponent Exposure internally
sl@0
   471
*/
sl@0
   472
class CCAFContentIteratorStep : public CCAFStep
sl@0
   473
	{
sl@0
   474
public:
sl@0
   475
	CCAFContentIteratorStep(CCAFServer& aParent);
sl@0
   476
	~CCAFContentIteratorStep();
sl@0
   477
	virtual TVerdict doTestStepL();
sl@0
   478
	void PrintResult(const TDesC& aFileName, const TDesC& aUniqueId, const TDesC& aMimeType);
sl@0
   479
	
sl@0
   480
private:
sl@0
   481
	CCAFServer& iParent;
sl@0
   482
	};
sl@0
   483
sl@0
   484
sl@0
   485
/** Used by CCAFContentIteratorStep 
sl@0
   486
*/
sl@0
   487
class CIteratorTestStateMachine : public CActive
sl@0
   488
	{
sl@0
   489
public:
sl@0
   490
	CIteratorTestStateMachine(CCAFContentIteratorStep *aParent);
sl@0
   491
	virtual ~CIteratorTestStateMachine();
sl@0
   492
	
sl@0
   493
	void RunTestL(const TDesC& aPath, TBool aRecursive, const TDesC8& aMimeType);
sl@0
   494
		
sl@0
   495
	// From CActive
sl@0
   496
	virtual void RunL();
sl@0
   497
	virtual void DoCancel();
sl@0
   498
sl@0
   499
sl@0
   500
private:
sl@0
   501
	HBufC *iPath;
sl@0
   502
	HBufC8 *iMimeType;
sl@0
   503
	TBool iRecursive;
sl@0
   504
	ContentAccess::CContentIterator *iter;
sl@0
   505
	CCAFContentIteratorStep *iParent;
sl@0
   506
	TInt iState;
sl@0
   507
	};
sl@0
   508
sl@0
   509
sl@0
   510
/* 
sl@0
   511
* Used to test CManager::DisplayInfo() (file handle overload)
sl@0
   512
*
sl@0
   513
* @internalComponent 
sl@0
   514
*/
sl@0
   515
class CCAFManagerDisplayInfoByFileHandleStep : public CCAFStep
sl@0
   516
	{
sl@0
   517
public:
sl@0
   518
	CCAFManagerDisplayInfoByFileHandleStep(CCAFServer& aParent);
sl@0
   519
	~CCAFManagerDisplayInfoByFileHandleStep();
sl@0
   520
	virtual TVerdict doTestStepL();
sl@0
   521
private:
sl@0
   522
	CCAFServer& iParent;
sl@0
   523
	};
sl@0
   524
sl@0
   525
/* 
sl@0
   526
* Used to test CManager::GetAttribute() (file handle overload)
sl@0
   527
*
sl@0
   528
* @internalComponent Exposure internally
sl@0
   529
*/
sl@0
   530
class CCAFManagerAttributeByFileHandleStep : public CCAFStep
sl@0
   531
	{
sl@0
   532
public:
sl@0
   533
	CCAFManagerAttributeByFileHandleStep(CCAFServer& aParent);
sl@0
   534
	~CCAFManagerAttributeByFileHandleStep();
sl@0
   535
	virtual TVerdict doTestStepL();
sl@0
   536
private:
sl@0
   537
	CCAFServer& iParent;
sl@0
   538
	};
sl@0
   539
sl@0
   540
/* 
sl@0
   541
* Used to test CManager::GetAttributeSet() (file handle overload)
sl@0
   542
*
sl@0
   543
* @internalComponent Exposure internally
sl@0
   544
*/
sl@0
   545
class CCAFManagerAttributeSetByFileHandleStep : public CCAFStep
sl@0
   546
	{
sl@0
   547
public:
sl@0
   548
	CCAFManagerAttributeSetByFileHandleStep(CCAFServer& aParent);
sl@0
   549
	~CCAFManagerAttributeSetByFileHandleStep();
sl@0
   550
	virtual TVerdict doTestStepL();
sl@0
   551
private:
sl@0
   552
	CCAFServer& iParent;
sl@0
   553
	};
sl@0
   554
sl@0
   555
/* 
sl@0
   556
* Used to test CManager::GetAttribute() (file handle overload)
sl@0
   557
*
sl@0
   558
* @internalComponent Exposure internally
sl@0
   559
*/
sl@0
   560
class CCAFManagerStringAttributeByFileHandleStep : public CCAFStep
sl@0
   561
	{
sl@0
   562
public:
sl@0
   563
	CCAFManagerStringAttributeByFileHandleStep(CCAFServer& aParent);
sl@0
   564
	~CCAFManagerStringAttributeByFileHandleStep();
sl@0
   565
	virtual TVerdict doTestStepL();
sl@0
   566
private:
sl@0
   567
	CCAFServer& iParent;
sl@0
   568
	};
sl@0
   569
sl@0
   570
/* 
sl@0
   571
* Used to test CManager::GetStringAttributeSet() (file handle overload)
sl@0
   572
*
sl@0
   573
* @internalComponent Exposure internally
sl@0
   574
*/
sl@0
   575
class CCAFManagerStringAttributeSetByFileHandleStep : public CCAFStep
sl@0
   576
	{
sl@0
   577
public:
sl@0
   578
	CCAFManagerStringAttributeSetByFileHandleStep(CCAFServer& aParent);
sl@0
   579
	~CCAFManagerStringAttributeSetByFileHandleStep();
sl@0
   580
	virtual TVerdict doTestStepL();
sl@0
   581
private:
sl@0
   582
	CCAFServer& iParent;
sl@0
   583
	};
sl@0
   584
sl@0
   585
#endif
sl@0
   586