aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ajcTestsFailing.xml
blob: 933125dbeb539e5e018fa8b16780f8034bd95a3b (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
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd">

<!-- contains valid tests that the compiler has never passed -->

<suite>
	
	<ajc-test dir="bugs/privilege"
		title="omnibus privileged access"
		comment="from mail ~Problem with interfaces...~; add pr when bug submitted"
		>
		<compile files="packageProtected/concern/ContextUser.java,
			            packageProtected/concern/BaseTarget.java,
			            packageProtected/core/Base.java"/>
		<run class="packageProtected.core.Base"/>
		<run class="packageProtected.concern.BaseTarget"/>
		</ajc-test>
		
	<ajc-test dir="bugs"
		title="after returning type incompatible with join point return type"
		pr="42668"
		>
		<compile files="IncompatibleAfterReturningTypeCE.java">
			<message kind="error" line="20"/>
			<message kind="error" line="22"/>
			</compile>
		</ajc-test>
		
	<ajc-test dir="bugs"
		pr="41888"
		title="call PCD fails when given subtype of defining type">
		<compile files="CallReference.java"/>
		<run class="CallReference"/>
		</ajc-test>

	<ajc-test dir="bugs/options/classpath"
		pr="41170"
		title="combine classpath on command line and in .lst file">
		<compile options="-verbose" argfiles="classpathTest.lst"/>
		<run class="Client"/>
		</ajc-test>

	<ajc-test dir="new/pointcutLibrary" title="libraries-pointcuts compiles"
		comment="interim test just to show library compiles...">
		<compile files="langlib/Pointcuts.java"/>
	</ajc-test>

	<ajc-test dir="new/pointcutLibrary" title="libraries-pointcuts sym"
		comment="BCException: expected state: resolved got: symbolic at Pointcut.java:238,126"
		>
		<compile files="langlib/Pointcuts.java,langlib/PointcutsCW.java">
			<message kind="warning" line="67" text="anyMethodExecution"/>
			<message kind="warning" line="67" text="anyPublicMethodExecution"/>
			<message kind="warning" line="67" text="anyNonPrivateMethodExecution"/>
			<message kind="warning" line="72" text="anyConstructorExecution"/>
			<message kind="warning" line="74" text="anyConstructorExecution"/>
			<message kind="warning" line="74" text="anyPublicConstructorExecution"/>
			<message kind="warning" line="74" text="anyNonPrivateConstructorExecution"/>
			<message kind="warning" line="76" text="anyConstructorExecution"/>
			<message kind="warning" line="76" text="anyNonPrivateConstructorExecution"/>
			<message kind="warning" line="78" text="anyNonPrivateFieldSet"/>
			<message kind="warning" line="82" text="anyMethodExecution"/>
			<message kind="warning" line="82" text="anyPublicMethodExecution"/>
			<message kind="warning" line="82" text="anyNonPrivateMethodExecution"/>
			<message kind="warning" line="83" text="toStringExecution "/>
			<message kind="warning" line="87" text="anyMethodExecution"/>
			<message kind="warning" line="89" text="anyMethodExecution, "/>
			<message kind="warning" line="91" text="anyNonPrivateFieldSet"/>
			<message kind="warning" line="91" text="withinSetter"/>
			<message kind="warning" line="97" text="anyNonPrivateFieldGet"/>
			<message kind="warning" line="97" text="withinGetter"/>
			<message kind="warning" line="102" text="anyMethodExecution"/>
			<message kind="warning" line="102" text="anyPublicMethodExecution"/>
			<message kind="warning" line="102" text="anyNonPrivateMethodExecution"/>
			<message kind="warning" line="103" text="runImplementationsInNonRunnable"/>
			<message kind="warning" line="107" text="anyRunnableImplementation"/>
			<message kind="warning" line="109" text="anyMethodExecution"/>
			<message kind="warning" line="109" text="anyPublicMethodExecution"/>
			<message kind="warning" line="109" text="anyNonPrivateMethodExecution"/>
			<message kind="warning" line="114" text="anyMethodExecution"/>
			<message kind="warning" line="114" text="anyPublicMethodExecution"/>
			<message kind="warning" line="114" text="anyNonPrivateMethodExecution"/>
			<message kind="warning" line="115" text="cloneImplementationsInNonCloneable"/>
			<message kind="warning" line="121" text="anyMethodExecution"/>
			<message kind="warning" line="121" text="anyPublicMethodExecution"/>
			<message kind="warning" line="121" text="anyNonPrivateMethodExecution"/>
			<message kind="warning" line="124" text="anyPublicFieldGet"/>
			<message kind="warning" line="124" text="anyNonPrivateFieldGet"/>
			<message kind="warning" line="126" text="anyPublicFieldGet"/>
			<message kind="warning" line="126" text="anyNonPrivateFieldGet"/>
			<message kind="warning" line="132" text="anyNonPrivateFieldGet"/>
			<message kind="warning" line="134" text="anyNonPrivateFieldGet"/>
			<message kind="warning" line="136" text="anyPublicFieldSet"/>
			<message kind="warning" line="136" text="anyNonPrivateFieldSet"/>
			<message kind="warning" line="138" text="anyPublicFieldSet"/>
			<message kind="warning" line="138" text="anyNonPrivateFieldSet"/>
			<message kind="warning" line="141" text="anyNonPublicFieldSetOutsideConstructorOrSetter"/>
			<message kind="warning" line="143" text="anyNonPublicFieldSetOutsideConstructorOrSetter"/>
			<message kind="warning" line="145" text="anyNonPublicFieldSetOutsideConstructorOrSetter"/>
			<message kind="warning" line="147" text="anyNonPublicFieldSetOutsideConstructorOrSetter"/>
			<message kind="warning" line="145" text="anyNonPrivateFieldSet"/>
			<message kind="warning" line="147" text="anyNonPrivateFieldSet"/>
			<message kind="warning" line="149" text="anyGetSystemErrOut"/>
			<message kind="warning" line="149" text="anyNonPrivateFieldGet"/>
			<message kind="warning" line="149" text="anyPublicFieldGet"/>
			<message kind="warning" line="151" text="anyGetSystemErrOut"/>
			<message kind="warning" line="151" text="anyNonPrivateFieldGet"/>
			<message kind="warning" line="151" text="anyPublicFieldGet"/>
			<message kind="warning" line="153" text="anyThreadConstruction"/>
			<message kind="warning" line="155" text="anyJavaIOCalls"/>
			<message kind="warning" line="157" text="anyJavaIOCalls"/>
			<message kind="warning" line="159" text="anyJavaAWTOrSwingCalls"/>
			<message kind="warning" line="161" text="anyJavaAWTOrSwingCalls"/>
			<message kind="warning" line="163" text="anyJavaAWTOrSwingCalls"/>
			<message kind="warning" line="165" text="anyJavaAWTOrSwingCalls"/>
			<message kind="warning" line="169" text="anySystemClassLoadingCalls"/>
			<message kind="warning" line="171" text="anySystemReflectiveCalls"/>
			<message kind="warning" line="173" text="anySystemProcessSpawningCalls"/>
			<message kind="warning" line="177" text="mostThrowableReadCalls"/>
			<message kind="warning" line="179" text="mostThrowableReadCalls"/>
			<message kind="warning" line="181" text="mostThrowableReadCalls"/>
		</compile>
		<run class="org.aspectj.langlib.PointcutsCW"/>
	</ajc-test>

    <ajc-test dir="bugs/interfaceDefinition" 
    	pr="43972"
    	title="Use class implementing interface via aspect">
        <compile 
        	files="pack/DefineInterface.java,
        		   pack/InterfaceDefinition.java,
        		   pack/MyInterface.java"/>
        <run class="pack.InterfaceDefinition"/>
        <compile 
        	includeClassesDir="true"
        	files="Main.java"/>
        <run class="Main"/>
    </ajc-test>

</suite>