contentmgmt/referencedrmagent/tcaf/scripts/nodrmcapsteps.script
changeset 15 da2ae96f639b
child 19 ece3df019add
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of the License "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description: 
       
    15 //
       
    16 //
       
    17 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
    18 // All rights reserved.
       
    19 // This component and the accompanying materials are made available
       
    20 // under the terms of the License "Symbian Foundation License v1.0"
       
    21 // which accompanies this distribution, and is available
       
    22 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
    23 //
       
    24 // Initial Contributors:
       
    25 // Nokia Corporation - initial contribution.
       
    26 //
       
    27 // Contributors:
       
    28 //
       
    29 // Description:
       
    30 //
       
    31 // Test cases for validating the methods newly enforced DRM capability.
       
    32 
       
    33 RUN_PROGRAM 100 SETCAP tcaf.exe 0 -SID 80001234 tcafnodrmcap.exe
       
    34 
       
    35 LOAD_SUITE tcafnodrmcap
       
    36 
       
    37 //! @file
       
    38 //! @SYMTestCaseID 		SEC-CAFNODRM-MAN-0001
       
    39 //! @SYMTestCaseDesc 		Request a status notification on a file
       
    40 //!				(Manager_NotifyStatusChange)
       
    41 //! @SYMREQ			DEF130857
       
    42 //! @SYMTestStatus		Implemented
       
    43 //! @SYMTestPriority		Normal
       
    44 //! @SYMTestActions		Request a notification on an unprotected file
       
    45 //! @SYMTestExpectedResults	Should return KErrPermissionDenied
       
    46 //! @SYMTestType		CIT
       
    47 START_TESTCASE 			SEC-CAFNODRM-MAN-0001
       
    48 RUN_TEST_STEP 100 tcafnodrmcap CAFManagerNotifyStep c:\tcaf\nodrmcapsteps.ini NotifyStatusChange
       
    49 END_TESTCASE 			SEC-CAFNODRM-MAN-0001
       
    50 
       
    51 //! @file
       
    52 //! @SYMTestCaseID 		SEC-CAFNODRM-MAN-0002
       
    53 //! @SYMTestCaseDesc 		Set a property within all agents
       
    54 //!				(Manager_SetProperty)
       
    55 //! @SYMPREQ			DEF130857
       
    56 //! @SYMTestStatus		Implemented
       
    57 //! @SYMTestPriority		Normal
       
    58 //! @SYMTestActions		Set a property within all agents
       
    59 //! @SYMTestExpectedResults	Should return KErrPermissionDenied
       
    60 //! @SYMTestType		CIT
       
    61 START_TESTCASE 			SEC-CAFNODRM-MAN-0002
       
    62 RUN_TEST_STEP 100 tcafnodrmcap CAFManagerSetPropertyStep c:\tcaf\nodrmcapsteps.ini SetProperty
       
    63 END_TESTCASE 			SEC-CAFNODRM-MAN-0002
       
    64 
       
    65 //! @file
       
    66 //! @SYMTestCaseID 		SEC-CAFNODRM-MAN-0003
       
    67 //! @SYMTestCaseDesc 		Display information about an unprotected file
       
    68 //!				(Manager_DisplayInfo)
       
    69 //! @SYMPREQ			DEF130857
       
    70 //! @SYMTestStatus		Implemented
       
    71 //! @SYMTestPriority		Normal
       
    72 //! @SYMTestActions		Ask the agent to display information about the file
       
    73 //! @SYMTestExpectedResults	Should return KErrPermissionDenied
       
    74 //! @SYMTestType		CIT
       
    75 START_TESTCASE 			SEC-CAFNODRM-MAN-0003
       
    76 RUN_TEST_STEP 100 tcafnodrmcap CAFManagerDisplayInfoStep c:\tcaf\nodrmcapsteps.ini DisplayInfo
       
    77 END_TESTCASE 			SEC-CAFNODRM-MAN-0003
       
    78 
       
    79 //! @file
       
    80 //! @SYMTestCaseID 		SEC-CAFNODRM-MAN-0004
       
    81 //! @SYMTestCaseDesc 		Execute an agent specific command
       
    82 //!				(Manager_Agent_Specific)
       
    83 //! @SYMPREQ			DEF130857
       
    84 //! @SYMTestStatus		Implemented
       
    85 //! @SYMTestPriority		Normal
       
    86 //! @SYMTestActions		Execute an agent specific command
       
    87 //! @SYMTestExpectedResults	Should return KErrPermissionDenied
       
    88 //! @SYMTestType		CIT
       
    89 START_TESTCASE 			SEC-CAFNODRM-MAN-0004
       
    90 RUN_TEST_STEP 100 tcafnodrmcap CAFManagerAgentSpecificStep c:\tcaf\nodrmcapsteps.ini AgentSpecific
       
    91 END_TESTCASE 			SEC-CAFNODRM-MAN-0004
       
    92 
       
    93 //! @file
       
    94 //! @SYMTestCaseID 		SEC-CAFNODRM-MAN-0005
       
    95 //! @SYMTestCaseDesc 		Execute an agent specific command
       
    96 //!				(Manager_Display_Management_Info)
       
    97 //! @SYMPREQ			DEF130857
       
    98 //! @SYMTestStatus		Implemented
       
    99 //! @SYMTestPriority		Normal
       
   100 //! @SYMTestActions		Execute an agent specific command
       
   101 //! @SYMTestExpectedResults	Should return KErrPermissionDenied
       
   102 //! @SYMTestType		CIT
       
   103 START_TESTCASE 			SEC-CAFNODRM-MAN-0005
       
   104 RUN_TEST_STEP 100 tcafnodrmcap CAFManagerDisplayConfigStep c:\tcaf\nodrmcapsteps.ini DisplayManagement
       
   105 END_TESTCASE 			SEC-CAFNODRM-MAN-0005
       
   106 
       
   107 //! @file
       
   108 //! @SYMTestCaseID 		SEC-CAFNODRM-MAN-0006
       
   109 //! @SYMTestCaseDesc 	     	Query standardised information about a content object using a file handle.
       
   110 //!				(FileHandle-DRM-Content)
       
   111 //! @SYMREQ			DEF130857
       
   112 //! @SYMTestStatus		Implemented
       
   113 //! @SYMTestPriority	       	Normal
       
   114 //! @SYMTestActions		View information associated with a single content object in a file specified by file handle
       
   115 //! @SYMTestExpectedResults 	Should return KErrPermissionDenied
       
   116 //! @SYMTestType		CIT
       
   117 START_TESTCASE 			SEC-CAFNODRM-MAN-0006
       
   118 RUN_TEST_STEP 100 tcafnodrmcap CAFManagerDisplayInfoByFileHandleStep c:\tcaf\nodrmcapsteps.ini DisplayInfoByFileHandle_DRM_Content
       
   119 END_TESTCASE 			SEC-CAFNODRM-MAN-0006