aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/org/aspectj/systemtest/ajc171/ajc171.xml
blob: 4f09f7c8437cb395c15adea274f480e6cd823306 (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
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>

<suite>

	<ajc-test dir="bugs171/pr387444" title="soft 17">
      <compile files="Code.java" options="-1.7"/>
    </ajc-test>

	<ajc-test dir="bugs171/pr387444" title="soft 17 2">
      <compile files="Code2.java" options="-1.7"/>
      <run class="Code2">
        <stdout>
          <line text="foo"/>
        </stdout>
      </run>
    </ajc-test>

	<ajc-test dir="bugs171/pr387568" title="unresolvable enum">
      <compile files="Color.java Code.java" options="-1.5"/>
    </ajc-test>

    <ajc-test dir="bugs171/pr386049" title="itd abstract">
      <compile files="de/scrum_master/galileo/filter/BasicFilter.java de/scrum_master/galileo/filter/JsoupFilter.java de/scrum_master/galileo/LoggingAspect.aj" options="-1.5"/>
      <run class="de.scrum_master.galileo.filter.JsoupFilter">
        <stdout>
          <line text="JsoupFilter.getLogMessage()"/>
          <line text="run()"/>
        </stdout>
      </run>
    </ajc-test>

    <ajc-test dir="bugs171/pr73507" title="public ITDfs - 1">
      <compile files="Case1.java" options="-1.5"/>
      <run class="Case1">
        <stdout>
          <line text="Found a field called i"/>
        </stdout>
      </run>
    </ajc-test>
    
    <ajc-test dir="bugs171/pr73507" title="public ITDfs - 2">
      <compile files="Case2.java" options="-1.5"/>
      <run class="Case2">
        <stdout>
          <line text="Value of C.i is 1"/>
        </stdout>
      </run>
    </ajc-test>
    
     <ajc-test dir="bugs171/pr73507" title="public ITDfs - 3">
      <compile files="Case3.java" options="-1.5"/>
      <run class="Case3">
        <stdout>
          <line text="Value of C.i is 1"/>
          <line text="Value of C.j is 1"/>
          <line text="Value of C.k is 5"/>
          <line text="Value of I.i is 1"/>
          <line text="Value of I.j is 1"/>
        </stdout>
      </run>
    </ajc-test>
    
     <ajc-test dir="bugs171/pr73507" title="public ITDfs - 4">
      <compile files="Case4.java" options="-1.5">
        <message kind="error" line="13" text="can't override java.lang.String I.i with int C.i return types don't match"/>
      </compile>
    </ajc-test>
    
    <ajc-test dir="bugs171/pr73507" title="public ITDfs - 5">
      <compile files="Case5.java" options="-1.5"/>
      <run class="Case5">
        <stdout>
          <line text="public java.lang.String C.str"/>
        </stdout>
      </run>
    </ajc-test>
	
	<ajc-test dir="bugs171/pr384398" title="generics itds">
		<compile files="A.java B.java BAspect.aj" options="-1.5">
		<!-- 
			<message kind="weave" text="Join point 'constructor-call(void java.util.LinkedList.&lt;init&gt;())' in Type 'Foo' (Foo.java:41) advised by around advice from 'Bar' (Foo.java:14)"/>
		-->
		</compile>
		<!-- 
		<run class="Foo">
			<stdout>
				<line text="superaspect getNumber returns -2"/>
				<line text="Bar.method() running"/>
				<line text="abstract method returns []"/>
			</stdout>
		</run> -->
	</ajc-test>
	
	<ajc-test dir="bugs171/pr384398_2" title="generics itds 2">
		<compile files="A.java B.java BAspect.aj" options="-1.5">
		<!-- 
			<message kind="weave" text="Join point 'constructor-call(void java.util.LinkedList.&lt;init&gt;())' in Type 'Foo' (Foo.java:41) advised by around advice from 'Bar' (Foo.java:14)"/>
		-->
		</compile>
		<!-- 
		<run class="Foo">
			<stdout>
				<line text="superaspect getNumber returns -2"/>
				<line text="Bar.method() running"/>
				<line text="abstract method returns []"/>
			</stdout>
		</run> -->
	</ajc-test>
   
</suite>