summaryrefslogtreecommitdiffstats
path: root/tests/src/org/aspectj/systemtest/options/options-tests.xml
blob: d109cd2d0170c7f6a05174c57d635bd84831df27 (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
<!-- Options Tests -->

    <!-- .................................... option tests -->
    <!-- .................................... -warn tests -->
      <ajc-test dir="options/deprecated" 
      title="options -warn:deprecation">
        <compile files="WarnDeprecated.java,OldStuff.java"
        	options="!eclipse,-warn:deprecation">
            <message kind="warning" line="10"/>
        </compile>
    </ajc-test>
    
    <ajc-test dir="options/deprecated" 
      title="options -warn:deprecation not enabled">
        <compile files="WarnDeprecated.java,OldStuff.java"
        	options="!eclipse">
        </compile>
    </ajc-test>
 
  
   <ajc-test dir="harness" 
        title="setting -warn:constructorName works">
        <compile files="ConstructorNameWarning.java" 
        	options="-warn:constructorName">
        	<message kind="warning" line="5" text="constructor name"/>
    	</compile>
    </ajc-test>
 
     <ajc-test dir="bugs/deprecated" pr="54098"
    	title="-deprecation not working?" >
    	 <compile files="Deprecation.java, Deprecated.java" options="-deprecation">
            <message kind="warning" line="5"/>
            <message kind="warning" line="6"/>
        </compile>
    </ajc-test>