Lines Matching defs:testnum

139         int testnum = 1;
154 testnum = doPrincipalTest(policy, testnum);
164 testnum = doComparatorTest(policy, testnum);
174 testnum = doCombinedTest(policy, testnum);
178 private static int doBadTest(PolicyFile policy, int testnum) {
183 throw new SecurityException("test." + testnum + " failed");
185 testnum++;
189 throw new SecurityException("test." + testnum + " failed");
191 testnum++;
195 throw new SecurityException("test." + testnum + " failed");
197 testnum++;
199 return testnum;
202 private static int doPrincipalTest(PolicyFile policy, int testnum) {
207 throw new SecurityException("test." + testnum + " failed");
209 testnum++;
214 throw new SecurityException("test." + testnum + " failed");
216 testnum++;
221 throw new SecurityException("test." + testnum + " failed");
223 testnum++;
228 throw new SecurityException("test." + testnum + " failed");
230 testnum++;
235 throw new SecurityException("test." + testnum + " failed");
237 testnum++;
239 testnum = doBadTest(policy, testnum);
241 return testnum;
244 private static int doComparatorTest(PolicyFile policy, int testnum) {
249 throw new SecurityException("test." + testnum + " failed");
251 testnum++;
256 throw new SecurityException("test." + testnum + " failed");
258 testnum++;
263 throw new SecurityException("test." + testnum + " failed");
265 testnum++;
270 throw new SecurityException("test." + testnum + " failed");
272 testnum++;
277 throw new SecurityException("test." + testnum + " failed");
279 testnum++;
281 testnum = doBadTest(policy, testnum);
283 return testnum;
286 private static int doCombinedTest(PolicyFile policy, int testnum) {
291 throw new SecurityException("test." + testnum + " failed");
293 testnum++;
298 throw new SecurityException("test." + testnum + " failed");
300 testnum++;
305 throw new SecurityException("test." + testnum + " failed");
307 testnum++;
312 throw new SecurityException("test." + testnum + " failed");
314 testnum++;
319 throw new SecurityException("test." + testnum + " failed");
321 testnum++;
326 throw new SecurityException("test." + testnum + " failed");
328 testnum++;
333 throw new SecurityException("test." + testnum + " failed");
335 testnum++;
340 throw new SecurityException("test." + testnum + " failed");
342 testnum++;
344 testnum = doBadTest(policy, testnum);
346 return testnum;