aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ajcHarnessTests.xml
blob: 4a031b6829382c4b7bf8106b0ae943f095e2485f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd">

<!--
    To log unexpected results, run
        with -logPass -ajctestRequireKeywords=expect-fail
     or with -logFail -ajctestSkipKeywords=expect-fail
     
     You can also run using -traceTestsMin and scan for 
     unexpected results:
        
        FAIL pass {title..}  # expect pass, actual fail 
        PASS fail {title..}  # expect fail, actual pass

     Also pick out "incremental-test" keyword for incremental tests.
	 
	 Variant tests below:
	 - [fork|spoon]-[out|err|Error]-[detected|ignored]
	 - ltw-[base|jarAspectpath{-jarClasspath}]
	 
	 Issues:
	 - harness not stopping after unexpected-fails completes.
	   When exception thrown, everything cleaned up?

-->
<suite>
<!-- disabled so skipping expect-fail causes all to pass
	 (error emitted before test is skipped)
	
    <ajc-test dir="noSuchDir"
      title="fail no such directory - report as error (AjcTest specification)"
     keywords="expect-fail">
        <compile files="NoSuchFile.java"/>
    </ajc-test>
-->

    <ajc-test dir="harness"
      title="pass 2 error">
        <compile files="ErrorTest.java">
            <message kind="error" line="5"/>
            <message kind="error" line="6"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness"
      title="pass 2 error, with filenames">
        <compile files="ErrorTest.java">
            <message kind="error" line="5" file="ErrorTest.java"/>
            <message kind="error" line="6" file="ErrorTest.java"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness"
      title="fail 2 error, with 1 bad filename"
      keywords="expect-fail">
        <compile files="ErrorTest.java">
            <message kind="error" line="5" file="ErrorTest.java"/>
            <message kind="error" line="6" file="ErrorTest2.java"/>
        </compile>
    </ajc-test>
    
    <ajc-test dir="harness"
      title="fail 2 error, with 2 bad filename"
      keywords="expect-fail">
        <compile files="ErrorTest.java">
            <message kind="error" line="5" file="ErrorTest3.java"/>
            <message kind="error" line="6" file="ErrorTest2.java"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness"
      title="fail 2 error, three expected"
     keywords="expect-fail">
        <compile files="ErrorTest.java">
            <message kind="error" line="5"/>
            <message kind="error" line="6"/>
            <message kind="error" line="8"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness"
      title="fail 2 error, one unexpected"
     keywords="expect-fail">
        <compile files="ErrorTest.java">
            <message kind="error" line="6"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness"
      title="fail 2 error, one with with error line wrong"
     keywords="expect-fail">
        <compile files="ErrorTest.java">
            <message kind="error" line="5"/>
            <message kind="error" line="7" text="Wrong line number"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness"
      title="fail 2 error, one with with kind wrong"
     keywords="expect-fail">
        <compile files="ErrorTest.java">
            <message kind="error" line="5"/>
            <message kind="warning" line="6"/>
        </compile>
    </ajc-test>
    
    <ajc-test dir="harness"
      title="pass 1 warning">
        <compile files="WarningTest.java">
            <message kind="warning" line="14"/>
        </compile>
    </ajc-test>
    
    <ajc-test dir="harness"
      title="fail 1 warning with kind wrong"
     keywords="expect-fail">
        <compile files="WarningTest.java">
            <message kind="error" line="14"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness"
      title="fail 1 warning with line wrong"
     keywords="expect-fail">
        <compile files="WarningTest.java">
            <message kind="warning" line="15"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness" 
    	title="fail checks and events, failed to specify 6 expected fails"
     keywords="expect-fail">
        <compile files="TestTesterFail.java"/>
        <run class="TestTesterFail"/>
    </ajc-test>

    <ajc-test dir="harness" 
    	title="fail one missing note"
     keywords="expect-fail">
        <compile files="TesterNotesFail.java"/>
        <run class="TesterNotesFail"/>
    </ajc-test>

    <ajc-test dir="harness" 
    	title="pass checks and events, all should pass">
        <compile files="TestTester.java"/>
        <run class="TestTester"/>
    </ajc-test>

    <ajc-test dir="harness" 
    	title="pass event files">
        <compile files="TestTesterFile.java"/>
        <run class="TestTesterFile"/>
    </ajc-test>

    <ajc-test dir="harness" 
    	title="pass compile and run, no tester required">
        <compile files="TestNoTester.java"/>
        <run class="TestNoTester" skipTester="true"/>
    </ajc-test>

    <ajc-test dir="harness/classpathTest"
      title="pass specify jars and directories on classpath"
      keywords="purejava">
        <compile classpath="classesDir,jars/required.jar" 
                 files="Main.java"/>
        <run class="Main"/>
    </ajc-test>

    <ajc-test dir="harness/classpathTest"
      title="pass specify aspectpath and classpath jars and directories">
        <compile classpath="classesDir,jars/required.jar"
                 aspectpath="jars/requiredAspects.jar"
                 files="AspectMain.java"/>
        <run class="AspectMain"/>
    </ajc-test>

    <ajc-test dir="harness/classpathTest"
      title="pass pure binary weaving, with jars/dir on classpath"
      keywords="purejava">
        <compile classpath="classesDir,jars/required.jar" 
                 files="Main.java"
                 outjar="main.zip" options="-1.4"/>
        <compile classpath="classesDir,jars/required.jar"
                 aspectpath="jars/requiredAspects.jar,jars/AspectMain.jar"
                 files="main.zip" options="-1.4"/>
        <run class="Main"/>
    </ajc-test>

    <ajc-test dir="harness"  keywords="incremental-test"
    		title="pass minimal purejava sourceroots test">
        <compile sourceroots="sourceroot"/>
		<run class="packageOne.Main"/>
    </ajc-test>

    <ajc-test dir="harness"  keywords="incremental-test"
    		title="pass test of dual sourceroots with aspects">
        <compile sourceroots="sourceroot,sourceroot2"/>
		<run class="packageOne.Main"/>
    </ajc-test>

    <ajc-test dir="harness"  keywords="incremental-test"
    		title="pass minimal incremental purejava sourceroots test"
    	comment="inc-22 generates new event, expected after">
        <compile options="-incremental" 
        	sourceroots="sourceroot-inc"/>
		<run class="packageOne.Main"/>
        <inc-compile tag="22"/> 
		<run class="packageOne.Main" 
		   options="new-event"/>
    </ajc-test>

    <ajc-test dir="harness"  keywords="incremental-test"
    		title="pass rebuild minimal incremental purejava sourceroots test"
    	comment="inc-22 generates new event, expected after">
        <compile options="-incremental" 
        	sourceroots="sourceroot-inc"/>
		<run class="packageOne.Main"/>
        <inc-compile tag="22"/>
		<run class="packageOne.Main" 
		   options="new-event"/> 

        <compile options="-incremental" 
            reuseCompiler="true"
        	sourceroots="sourceroot-inc"/>
		<run class="packageOne.Main"/>
        <inc-compile tag="22"/>
		<run class="packageOne.Main" 
		   options="new-event"/>
    </ajc-test>
    
    <ajc-test dir="harness"  keywords="incremental-test"
    		title="pass rebuild fresh-same minimal incremental purejava sourceroots test"
    	comment="inc-22 generates new event, expected after">
        <compile options="-incremental" 
        	sourceroots="sourceroot-inc"/>
		<run class="packageOne.Main"/>
        <inc-compile tag="22"/> 
		<run class="packageOne.Main" 
		   options="new-event"/> 

        <inc-compile tag="same" fresh="true" />
		<run class="packageOne.Main" 
		   options="new-event"/>
    </ajc-test>
    
    <ajc-test dir="harness"  keywords="incremental-test"
    		title="pass rebuild fresh-updated minimal incremental purejava sourceroots test"
    	comment="inc-22 generates new event, expected after">
        <compile options="-incremental" 
        	sourceroots="sourceroot-inc"/>
		<run class="packageOne.Main"/>

        <inc-compile tag="22" fresh="true" /> 
		<run class="packageOne.Main" 
		   options="new-event"/> 
    </ajc-test>

    <ajc-test dir="incremental/stringliteral"
    	keywords="incremental-test,fixme"
		title="pass incrementally change only string literal size">
        <compile staging="true" options="-incremental" 
        	sourceroots="src"/>
		<run class="packageOne.Main"
			options="in packageOne.Main.main(..),
					 before main packageOne.Main"/>
        <inc-compile tag="20">
        	<dir-changes delay="2000" updated="packageOne.Main"/>
        </inc-compile>
		<run class="packageOne.Main"
			options="in longer packageOne.Main.main(..),
					 before main packageOne.Main"/>
    </ajc-test>

   <ajc-test dir="incremental/defaultPackage/src"
   	title="pass test using prior classes">
        <compile files="lib/Lib.java"/>
        <run class="lib.Lib"/>
        <compile files="Main.java" includeClassesDir="true"/>
        <run class="Main"/>
    </ajc-test>

   <ajc-test dir="incremental/interPackage/src"
   	title="pass test using prior classes (inter-package)">
        <compile files="lib/Lib.java"/>
        <run class="lib.Lib"/>
        <compile files="app/Main.java" includeClassesDir="true"/>
        <run class="app.Main"/>
    </ajc-test>
    
    <ajc-test dir="harness/systemExit" 
        title="pass System exit 0">
        <compile files="SystemExit.java"/>
        <run class="SystemExit"/>
    </ajc-test>
    <ajc-test dir="harness/systemExit" 
    	keywords="expect-fail"
        title="fail System exit 1">
        <compile files="SystemExit.java"/>
        <run class="SystemExit" options="1"/>
    </ajc-test>
    
    <ajc-test dir="harness/systemExit" 
    	keywords="expect-fail"
        title="fail System exit -1">
        <compile files="SystemExit.java"/>
        <run class="SystemExit" options="-1"/>
    </ajc-test>
  
    <ajc-test dir="harness/inpath"
      title="pass test inpath option - valid">
        <compile files="input-path-classes" sourceroots="aspectsrc"/>
        <run class="Main"/>
    </ajc-test>
    
    
    <ajc-test dir="harness"
      comment="Expect two warnings when compiling -1.3"
      title="pass 2 compound warning -1.3">
        <compile files="CompoundMessage.java" options="-1.3">
            <message kind="warning" line="6">
            	<source line="14" file="CompoundMessage.java"/>
            </message>
            <message kind="warning" line="6">
            	<source line="12" file="CompoundMessage.java"/>
            </message>
        </compile>
    </ajc-test>
    
    <ajc-test dir="harness"
    	comment="Expect no warnings when compiling -1.4"
      title="pass 2 compound warning -1.4">
        <compile files="CompoundMessage.java" options="-1.4"/>
    </ajc-test>

    <ajc-test dir="harness/xlintfile"
      title="pass default xlintfile">
        <compile files="TypeNotExposed.java">
            <message kind="warning" line="4" text="xpose"/>
        	</compile>
    </ajc-test>

    <ajc-test dir="harness/xlintfile"
      title="pass xlintfile promotes to error">
        <compile files="TypeNotExposed.java"
			xlintfile="tneError.properties">
            <message kind="error" line="4" text="xpose"/>
        	</compile>
    </ajc-test>

    <ajc-test dir="harness/xlintfile"
      title="pass xlintfile demotes to ignore">
        <compile files="TypeNotExposed.java"
			xlintfile="tneIgnore.properties"/>
    </ajc-test>

    <ajc-test dir="harness"
    	keywords="expect-fail"
		title="fail 2 error, but expecting more details">
        <compile files="ErrorTest.java">
            <message kind="error" line="5" details="expecting more"/>
            <message kind="error" line="6" details="details"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness"
      title="pass dir-changes: nested and static class">
        <compile files="DirChangesTest.java">
            <dir-changes added="DirChangesTest,DirChangesTest$Inner,DirChangesTest$Nested"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness"
    	keywords="expect-fail"
		title="fail dir-changes: at end, expected file not added .. $Missing..">
        <compile files="DirChangesTest.java">
            <dir-changes added="DirChangesTest$Missing"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness/dirchanges-inc"
		title="pass dir-changes incremental">
        <compile 
			options="-incremental"
			staging="true" 
			sourceroots="src">
            <dir-changes added="Unchanged,Changed"/>
        </compile>
        <run class="Changed" options="first"/>
        <inc-compile tag="20">
            <dir-changes removed="Removed" updated="Changed"/>
        </inc-compile>
        <run class="Changed" options="second"/>
    </ajc-test>

    <ajc-test dir="harness/dirchanges-inc"
    	keywords="expect-fail"
		title="fail dir-changes incremental: at start, did not expect added file to exist: {added==}Changed.class">
        <compile 
			options="-incremental"
			staging="true" 
			sourceroots="src"/>
		<inc-compile tag="20">
            <dir-changes added="Changed"/>
        </inc-compile>
    </ajc-test>

    <ajc-test dir="harness/dirchanges-inc"
    	keywords="expect-fail"
		title="fail dir-changes incremental: at start, expected removed file to exist: {removed==}Missing.class">
        <compile 
			options="-incremental"
			staging="true" 
			sourceroots="src">
            <dir-changes removed="Missing"/>
		</compile>
    </ajc-test>

    <ajc-test dir="harness/dirchanges-inc"
    	keywords="expect-fail"
		title="fail dir-changes incremental: at start, expected updated file to exist: {updated==}Missing.class">
        <compile 
			options="-incremental"
			staging="true" 
			sourceroots="src">
            <dir-changes updated="Missing"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness/dirchanges-inc"
    	keywords="expect-fail"
		title="fail dir-changes incremental: at end, expected added file to exist: {added==}Missing.class">
        <compile 
			options="-incremental"
			staging="true" 
			sourceroots="src">
            <dir-changes added="Missing"/>
        </compile>
    </ajc-test>

    <ajc-test dir="harness/dirchanges-inc"
    	keywords="expect-fail"
		title="fail dir-changes incremental: at end, did not expect removed file to exist: {removed==}Changed.class">
        <compile 
			options="-incremental"
			staging="true" 
			sourceroots="src"/>
		<inc-compile tag="20">
            <dir-changes removed="Changed"/>
        </inc-compile>
    </ajc-test>

    <ajc-test dir="harness/dirchanges-inc"
    	keywords="expect-fail"
		title="fail dir-changes incremental: at end, expected updated file to exist: {updated==}Removed.class">
        <compile 
			options="-incremental"
			staging="true" 
			sourceroots="src"/>
		<inc-compile tag="20">
            <dir-changes updated="Removed"/>
		</inc-compile>
    </ajc-test>
       
    <ajc-test dir="harness"
    	keywords="expect-fail"
		title="fail not forking or setting property">
        <compile files="SystemPropertiesTest.java"/>
        <run class="SystemPropertiesTest" fork="false"/>
    </ajc-test>

    <ajc-test dir="harness"
    	keywords="expect-fail"
		title="fail fork without setting property">
        <compile files="SystemPropertiesTest.java"/>
        <run class="SystemPropertiesTest" fork="true"/>
    </ajc-test>

    <ajc-test dir="harness"
		title="pass fork and set property">
        <compile files="SystemPropertiesTest.java"/>
        <run class="SystemPropertiesTest" 
        	fork="true" 
        	vmargs="-DPASS=true,-Dname=value"/>
    </ajc-test>

    <ajc-test dir="harness/fork"
		title="pass fork verify Main runs">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" fork="true"/> 
    </ajc-test>
	
    <ajc-test dir="harness/fork"
		title="pass spoon verify Main runs">
        <compile files="MainWriter.java"/>
        <run class="MainWriter"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		keywords="expect-fail"
		title="fail fork-err-detected Main runs, uses System.err, fails on err">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="err" fork="true"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		title="pass fork-err-ignored Main runs, uses System.err, err ignored">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="err" fork="true" errStreamIsError="false"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		keywords="expect-fail"
		title="fail fork-out-detected Main runs, uses System.out, fails on out">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="out" fork="true" outStreamIsError="true"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		title="pass fork-out-ignored Main runs, uses System.out, out ignored">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="out" fork="true" outStreamIsError="false"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		keywords="expect-fail"
		title="fail fork-Error-detected Main runs, throws Error, fails on Error">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="Error" fork="true" /> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		title="pass fork-Error-ignored Main runs, throws Error, expects Error">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="Error" fork="true" exception="Error"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		keywords="expect-fail"
		title="fail fork-Error-missed Main runs, does not throws Error, expects Error">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" fork="true" exception="Error"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		keywords="expect-fail"
		title="fail spoon-err-detected Main runs, uses System.err, fails on err">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="err" /> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		title="pass spoon-err-ignored Main runs, uses System.err, err ignored">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="err" errStreamIsError="false"/> 
    </ajc-test>
    <ajc-test dir="harness/fork"
		keywords="expect-fail"
		title="fail spoon-out-detected Main runs, uses System.out, fails on out">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="out" outStreamIsError="true"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		title="pass spoon-out-ignored Main runs, uses System.out, out ignored">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="out" outStreamIsError="false"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		keywords="expect-fail"
		title="fail spoon-Error-detected Main runs, throws Error, fails on Error">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="Error"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		title="pass spoon-Error-ignored Main runs, throws Error, expects Error">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="Error" exception="Error"/> 
    </ajc-test>

    <ajc-test dir="harness/fork"
		keywords="expect-fail"
		title="fail spoon-Error-missed Main runs, does not throws Error, expects Error">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" exception="Error"/> 
    </ajc-test>
	
    <ajc-test dir="harness/aspectpath"
		keywords="expect-fail"
		title="fail ltw-base Main fails without aspect">
        <compile files="Main.java"/>
        <run class="Main"/> 
    </ajc-test>

    <ajc-test dir="harness/aspectpath"
		title="pass ltw-base Main fails without aspect (expected)">
        <compile files="Main.java"/>
        <run class="Main" exception="Error"/> 
    </ajc-test>

    <ajc-test dir="harness/aspectpath"
		title="pass ltw-base Main works with aspect">
        <compile files="A.java,Main.java"/>
        <run class="Main"/> 
    </ajc-test>

    <ajc-test dir="harness/aspectpath"
		title="pass ltw-jarAspectpath">
        <compile files="A.java" outjar="out.jar" options="-1.4"/>
        <compile files="Main.java" options="-1.4"/>
        <run class="Main" aspectpath="out.jar"/> 
    </ajc-test>

    <ajc-test dir="harness/aspectpath"
		title="pass ltw-jarAspectpath-jarClasspath">
        <compile files="A.java" outjar="out.jar" options="-1.4"/>
        <compile files="Main.java" outjar="cl.zip" options="-1.4"/>
        <run class="Main" aspectpath="out.jar" classpath="cl.zip"/> 
    </ajc-test>

<!-- 

reproduce hang from blocking IO read at JavaRun.java 
    <ajc-test dir="harness/fork"
		title="pass fork-Error-ignored Main runs, throws Error, expects Error">
        <compile files="MainWriter.java"/>
        <run class="MainWriter" options="Error" fork="true" exception="Error"/> 
    </ajc-test>


unforked exception check is failing.
Also forked/unforked throw different exceptions

    <ajc-test dir="harness/classpathTest"
      title="pass specify jars and directories on classpath"
      keywords="purejava">
        <compile classpath="classesDir,jars/required.jar" 
                 files="Main.java"
                 options=""
                 outjar="main.zip"/>
        <run class="Main" fork="true" exception="NoClassDefFoundError"/>
        <run class="Main" fork="false" exception="java.lang.ClassNotFoundException"/>
        <run class="Main" classpath="main.zip"/>
        <compile classpath="classesDir,jars/required.jar"
			files="main.zip"/>
        <run class="Main"/>
    </ajc-test>
    
    
-->
</suite>