44 _LIT(KCAFDataStringAttributeStep,"CAFDataStringAttributeStep"); |
44 _LIT(KCAFDataStringAttributeStep,"CAFDataStringAttributeStep"); |
45 _LIT(KCAFDataStringAttributeSetStep,"CAFDataStringAttributeSetStep"); |
45 _LIT(KCAFDataStringAttributeSetStep,"CAFDataStringAttributeSetStep"); |
46 _LIT(KCAFExecuteIntentStep,"CAFExecuteIntentStep"); |
46 _LIT(KCAFExecuteIntentStep,"CAFExecuteIntentStep"); |
47 _LIT(KCAFDRMFileOpenPerformanceStep, "CAFDRMFileOpenPerformanceStep"); |
47 _LIT(KCAFDRMFileOpenPerformanceStep, "CAFDRMFileOpenPerformanceStep"); |
48 |
48 |
|
49 //#ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
50 _LIT(KWmdrmCAFContentStep,"WmdrmCAFContentStep"); |
|
51 _LIT(KWmdrmCAFDataStep,"WmdrmCAFDataStep"); |
|
52 _LIT(KWmdrmCAFReadStep, "WmdrmCAFReadStep"); |
|
53 //#endif //SYMBIAN_SDP-WMDRM |
49 |
54 |
50 /* |
55 /* |
51 * Used to open one file with RFile and the DRM packaged version of the same file with |
56 * Used to open one file with RFile and the DRM packaged version of the same file with |
52 * CContent::Open() and compare the reported sizes |
57 * CContent::Open() and compare the reported sizes |
53 * It can be used with two identical, non DRM file to check the operation of F32Agent |
58 * It can be used with two identical, non DRM file to check the operation of F32Agent |
339 { |
353 { |
340 public: |
354 public: |
341 CCAFDataStringAttributeSetStep(CCAFServer& aParent); |
355 CCAFDataStringAttributeSetStep(CCAFServer& aParent); |
342 ~CCAFDataStringAttributeSetStep(); |
356 ~CCAFDataStringAttributeSetStep(); |
343 virtual TVerdict doTestStepL(); |
357 virtual TVerdict doTestStepL(); |
|
358 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
359 TVerdict doWmdrmTestStepL(); |
|
360 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
344 private: |
361 private: |
345 CCAFServer& iParent; |
362 CCAFServer& iParent; |
346 }; |
363 }; |
347 |
364 |
348 class CCAFExecuteIntentStep : public CCAFStep |
365 class CCAFExecuteIntentStep : public CCAFStep |
379 |
396 |
380 CCAFServer& iParent; |
397 CCAFServer& iParent; |
381 TUint32 iIterationSum; |
398 TUint32 iIterationSum; |
382 }; |
399 }; |
383 |
400 |
|
401 #ifdef SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
|
402 /* Used to test behaviour of CContent object creation and attribute APIs for WMDRM content. +- |
|
403 * @internalComponent Exposure internally |
|
404 */ |
|
405 class CWmdrmCAFContentStep : public CCAFStep |
|
406 { |
|
407 public: |
|
408 CWmdrmCAFContentStep(); |
|
409 ~CWmdrmCAFContentStep(); |
|
410 virtual TVerdict doTestStepL(); |
|
411 }; |
|
412 |
|
413 |
|
414 /* Used to test the behaviour of CData object creation and attribute APIs for WMDRM content. |
|
415 * @internalComponent Exposure internally |
|
416 */ |
|
417 class CWmdrmCAFDataStep : public CCAFStep |
|
418 { |
|
419 public: |
|
420 CWmdrmCAFDataStep(); |
|
421 ~CWmdrmCAFDataStep(); |
|
422 virtual TVerdict doTestStepL(); |
|
423 }; |
|
424 |
|
425 |
|
426 /* Used to test synchronous and asynchronous behaviour of ReadL() APIs of CData class for WMDRM content. |
|
427 * @internalComponent Exposure internally |
|
428 */ |
|
429 class CWmdrmCAFReadStep : public CCAFStep |
|
430 { |
|
431 public: |
|
432 CWmdrmCAFReadStep(); |
|
433 ~CWmdrmCAFReadStep(); |
|
434 virtual TVerdict doTestStepL(); |
|
435 |
|
436 private: |
|
437 TInt TestSynchronousReadL(const TDesC8& aHeaderData, TBool aIntent, TDesC& aInputPacket, TDesC& aExpectedOuput); |
|
438 TInt TestAsynchronousReadL(const TDesC8& aHeaderData, TBool aIntent, TDesC& aInputPacket, TDesC& aExpectedOuput); |
|
439 }; |
|
440 |
|
441 #endif //SYMBIAN_ENABLE_SDP_WMDRM_SUPPORT |
384 |
442 |
385 #endif |
443 #endif |