aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-27 07:52:41 +0000
committerwisberg <wisberg>2003-05-27 07:52:41 +0000
commit3975200a2d206410728867ba77d5bc2e8ed7921c (patch)
treec18f70e9f7db2a5041d8bca776b7438d7c1ab8e8 /tests
parent11c67124a2f9a01214a91165d36c9a7bc512052b (diff)
downloadaspectj-3975200a2d206410728867ba77d5bc2e8ed7921c.tar.gz
aspectj-3975200a2d206410728867ba77d5bc2e8ed7921c.zip
-Xlint:{level} tests
Diffstat (limited to 'tests')
-rw-r--r--tests/ajcTests.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml
index 9ed79f34d..729122676 100644
--- a/tests/ajcTests.xml
+++ b/tests/ajcTests.xml
@@ -6257,4 +6257,25 @@
</compile>
</ajc-test>
+ <ajc-test dir="harness"
+ title="valid XLintWarningTest file, default level of warning">
+ <compile files="XLintWarningTest.java">
+ <message kind="warning" line="5"
+ text="Xlint:invalidAbsoluteTypeName"/>
+ </compile>
+ </ajc-test>
+
+ <ajc-test dir="harness"
+ title="XLint:ignore suppresses XLint warnings">
+ <compile files="XLintWarningTest.java" options="-Xlint:ignore"/>
+ </ajc-test>
+
+ <ajc-test dir="harness"
+ title="XLint:error promotes XLint warnings to error">
+ <compile files="XLintWarningTest.java" options="-Xlint:error">
+ <message kind="error" line="5"
+ text="Xlint:invalidAbsoluteTypeName"/>
+ </compile>
+ </ajc-test>
+
</suite>