diff options
author | wisberg <wisberg> | 2003-05-27 07:52:41 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-05-27 07:52:41 +0000 |
commit | 3975200a2d206410728867ba77d5bc2e8ed7921c (patch) | |
tree | c18f70e9f7db2a5041d8bca776b7438d7c1ab8e8 /tests | |
parent | 11c67124a2f9a01214a91165d36c9a7bc512052b (diff) | |
download | aspectj-3975200a2d206410728867ba77d5bc2e8ed7921c.tar.gz aspectj-3975200a2d206410728867ba77d5bc2e8ed7921c.zip |
-Xlint:{level} tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ajcTests.xml | 21 |
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> |