diff options
author | acolyer <acolyer> | 2003-11-10 14:43:56 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2003-11-10 14:43:56 +0000 |
commit | 68c7c68403c074c1c9d8ec735ae57e4a529fee62 (patch) | |
tree | 7df7c14af4af9652ede96d829e7187e24443200e | |
parent | b09dec056ef29d3a860f8c0e0b1971536247f7da (diff) | |
download | aspectj-68c7c68403c074c1c9d8ec735ae57e4a529fee62.tar.gz aspectj-68c7c68403c074c1c9d8ec735ae57e4a529fee62.zip |
added detail of expected messages (message text) for pr31724
-rw-r--r-- | tests/ajcTests.xml | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/tests/ajcTests.xml b/tests/ajcTests.xml index b45a141b7..3a1d66333 100644 --- a/tests/ajcTests.xml +++ b/tests/ajcTests.xml @@ -5664,7 +5664,8 @@ <ajc-test dir="new/declare" pr="31724" title="omnibus declare warning context with no initializer/constructor"> <compile files="DeclareWarningEmpty.java"> - <message kind="warning" line="3"/> + <message kind="warning" line="3" text="initialization(DeclareWarningEmpty)"/> + <message kind="warning" line="3" text="staticinitialization(DeclareWarningEmpty)"/> </compile> </ajc-test> @@ -5672,21 +5673,22 @@ <ajc-test dir="new/declare" pr="31724" title="omnibus declare warning context"> <compile files="DeclareWarning.java"> - <message kind="warning" line="5"/> - <message kind="warning" line="12"/> - <message kind="warning" line="13"/> - <message kind="warning" line="14"/> - <message kind="warning" line="15"/> - <message kind="warning" line="16"/> - <message kind="warning" line="17"/> - <message kind="warning" line="18"/> - <message kind="warning" line="21"/> - <message kind="warning" line="22"/> - <message kind="warning" line="23"/> - <message kind="warning" line="33"/> - <message kind="warning" line="36"/> - <message kind="warning" line="39"/> - <message kind="warning" line="74"/> + <message kind="warning" line="5" text="staticinitialization(DeclareWarning)"/> + <message kind="warning" line="12" text="call(DeclareWarning.new())"/> + <message kind="warning" line="13" text="get staticInt"/> + <message kind="warning" line="14" text="get instanceInt"/> + <message kind="warning" line="15" text="set staticInt"/> + <message kind="warning" line="16" text="set instanceInt"/> + <message kind="warning" line="17" text="call(void run())"/> + <message kind="warning" line="18" text="call(void irun())"/> + <message kind="warning" line="21" text="execution(void run())"/> + <message kind="warning" line="22" text="execution(void irun())"/> + <message kind="warning" line="23" text="execution(DeclareWarning.new())"/> + <message kind="warning" line="23" text="initialization(DeclareWarning)"/> + <message kind="warning" line="33" text="handler(OutOfMemoryError) && within(DeclareWarning)"/> + <message kind="warning" line="36" text="handler(Error)"/> + <message kind="warning" line="39" text="handler(RuntimeException) && withincode(DeclareWarning.new())"/> + <message kind="warning" line="74" text="adviceExecution() && within(A)"/> </compile> </ajc-test> |