diff options
author | jhugunin <jhugunin> | 2003-05-01 18:48:06 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-05-01 18:48:06 +0000 |
commit | 7e47f0f2fa4e805f11a67f953aeeeb3e959fcc3d (patch) | |
tree | a5923ed58bf1ca29a096b494d19d8742cec8dc0c /tests/jimTests.xml | |
parent | aaca8abb5e65355985f4cbef492d7e5e8272a1c7 (diff) | |
download | aspectj-7e47f0f2fa4e805f11a67f953aeeeb3e959fcc3d.tar.gz aspectj-7e47f0f2fa4e805f11a67f953aeeeb3e959fcc3d.zip |
added test that deprecation warnings are not shown unless asked for
modifying option setting to make that test pass
Diffstat (limited to 'tests/jimTests.xml')
-rw-r--r-- | tests/jimTests.xml | 38 |
1 files changed, 11 insertions, 27 deletions
diff --git a/tests/jimTests.xml b/tests/jimTests.xml index a7b32080d..c071015d0 100644 --- a/tests/jimTests.xml +++ b/tests/jimTests.xml @@ -1,32 +1,16 @@ <!DOCTYPE suite SYSTEM "../tests/ajcTestSuite.dtd"> <suite> - - <ajc-test dir="bugs/interSpecials" title="IllegalAccessError while accessing introduced variable / 1.1rc1" - pr="36110"> - <compile files="p1/C.java,p2/A1.java"/> - <run class="p2.A1"/> + <ajc-test dir="options" + title="options -warn:deprecation"> + <compile files="WarnDeprecated.java" + options="!eclipse,-warn:deprecation"> + <message kind="warning" line="10"/> + </compile> </ajc-test> - - <ajc-test dir="bugs/interSpecials" title="testing that assert works like .class" - pr="36110"> - <compile files="p1/C.java,p2/A2.java" options="-source14"/> - <run class="p2.A2" vm="1.4"/> + <ajc-test dir="options" + title="options -warn:deprecation turned off"> + <compile files="WarnDeprecated.java" + options="!eclipse"> + </compile> </ajc-test> - - <!-- - - <ajc-test dir="options/injars/simple" - title="options -injars"> - <compile files="Simple.java,main.jar" - options="!eclipse"/> - <run class="Main"/> - </ajc-test> - - - <ajc-test dir="new" pr="885" - title="source locations within expressions"> - <compile files="SourceLocationWithinExpr.java" options="-1.4"/> - <run class="SourceLocationWithinExpr"/> - </ajc-test> - --> </suite>
\ No newline at end of file |