aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/resources/org/aspectj/systemtest/options/options.xml
blob: c1ac0beec77a6182aeff749766d14567bdcfdaac (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
<!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"[]>
<!-- Options Tests -->
<suite>

    <!-- .................................... 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>
    
 
</suite>