diff options
author | acolyer <acolyer> | 2005-06-20 10:28:36 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2005-06-20 10:28:36 +0000 |
commit | 63423ac4b5ea11fc70bd68dd7f37b84798394f53 (patch) | |
tree | 8355e8959b93eae28f79f25c95abd6d5a2281e9c /tests/java5/ataspectj/annotationGen/Deow.aj | |
parent | ca6ec31223df4c73df0103a67cb7ce99be75a1aa (diff) | |
download | aspectj-63423ac4b5ea11fc70bd68dd7f37b84798394f53.tar.gz aspectj-63423ac4b5ea11fc70bd68dd7f37b84798394f53.zip |
update aspectjrt.jar in lib and test cases uses MAP in tests to reflect introduction of PointcutExpression interface
Diffstat (limited to 'tests/java5/ataspectj/annotationGen/Deow.aj')
-rw-r--r-- | tests/java5/ataspectj/annotationGen/Deow.aj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/java5/ataspectj/annotationGen/Deow.aj b/tests/java5/ataspectj/annotationGen/Deow.aj index 8a50e33e3..b07e88355 100644 --- a/tests/java5/ataspectj/annotationGen/Deow.aj +++ b/tests/java5/ataspectj/annotationGen/Deow.aj @@ -13,7 +13,7 @@ public aspect Deow { if (!deows[1].isError()) throw new RuntimeException("Expecting an error"); if (!deows[0].getMessage().equals("dont call system methods")) throw new RuntimeException("Bad message"); if (!deows[1].getMessage().equals("dont call system methods")) throw new RuntimeException("Bad message"); - if (!deows[0].getPointcutExpression().equals("call(* java.lang.System.*(..))")) throw new RuntimeException("Bad pc: " + deows[0].getPointcutExpression()); - if (!deows[1].getPointcutExpression().equals("call(* java.lang.System.*(..))")) throw new RuntimeException("Bad pc: " + deows[0].getPointcutExpression()); + if (!deows[0].getPointcutExpression().toString().equals("call(* java.lang.System.*(..))")) throw new RuntimeException("Bad pc: " + deows[0].getPointcutExpression()); + if (!deows[1].getPointcutExpression().toString().equals("call(* java.lang.System.*(..))")) throw new RuntimeException("Bad pc: " + deows[0].getPointcutExpression()); } }
\ No newline at end of file |