18 // --------------------------------------------------------------------------- |
18 // --------------------------------------------------------------------------- |
19 |
19 |
20 [Test] |
20 [Test] |
21 title Empty exclude list - delete everything |
21 title Empty exclude list - delete everything |
22 create secureformattertest testcase |
22 create secureformattertest testcase |
23 testcase RunTestL c:\testdata\testspec_001.txt c:\testdata\testexclude_001.txt |
23 //testcase RunTestL c:\testdata\testspec_001.txt c:\testdata\testexclude_001.txt |
|
24 testcase RunTestL z:\testdata\testspec_001.txt z:\testdata\testexclude_001.txt |
24 delete testcase |
25 delete testcase |
25 [Endtest] |
26 [Endtest] |
26 |
27 |
27 [Test] |
28 [Test] |
28 title No exclude list - delete everything |
29 title No exclude list - delete everything |
29 create secureformattertest testcase |
30 create secureformattertest testcase |
30 testcase RunTestL c:\testdata\testspec_001.txt |
31 //testcase RunTestL c:\testdata\testspec_001.txt |
|
32 testcase RunTestL z:\testdata\testspec_001.txt |
31 delete testcase |
33 delete testcase |
32 [Endtest] |
34 [Endtest] |
33 |
35 |
34 [Test] |
36 [Test] |
35 title Protect one directory but not its contents |
37 title Protect one directory but not its contents |
36 create secureformattertest testcase |
38 create secureformattertest testcase |
37 testcase RunTestL c:\testdata\testspec_002.txt c:\testdata\testexclude_002.txt |
39 //testcase RunTestL c:\testdata\testspec_002.txt c:\testdata\testexclude_002.txt |
|
40 testcase RunTestL z:\testdata\testspec_002.txt z:\testdata\testexclude_002.txt |
38 delete testcase |
41 delete testcase |
39 [Endtest] |
42 [Endtest] |
40 |
43 |
41 [Test] |
44 [Test] |
42 title Protect some subdirectories |
45 title Protect some subdirectories |
43 create secureformattertest testcase |
46 create secureformattertest testcase |
44 testcase RunTestL c:\testdata\testspec_003.txt c:\testdata\testexclude_003.txt |
47 //testcase RunTestL c:\testdata\testspec_003.txt c:\testdata\testexclude_003.txt |
|
48 testcase RunTestL z:\testdata\testspec_003.txt z:\testdata\testexclude_003.txt |
45 delete testcase |
49 delete testcase |
46 [Endtest] |
50 [Endtest] |
47 |
51 |
48 [Test] |
52 [Test] |
49 title Protect a directory with all its content |
53 title Protect a directory with all its content |
50 create secureformattertest testcase |
54 create secureformattertest testcase |
51 testcase RunTestL c:\testdata\testspec_004.txt c:\testdata\testexclude_004.txt |
55 //testcase RunTestL c:\testdata\testspec_004.txt c:\testdata\testexclude_004.txt |
|
56 testcase RunTestL z:\testdata\testspec_004.txt z:\testdata\testexclude_004.txt |
52 delete testcase |
57 delete testcase |
53 [Endtest] |
58 [Endtest] |
54 |
59 |
55 [Test] |
60 [Test] |
56 title Protect files by file extension |
61 title Protect files by file extension |
57 create secureformattertest testcase |
62 create secureformattertest testcase |
58 testcase RunTestL c:\testdata\testspec_005.txt c:\testdata\testexclude_005.txt |
63 //testcase RunTestL c:\testdata\testspec_005.txt c:\testdata\testexclude_005.txt |
|
64 testcase RunTestL z:\testdata\testspec_005.txt z:\testdata\testexclude_005.txt |
59 delete testcase |
65 delete testcase |
60 [Endtest] |
66 [Endtest] |
61 |
67 |
62 [Test] |
68 [Test] |
63 title Protect specific files - directory not explicitly protected |
69 title Protect specific files - directory not explicitly protected |
64 create secureformattertest testcase |
70 create secureformattertest testcase |
65 testcase RunTestL c:\testdata\testspec_006.txt c:\testdata\testexclude_006.txt |
71 //testcase RunTestL c:\testdata\testspec_006.txt c:\testdata\testexclude_006.txt |
|
72 testcase RunTestL z:\testdata\testspec_006.txt z:\testdata\testexclude_006.txt |
66 delete testcase |
73 delete testcase |
67 [Endtest] |
74 [Endtest] |
68 |
75 |
69 [Test] |
76 [Test] |
70 title Protect specific files - directory is explicitly protected |
77 title Protect specific files - directory is explicitly protected |
71 create secureformattertest testcase |
78 create secureformattertest testcase |
72 testcase RunTestL c:\testdata\testspec_007.txt c:\testdata\testexclude_007.txt |
79 //testcase RunTestL c:\testdata\testspec_007.txt c:\testdata\testexclude_007.txt |
|
80 testcase RunTestL z:\testdata\testspec_007.txt z:\testdata\testexclude_007.txt |
73 delete testcase |
81 delete testcase |
74 [Endtest] |
82 [Endtest] |
75 |
83 |
76 [Test] |
84 [Test] |
77 title Protect all files in a folder - not subfolders |
85 title Protect all files in a folder - not subfolders |
78 create secureformattertest testcase |
86 create secureformattertest testcase |
79 testcase RunTestL c:\testdata\testspec_008.txt c:\testdata\testexclude_008.txt |
87 //testcase RunTestL c:\testdata\testspec_008.txt c:\testdata\testexclude_008.txt |
|
88 testcase RunTestL z:\testdata\testspec_008.txt z:\testdata\testexclude_008.txt |
80 delete testcase |
89 delete testcase |
81 [Endtest] |
90 [Endtest] |
82 |
91 |
83 [Test] |
92 [Test] |
84 title Protect files by pattern 1 |
93 title Protect files by pattern 1 |
85 create secureformattertest testcase |
94 create secureformattertest testcase |
86 testcase RunTestL c:\testdata\testspec_009.txt c:\testdata\testexclude_009.txt |
95 //testcase RunTestL c:\testdata\testspec_009.txt c:\testdata\testexclude_009.txt |
|
96 testcase RunTestL z:\testdata\testspec_009.txt z:\testdata\testexclude_009.txt |
87 delete testcase |
97 delete testcase |
88 [Endtest] |
98 [Endtest] |
89 |
99 |
90 [Test] |
100 [Test] |
91 title Protect files by pattern 2 |
101 title Protect files by pattern 2 |
92 create secureformattertest testcase |
102 create secureformattertest testcase |
93 testcase RunTestL c:\testdata\testspec_010.txt c:\testdata\testexclude_010.txt |
103 //testcase RunTestL c:\testdata\testspec_010.txt c:\testdata\testexclude_010.txt |
|
104 testcase RunTestL z:\testdata\testspec_010.txt z:\testdata\testexclude_010.txt |
94 delete testcase |
105 delete testcase |
95 [Endtest] |
106 [Endtest] |
96 |
107 |
97 [Test] |
108 [Test] |
98 title Protect files by pattern 3 |
109 title Protect files by pattern 3 |
99 create secureformattertest testcase |
110 create secureformattertest testcase |
100 testcase RunTestL c:\testdata\testspec_011.txt c:\testdata\testexclude_011.txt |
111 //testcase RunTestL c:\testdata\testspec_011.txt c:\testdata\testexclude_011.txt |
|
112 testcase RunTestL z:\testdata\testspec_011.txt z:\testdata\testexclude_011.txt |
101 delete testcase |
113 delete testcase |
102 [Endtest] |
114 [Endtest] |
103 |
115 |
104 [Test] |
116 [Test] |
105 title Protect everything on drive |
117 title Protect everything on drive |
106 create secureformattertest testcase |
118 create secureformattertest testcase |
107 testcase RunTestL c:\testdata\testspec_012.txt c:\testdata\testexclude_012.txt |
119 //testcase RunTestL c:\testdata\testspec_012.txt c:\testdata\testexclude_012.txt |
|
120 testcase RunTestL z:\testdata\testspec_012.txt z:\testdata\testexclude_012.txt |
108 delete testcase |
121 delete testcase |
109 [Endtest] |
122 [Endtest] |
110 |
123 |
111 [Test] |
124 [Test] |
112 title Special case - file open 1 |
125 title Special case - file open 1 |
113 create secureformattertest testcase |
126 create secureformattertest testcase |
114 testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KReadShareExclusive |
127 //testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KReadShareExclusive |
|
128 testcase RunSpecialTestFileOpenL z:\testdata\testspec_013.txt z:\testdata\testexclude_013.txt d:\special.txt KReadShareExclusive |
115 delete testcase |
129 delete testcase |
116 [Endtest] |
130 [Endtest] |
117 |
131 |
118 [Test] |
132 [Test] |
119 title Special case - file open 2 |
133 title Special case - file open 2 |
120 create secureformattertest testcase |
134 create secureformattertest testcase |
121 testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KReadShareReadersOnly |
135 //testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KReadShareReadersOnly |
|
136 testcase RunSpecialTestFileOpenL z:\testdata\testspec_013.txt z:\testdata\testexclude_013.txt d:\special.txt KReadShareReadersOnly |
122 delete testcase |
137 delete testcase |
123 [Endtest] |
138 [Endtest] |
124 |
139 |
125 [Test] |
140 [Test] |
126 title Special case - file open 3 |
141 title Special case - file open 3 |
127 create secureformattertest testcase |
142 create secureformattertest testcase |
128 testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KReadShareAny |
143 //testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KReadShareAny |
|
144 testcase RunSpecialTestFileOpenL z:\testdata\testspec_013.txt z:\testdata\testexclude_013.txt d:\special.txt KReadShareAny |
129 delete testcase |
145 delete testcase |
130 [Endtest] |
146 [Endtest] |
131 |
147 |
132 [Test] |
148 [Test] |
133 title Special case - file open 4 |
149 title Special case - file open 4 |
134 create secureformattertest testcase |
150 create secureformattertest testcase |
135 testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KReadShareReadersOrWriters |
151 //testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KReadShareReadersOrWriters |
|
152 testcase RunSpecialTestFileOpenL z:\testdata\testspec_013.txt z:\testdata\testexclude_013.txt d:\special.txt KReadShareReadersOrWriters |
136 delete testcase |
153 delete testcase |
137 [Endtest] |
154 [Endtest] |
138 |
155 |
139 [Test] |
156 [Test] |
140 title Special case - file open 5 |
157 title Special case - file open 5 |
141 create secureformattertest testcase |
158 create secureformattertest testcase |
142 testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KWriteShareExclusive |
159 //testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KWriteShareExclusive |
|
160 testcase RunSpecialTestFileOpenL z:\testdata\testspec_013.txt z:\testdata\testexclude_013.txt d:\special.txt KWriteShareExclusive |
143 delete testcase |
161 delete testcase |
144 [Endtest] |
162 [Endtest] |
145 |
163 |
146 [Test] |
164 [Test] |
147 title Special case - file open 6 |
165 title Special case - file open 6 |
148 create secureformattertest testcase |
166 create secureformattertest testcase |
149 testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KWriteShareAny |
167 //testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KWriteShareAny |
|
168 testcase RunSpecialTestFileOpenL z:\testdata\testspec_013.txt z:\testdata\testexclude_013.txt d:\special.txt KWriteShareAny |
150 delete testcase |
169 delete testcase |
151 [Endtest] |
170 [Endtest] |
152 |
171 |
153 [Test] |
172 [Test] |
154 title Special case - file open 7 |
173 title Special case - file open 7 |
155 create secureformattertest testcase |
174 create secureformattertest testcase |
156 testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KWriteShareReadersOrWriters |
175 //testcase RunSpecialTestFileOpenL c:\testdata\testspec_013.txt c:\testdata\testexclude_013.txt d:\special.txt KWriteShareReadersOrWriters |
|
176 testcase RunSpecialTestFileOpenL z:\testdata\testspec_013.txt z:\testdata\testexclude_013.txt d:\special.txt KWriteShareReadersOrWriters |
157 delete testcase |
177 delete testcase |
158 [Endtest] |
178 [Endtest] |
159 |
179 |
160 [Test] |
180 [Test] |
161 title Special case - file attributes 1 |
181 title Special case - file attributes 1 |
162 create secureformattertest testcase |
182 create secureformattertest testcase |
163 testcase RunSpecialTestAttributesL c:\testdata\testspec_014.txt c:\testdata\testexclude_014.txt d:\special.txt KEntryAttArchive |
183 //testcase RunSpecialTestAttributesL c:\testdata\testspec_014.txt c:\testdata\testexclude_014.txt d:\special.txt KEntryAttArchive |
|
184 testcase RunSpecialTestAttributesL z:\testdata\testspec_014.txt z:\testdata\testexclude_014.txt d:\special.txt KEntryAttArchive |
164 delete testcase |
185 delete testcase |
165 [Endtest] |
186 [Endtest] |
166 |
187 |
167 [Test] |
188 [Test] |
168 title Special case - file attributes 2 |
189 title Special case - file attributes 2 |
169 create secureformattertest testcase |
190 create secureformattertest testcase |
170 testcase RunSpecialTestAttributesL c:\testdata\testspec_014.txt c:\testdata\testexclude_014.txt d:\special.txt KEntryAttReadOnly |
191 //testcase RunSpecialTestAttributesL c:\testdata\testspec_014.txt c:\testdata\testexclude_014.txt d:\special.txt KEntryAttReadOnly |
|
192 testcase RunSpecialTestAttributesL z:\testdata\testspec_014.txt z:\testdata\testexclude_014.txt d:\special.txt KEntryAttReadOnly |
171 delete testcase |
193 delete testcase |
172 [Endtest] |
194 [Endtest] |
173 |
195 |
174 [Test] |
196 [Test] |
175 title Special case - file attributes 3 |
197 title Special case - file attributes 3 |
176 create secureformattertest testcase |
198 create secureformattertest testcase |
177 testcase RunSpecialTestAttributesL c:\testdata\testspec_014.txt c:\testdata\testexclude_014.txt d:\special.txt KEntryAttHidden |
199 //testcase RunSpecialTestAttributesL c:\testdata\testspec_014.txt c:\testdata\testexclude_014.txt d:\special.txt KEntryAttHidden |
|
200 testcase RunSpecialTestAttributesL z:\testdata\testspec_014.txt z:\testdata\testexclude_014.txt d:\special.txt KEntryAttHidden |
178 delete testcase |
201 delete testcase |
179 [Endtest] |
202 [Endtest] |
180 |
203 |
181 [Test] |
204 [Test] |
182 title Special case - file attributes 4 |
205 title Special case - file attributes 4 |
183 create secureformattertest testcase |
206 create secureformattertest testcase |
184 testcase RunSpecialTestAttributesL c:\testdata\testspec_014.txt c:\testdata\testexclude_014.txt d:\special.txt KEntryAttSystem |
207 //testcase RunSpecialTestAttributesL c:\testdata\testspec_014.txt c:\testdata\testexclude_014.txt d:\special.txt KEntryAttSystem |
|
208 testcase RunSpecialTestAttributesL z:\testdata\testspec_014.txt z:\testdata\testexclude_014.txt d:\special.txt KEntryAttSystem |
185 delete testcase |
209 delete testcase |
186 [Endtest] |
210 [Endtest] |
187 |
211 |
188 [Test] |
212 [Test] |
189 title Special case - directory attributes 1 |
213 title Special case - directory attributes 1 |
190 create secureformattertest testcase |
214 create secureformattertest testcase |
191 testcase RunSpecialTestAttributesL c:\testdata\testspec_015.txt c:\testdata\testexclude_015.txt d:\special\ KEntryAttArchive |
215 //testcase RunSpecialTestAttributesL c:\testdata\testspec_015.txt c:\testdata\testexclude_015.txt d:\special\ KEntryAttArchive |
|
216 testcase RunSpecialTestAttributesL z:\testdata\testspec_015.txt z:\testdata\testexclude_015.txt d:\special\ KEntryAttArchive |
192 delete testcase |
217 delete testcase |
193 [Endtest] |
218 [Endtest] |
194 |
219 |
195 [Test] |
220 [Test] |
196 title Special case - directory attributes 2 |
221 title Special case - directory attributes 2 |
197 create secureformattertest testcase |
222 create secureformattertest testcase |
198 testcase RunSpecialTestAttributesL c:\testdata\testspec_015.txt c:\testdata\testexclude_015.txt d:\special\ KEntryAttReadOnly |
223 //testcase RunSpecialTestAttributesL c:\testdata\testspec_015.txt c:\testdata\testexclude_015.txt d:\special\ KEntryAttReadOnly |
|
224 testcase RunSpecialTestAttributesL z:\testdata\testspec_015.txt z:\testdata\testexclude_015.txt d:\special\ KEntryAttReadOnly |
199 delete testcase |
225 delete testcase |
200 [Endtest] |
226 [Endtest] |
201 |
227 |
202 [Test] |
228 [Test] |
203 title Special case - directory attributes 3 |
229 title Special case - directory attributes 3 |
204 create secureformattertest testcase |
230 create secureformattertest testcase |
205 testcase RunSpecialTestAttributesL c:\testdata\testspec_015.txt c:\testdata\testexclude_015.txt d:\special\ KEntryAttHidden |
231 //testcase RunSpecialTestAttributesL c:\testdata\testspec_015.txt c:\testdata\testexclude_015.txt d:\special\ KEntryAttHidden |
|
232 testcase RunSpecialTestAttributesL z:\testdata\testspec_015.txt z:\testdata\testexclude_015.txt d:\special\ KEntryAttHidden |
206 delete testcase |
233 delete testcase |
207 [Endtest] |
234 [Endtest] |
208 |
235 |
209 [Test] |
236 [Test] |
210 title Special case - directory attributes 4 |
237 title Special case - directory attributes 4 |
211 create secureformattertest testcase |
238 create secureformattertest testcase |
212 testcase RunSpecialTestAttributesL c:\testdata\testspec_015.txt c:\testdata\testexclude_015.txt d:\special\ KEntryAttSystem |
239 //testcase RunSpecialTestAttributesL c:\testdata\testspec_015.txt c:\testdata\testexclude_015.txt d:\special\ KEntryAttSystem |
|
240 testcase RunSpecialTestAttributesL z:\testdata\testspec_015.txt z:\testdata\testexclude_015.txt d:\special\ KEntryAttSystem |
213 delete testcase |
241 delete testcase |
214 [Endtest] |
242 [Endtest] |
215 |
243 |
216 // --------------------------------------------------------------------------- |
244 // --------------------------------------------------------------------------- |
217 // Test cases for application specific exclude lists |
245 // Test cases for application specific exclude lists |