Update contrib.
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".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
20 RUN_UTILS MkDir c:\rta\
21 RUN_UTILS MkDir c:\rta\testdata\
22 RUN_UTILS MkDir c:\tcaf\
23 RUN_UTILS MkDir c:\tcaf\testdata\
24 RUN_UTILS MkDir c:\tcaf\testdata\TestAgentPrivateDir\
26 RUN_UTILS CopyFile z:\rta\testdata\*.* c:\rta\testdata\*.*
27 RUN_UTILS CopyFile z:\tcaf\testdata\*.* c:\tcaf\testdata\*.*
28 RUN_UTILS CopyFile z:\tcaf\testdata\TestAgentPrivateDir\*.* c:\tcaf\testdata\TestAgentPrivateDir\*.*
30 RUN_UTILS MakeReadWrite c:\tcaf\testdata\copyfile.txt
33 //! @SYMTestCaseID SEC-CAF-CONS-0031
34 //! @SYMTestCaseDesc Plaintext File Size
35 //! (PlainText_File_Size_64bit)
37 //! @SYMTestStatus Implemented
38 //! @SYMTestPriority Critical
39 //! @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
40 //! @SYMTestExpectedResults Sizes are equal
42 START_TESTCASE SEC-CAF-CONS-0031
43 RUN_TEST_STEP 100 tcaf CAFSizeStep64 c:\tcaf\consumerstep.ini CompareContentF32Agent
44 END_TESTCASE SEC-CAF-CONS-0031
47 //! @SYMTestCaseID SEC-CAF-CONS-0032
48 //! @SYMTestCaseDesc Plaintext File Read and Seek
49 //! (PlainText_File_Read_and_Seek_64bit)
51 //! @SYMTestStatus Implemented
52 //! @SYMTestPriority Critical
53 //! @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.
54 //! @SYMTestExpectedResults Data read is the same for both
56 START_TESTCASE SEC-CAF-CONS-0032
57 RUN_TEST_STEP 100 tcaf CAFSeekReadStep64 c:\tcaf\consumerstep.ini CompareContentF32Agent
58 END_TESTCASE SEC-CAF-CONS-0032
61 //! @SYMTestCaseID SEC-CAF-CONS-0033
62 //! @SYMTestCaseDesc 64Bit DRM File Size
63 //! (DRM_File_Size_64bit)
65 //! @SYMTestStatus Implemented
66 //! @SYMTestPriority Critical
67 //! @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
68 //! @SYMTestExpectedResults Sizes are equal
70 START_TESTCASE SEC-CAF-CONS-0033
71 RUN_TEST_STEP 100 tcaf CAFSizeStep64 c:\tcaf\consumerstep.ini CompareContentTestAgent
72 END_TESTCASE SEC-CAF-CONS-0033
75 //! @SYMTestCaseID SEC-CAF-CONS-0034
76 //! @SYMTestCaseDesc 64 bit DRM File Read and Seek
77 //! (DRM_File_Read_and_Seek_64bit)
79 //! @SYMTestStatus Implemented
80 //! @SYMTestPriority Critical
81 //! @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
82 //! @SYMTestExpectedResults data read is the same for both
84 START_TESTCASE SEC-CAF-CONS-0034
85 RUN_TEST_STEP 100 tcaf CAFSeekReadStep64 c:\tcaf\consumerstep.ini CompareContentTestAgent
86 END_TESTCASE SEC-CAF-CONS-0034
89 //! @SYMTestCaseID SEC-CAF-CONS-0035
90 //! @SYMTestCaseDesc Compare the size of the entire file opened with TestAgent vs RFile entire file
91 //! (Specific_ContentObject_File_Size_64Bit)
93 //! @SYMTestStatus Implemented
94 //! @SYMTestPriority Critical
95 //! @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
96 //! @SYMTestExpectedResults Sizes are equal
98 START_TESTCASE SEC-CAF-CONS-0035
99 RUN_TEST_STEP 100 tcaf CAFSizeStep64 c:\tcaf\consumerstep.ini CompareContentCombinedURI
100 END_TESTCASE SEC-CAF-CONS-0035
103 //! @SYMTestCaseID SEC-CAF-CONS-0036
104 //! @SYMTestCaseDesc Read and Seek through the entire file opened with TestAgent vs RFile entire file
105 //! (Specific_ContentObject_Read_and_Seek_64Bit)
107 //! @SYMTestStatus Implemented
108 //! @SYMTestPriority Critical
109 //! @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
110 //! @SYMTestExpectedResults Data read is the same for both
112 START_TESTCASE SEC-CAF-CONS-0036
113 RUN_TEST_STEP 100 tcaf CAFSeekReadStep64 c:\tcaf\consumerstep.ini CompareContentCombinedURI
114 END_TESTCASE SEC-CAF-CONS-0036
118 //!SYMTestCaseID SEC-CAF-CONS-0037
119 //!SYMTestCaseDesc File with 2GB Size
121 //!SYMTestStatus Implemented
122 //!SYMTestPriority High
123 //!SYMTestActions Checks that the size of the file(filesize is greater than 2GB) reported by RFile is the same as the size reported by CAF (F32Agent). CAF opens the file using the given filename
124 //!SYMTestExpectedResults Sizes are equal
126 // Manual Test - Create relevant files before running this test
127 //START_TESTCASE SEC-CAF-CONS-0037
128 //RUN_TEST_STEP 100 tcaf CAFSizeStep64 c:\tcaf\consumerstep.ini Compare2GBContentF32Agent
129 //START_TESTCASE SEC-CAF-CONS-0037
133 //!SYMTestCaseID SEC-CAF-CONS-0038
134 //!SYMTestCaseDesc Plaintext File (size greater than 2GB) Read and Seek
136 //!SYMTestStatus Implemented
137 //!SYMTestPriority High
138 //!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.
139 //!SYMTestExpectedResults Data read is the same for both
141 // Manual Test - Create relevant files before running this test
142 //START_TESTCASE SEC-CAF-CONS-0038
143 //RUN_TEST_STEP 100 tcaf CAFSeekReadStep64 c:\tcaf\consumerstep.ini Compare2GBContentF32Agent
144 //START_TESTCASE SEC-CAF-CONS-0038
147 RUN_UTILS Delete c:\supplied.drm
148 RUN_UTILS Delete c:\receipt.txt
149 RUN_UTILS Delete c:\OUTPUTFILE.DRM
151 RUN_SCRIPT z:\tcaf\testcleanupstep.script