sl@0: // sl@0: // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: sl@0: LOAD_SUITE tcaf sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0001 sl@0: //! @SYMTestCaseDesc Get an attribute for a content object within a file sl@0: //! @SYMREQ REQ3679 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Normal sl@0: //! @SYMTestActions Get a single attribute for a content object within a file sl@0: //! @SYMTestExpectedResults Should return KErrNone sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0001 sl@0: RUN_TEST_STEP 100 tcaf CAFDataAttributeStep c:\tcaf\attributes.ini Attribute sl@0: END_TESTCASE SEC-CAF-CONS-0001 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0002 sl@0: //! @SYMTestCaseDesc Get a set of attributes for a content object within a file sl@0: //! @SYMREQ REQ3679 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Normal sl@0: //! @SYMTestActions Get a set of attributes for a content object within a file sl@0: //! @SYMTestExpectedResults Should return KErrNone sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0002 sl@0: RUN_TEST_STEP 100 tcaf CAFDataAttributeSetStep c:\tcaf\attributes.ini AttributeSet sl@0: END_TESTCASE SEC-CAF-CONS-0002 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0003 sl@0: //! @SYMTestCaseDesc Get a string attribute for a content object within a file sl@0: //! @SYMREQ REQ3679 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Normal sl@0: //! @SYMTestActions Get a single string attribute for a content object within a file sl@0: //! @SYMTestExpectedResults Should return KErrNone sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0003 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini StringAttribute sl@0: END_TESTCASE SEC-CAF-CONS-0003 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0004 sl@0: //! @SYMTestCaseDesc Get a string attribute for a content object within a file sl@0: //! @SYMREQ CR1440 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Normal sl@0: //! @SYMTestActions Get a single string attribute for a content object within a file sl@0: //! @SYMTestExpectedResults Should return KErrCANotSupported sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0004 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini StringAttributeECoverURI sl@0: END_TESTCASE SEC-CAF-CONS-0004 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-3443 sl@0: //! @SYMTestCaseDesc Get a string attribute for a data object within a valid gif file sl@0: //! @SYMDEF PDEF104571 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Normal sl@0: //! @SYMTestActions Get a single string attribute for a data object within a valid gif file sl@0: //! @SYMTestExpectedResults A string attribute should successfully be returned sl@0: //! @SYMTestType CT sl@0: START_TESTCASE SEC-CAF-CONS-3443 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini StringAttributeGoodGif sl@0: END_TESTCASE SEC-CAF-CONS-3443 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-3444 sl@0: //! @SYMTestCaseDesc Failure to return a string attribute for a data object within an invalid gif file sl@0: //! @SYMDEF PDEF104571 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Normal sl@0: //! @SYMTestActions Attempt to get a single string attribute for a data object within an invalid gif file sl@0: //! @SYMTestExpectedResults An error should be returned sl@0: //! @SYMTestType CT sl@0: START_TESTCASE SEC-CAF-CONS-3444 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini StringAttributeErrorGif sl@0: END_TESTCASE SEC-CAF-CONS-3444 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0005 sl@0: //! @SYMTestCaseDesc Get a set of string attributes for a content object within a file sl@0: //! @SYMREQ REQ3679 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Normal sl@0: //! @SYMTestActions Get a set of string attributes for a content object within a file sl@0: //! @SYMTestExpectedResults Should return KErrNone sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0005 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSet sl@0: END_TESTCASE SEC-CAF-CONS-0005 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-3445 sl@0: //! @SYMTestCaseDesc Get a set of string attributes for a data object within a valid gif file sl@0: //! @SYMDEF PDEF104571 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Normal sl@0: //! @SYMTestActions Get a set of string attributes for a data object within a valid gif file sl@0: //! @SYMTestExpectedResults A set of string attributes should successfully be returned sl@0: //! @SYMTestType CT sl@0: START_TESTCASE SEC-CAF-CONS-3445 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetGoodGif sl@0: END_TESTCASE SEC-CAF-CONS-3445 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-3446 sl@0: //! @SYMTestCaseDesc Get a set of string attributes for a data object within an invalid gif file sl@0: //! @SYMDEF PDEF104571 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Normal sl@0: //! @SYMTestActions Get a set of string attributes for a data object within an invalid gif file sl@0: //! @SYMTestExpectedResults An error should be returned for the invalid gif file within the set sl@0: //! @SYMTestType CT sl@0: START_TESTCASE SEC-CAF-CONS-3446 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetErrorGif sl@0: END_TESTCASE SEC-CAF-CONS-3446 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0006 sl@0: //! @SYMTestCaseDesc Plaintext File Size sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that the size of the file reported by RFile is the same as the size reported by CAF (F32Agent). CAF opens the file using the given filename sl@0: //! @SYMTestExpectedResults Sizes are equal sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0006 sl@0: RUN_TEST_STEP 100 tcaf CAFSizeStep c:\tcaf\consumerstep.ini CompareContentF32Agent sl@0: END_TESTCASE SEC-CAF-CONS-0006 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0007 sl@0: //! @SYMTestCaseDesc Plaintext File Size sl@0: //! @SYMREQ REQ0000 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that the size of the file reported by RFile is the same as the size reported by CAF (F32Agent). CAF opens the file using the given filename, split the construction and evaluation of CData sl@0: //! @SYMTestExpectedResults Sizes are equal sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0007 sl@0: RUN_TEST_STEP 100 tcaf CAFSizeStep c:\tcaf\consumerstep.ini CompareContentF32AgentWithoutIntent sl@0: END_TESTCASE SEC-CAF-CONS-0007 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0008 sl@0: //! @SYMTestCaseDesc Plaintext File Read and Seek sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that the data read from an RFile is the same as the data read from CAF (F32Agent). Caf opens the file using the given filename. sl@0: //! @SYMTestExpectedResults Data read is the same for both sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0008 sl@0: RUN_TEST_STEP 100 tcaf CAFSeekReadStep c:\tcaf\consumerstep.ini CompareContentF32Agent sl@0: END_TESTCASE SEC-CAF-CONS-0008 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0009 sl@0: //! @SYMTestCaseDesc Plaintext File Handle Size sl@0: //! @SYMPREQ PREQ280 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that the size of the file reported by RFile is the same as the size reported by CAF (F32Agent). CAF is supplied with a handle to the open file. sl@0: //! @SYMTestExpectedResults Sizes are equal sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0009 sl@0: RUN_TEST_STEP 100 tcaf CAFHandleSizeStep c:\tcaf\consumerstep.ini CompareContentF32Agent sl@0: END_TESTCASE SEC-CAF-CONS-0009 sl@0: sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0010 sl@0: //! @SYMTestCaseDesc Plaintext File Handle Read and Seek sl@0: //! @SYMPREQ PREQ280 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that the data read from an RFile is the same as the data read from CAF (F32Agent). Caf is supplied with a handle to an open file. sl@0: //! @SYMTestExpectedResults Data read is the same for both sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0010 sl@0: RUN_TEST_STEP 100 tcaf CAFHandleSeekReadStep c:\tcaf\consumerstep.ini CompareContentF32Agent sl@0: END_TESTCASE SEC-CAF-CONS-0010 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0011 sl@0: //! @SYMTestCaseDesc DRM File Size sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that the size of a plaintext file reported by RFile is the same as the size of the content within a DRM file reported by CAF (TestAgent). CAF opens the file using the given filename sl@0: //! @SYMTestExpectedResults Sizes are equal sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0011 sl@0: RUN_TEST_STEP 100 tcaf CAFSizeStep c:\tcaf\consumerstep.ini CompareContentTestAgent sl@0: END_TESTCASE SEC-CAF-CONS-0011 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0012 sl@0: //! @SYMTestCaseDesc DRM File Read and Seek sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that data read from a plaintext file by RFile is the same as data read from the content within a DRM file by CAF (TestAgent). CAF opens the file using the given filename sl@0: //! @SYMTestExpectedResults data read is the same for both sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0012 sl@0: RUN_TEST_STEP 100 tcaf CAFSeekReadStep c:\tcaf\consumerstep.ini CompareContentTestAgent sl@0: END_TESTCASE SEC-CAF-CONS-0012 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0013 sl@0: //! @SYMTestCaseDesc DRM File Size with file handle sl@0: //! @SYMPREQ PREQ280 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that the size of a plaintext file reported by RFile is the same as the size of the content within a DRM file reported by CAF (TestAgent). CAF opens is passed an open file handle sl@0: //! @SYMTestExpectedResults Sizes are equal sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0013 sl@0: RUN_TEST_STEP 100 tcaf CAFHandleSizeStep c:\tcaf\consumerstep.ini CompareContentTestAgent sl@0: END_TESTCASE SEC-CAF-CONS-0013 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0014 sl@0: //! @SYMTestCaseDesc DRM File Read and Seek with file handle sl@0: //! @SYMPREQ PREQ280 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that data read from a plaintext file by RFile is the same as data read from the content within a DRM file by CAF (TestAgent). CAF is passed an open file handle sl@0: //! @SYMTestExpectedResults Data read is the same for both sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0014 sl@0: RUN_TEST_STEP 100 tcaf CAFHandleSeekReadStep c:\tcaf\consumerstep.ini CompareContentTestAgent sl@0: END_TESTCASE SEC-CAF-CONS-0014 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0015 sl@0: //! @SYMTestCaseDesc Compare the size of the entire file opened with TestAgent vs RFile entire file sl@0: //! @SYMREQ REQ3679 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that the size of the file reported by RFile is the same as the size reported by CAF (F32Agent). Caf opens the file using a concatenated URI and UniqueId sl@0: //! @SYMTestExpectedResults Sizes are equal sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0015 sl@0: RUN_TEST_STEP 100 tcaf CAFSizeStep c:\tcaf\consumerstep.ini CompareContentCombinedURI sl@0: END_TESTCASE SEC-CAF-CONS-0015 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0016 sl@0: //! @SYMTestCaseDesc Read and Seek through the entire file opened with TestAgent vs RFile entire file sl@0: //! @SYMREQ REQ3679 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that the data read from an RFile is the same as the data read from CAF (TestAgent). Caf opens the file using a concatenated URI and UniqueId sl@0: //! @SYMTestExpectedResults Data read is the same for both sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0016 sl@0: RUN_TEST_STEP 100 tcaf CAFSeekReadStep c:\tcaf\consumerstep.ini CompareContentCombinedURI sl@0: END_TESTCASE SEC-CAF-CONS-0016 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0017 sl@0: //! @SYMTestCaseDesc Plaintext multithread read sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that a CAF session can be shared between multiple threads sl@0: //! @SYMTestExpectedResults Data read sucessfully sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0017 sl@0: RUN_TEST_STEP 100 tcaf CAFMultiThreadCDataStep c:\tcaf\consumerstep.ini F32AgentThreadSharing sl@0: END_TESTCASE SEC-CAF-CONS-0017 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0018 sl@0: //! @SYMTestCaseDesc Plaintext multithread read from handle sl@0: //! @SYMPREQ PREQ280 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that a CAF session can be shared between multiple threads, open file handle is supplied to CAF sl@0: //! @SYMTestExpectedResults Data read sucessfully sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0018 sl@0: RUN_TEST_STEP 100 tcaf CAFHandleMultiThreadCDataStep c:\tcaf\consumerstep.ini F32AgentThreadSharing sl@0: END_TESTCASE SEC-CAF-CONS-0018 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0019 sl@0: //! @SYMTestCaseDesc DRM multithread read sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that a CAF session can be shared between multiple threads sl@0: //! @SYMTestExpectedResults Data read sucessfully sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0019 sl@0: RUN_TEST_STEP 100 tcaf CAFMultiThreadCDataStep c:\tcaf\consumerstep.ini TestAgentThreadSharing sl@0: END_TESTCASE SEC-CAF-CONS-0019 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0020 sl@0: //! @SYMTestCaseDesc DRM multithread read sl@0: //! @SYMPREQ PREQ280 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Checks that a CAF session can be shared between multiple threads, open file handle is supplied to CAF sl@0: //! @SYMTestExpectedResults Data read sucessfully sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0020 sl@0: RUN_TEST_STEP 100 tcaf CAFHandleMultiThreadCDataStep c:\tcaf\consumerstep.ini TestAgentThreadSharing sl@0: END_TESTCASE SEC-CAF-CONS-0020 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0021 sl@0: //! @SYMTestCaseDesc Plaintext mime type sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Asks CAF for the mime type of a file handled by F32Agent sl@0: //! @SYMTestExpectedResults F32Agent uses Apparc to find out the mime type sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0021 sl@0: RUN_TEST_STEP 100 tcaf CAFMimeTypeCDataStep c:\tcaf\consumerstep.ini UnprotectedContentMimeType sl@0: END_TESTCASE SEC-CAF-CONS-0021 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0022 sl@0: //! @SYMTestCaseDesc DRM mime type sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Asks CAF for the mime type of a file handled by TestAgent sl@0: //! @SYMTestExpectedResults TestAgent returns the mimetype of the content sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0022 sl@0: RUN_TEST_STEP 100 tcaf CAFMimeTypeCDataStep c:\tcaf\consumerstep.ini ProtectedContentMimeType sl@0: END_TESTCASE SEC-CAF-CONS-0022 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0023 sl@0: //! @SYMTestCaseDesc DRM ShareMode sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Opens a DRM file using all share modes sl@0: //! @SYMTestExpectedResults TestAgent sucessfully opens the file using all share modes sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0023 sl@0: RUN_UTILS MAKEREADWRITE C:\TCAF\testdata\TEST.DRM sl@0: RUN_TEST_STEP 100 tcaf CAFShareModeStep c:\tcaf\consumerstep.ini TestAgentShareMode sl@0: END_TESTCASE SEC-CAF-CONS-0023 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0024 sl@0: //! @SYMTestCaseDesc Plaintext ShareMode sl@0: //! @SYMPREQ PREQ1951 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Opens a plaintext file using all share modes sl@0: //! @SYMTestExpectedResults F32Agent sucessfully opens the file using all share modes sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0024 sl@0: RUN_UTILS MAKEREADWRITE C:\tcaf\testdata\dummydata.txt sl@0: RUN_TEST_STEP 100 tcaf CAFShareModeStep c:\tcaf\consumerstep.ini F32AgentShareMode sl@0: END_TESTCASE SEC-CAF-CONS-0024 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0025 sl@0: //! @SYMTestCaseDesc Checks that implemented attributes are returned correctly sl@0: //! @SYMPREQ CR1184 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Requests EIsMediaPlayerOnly for an unprotected file sl@0: //! @SYMTestExpectedResults EFalse is returned sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0025 sl@0: RUN_TEST_STEP 100 tcaf CAFDataAttributeStep c:\tcaf\attributes.ini IsMediaPlayerOnlyAttribute sl@0: END_TESTCASE SEC-CAF-CONS-0025 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0026 sl@0: //! @SYMTestCaseDesc Checks that implemented attributes are returned correctly sl@0: //! @SYMPREQ CR1184 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Requests EIsAutomated for an unprotected file sl@0: //! @SYMTestExpectedResults EFalse is returned sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0026 sl@0: RUN_TEST_STEP 100 tcaf CAFDataAttributeStep c:\tcaf\attributes.ini IsAutomatedOnlyAttribute sl@0: END_TESTCASE SEC-CAF-CONS-0026 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0027 sl@0: //! @SYMTestCaseDesc Checks that for non-implemented attributes a correct error code is returned sl@0: //! @SYMPREQ CR1184 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Requests EObjectNumber for an unprotected file sl@0: //! @SYMTestExpectedResults KErrCaNotSupported is returned sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0027 sl@0: RUN_TEST_STEP !Result=-17450 100 tcaf CAFDataAttributeStep c:\tcaf\attributes.ini TrackNumberAttribute sl@0: END_TESTCASE SEC-CAF-CONS-0027 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0028 sl@0: //! @SYMTestCaseDesc Checks that for non-implemented attributes a correct error code is returned sl@0: //! @SYMPREQ CR1184 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Requests EGenre for an unprotected file sl@0: //! @SYMTestExpectedResults KErrCaNotSupported is returned sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0028 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini GenreStringAttribute sl@0: END_TESTCASE SEC-CAF-CONS-0028 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0029 sl@0: //! @SYMTestCaseDesc Checks that for non-implemented attributes a correct error code is returned sl@0: //! @SYMPREQ CR1184 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Requests EUserRating for an unprotected file sl@0: //! @SYMTestExpectedResults KErrCaNotSupported is returned sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0029 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini UserRatingStringAttribute sl@0: END_TESTCASE SEC-CAF-CONS-0029 sl@0: sl@0: //! @file sl@0: //! @SYMTestCaseID SEC-CAF-CONS-0030 sl@0: //! @SYMTestCaseDesc Checks that for non-implemented attributes a correct error code is returned sl@0: //! @SYMPREQ CR1184 sl@0: //! @SYMTestStatus Implemented sl@0: //! @SYMTestPriority Critical sl@0: //! @SYMTestActions Requests EAuthoredDate for an unprotected file sl@0: //! @SYMTestExpectedResults KErrCaNotSupported is returned sl@0: //! @SYMTestType CIT sl@0: START_TESTCASE SEC-CAF-CONS-0030 sl@0: RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini AuthoredDateStringAttribute sl@0: END_TESTCASE SEC-CAF-CONS-0030