From: wisberg Date: Tue, 27 May 2003 07:30:12 +0000 (+0000) Subject: test checks that setting warn:constructorName works X-Git-Tag: V1_1_0~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=11c67124a2f9a01214a91165d36c9a7bc512052b;p=aspectj.git test checks that setting warn:constructorName works --- diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index f271d2e68..9ed79f34d 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -6249,4 +6249,12 @@ + + + + + + diff --git a/tests/harness/ConstructorNameWarning.java b/tests/harness/ConstructorNameWarning.java new file mode 100644 index 000000000..ddf809540 --- /dev/null +++ b/tests/harness/ConstructorNameWarning.java @@ -0,0 +1,9 @@ + +public class ConstructorNameWarning { + + /** expecting warning: method with constructor name */ + public void ConstructorNameWarning(String s) { // CW 5 -warn:constructorName + } +} + +