From e4ef223b7dc33f517c3e61d5d54b93f983ff9984 Mon Sep 17 00:00:00 2001 From: avasseur Date: Mon, 19 Dec 2005 14:17:33 +0000 Subject: [PATCH] this was all corrupted tests --- tests/java5/decps/Basic2b.java | 6 +++--- tests/java5/decps/Basic3b.java | 11 +++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/tests/java5/decps/Basic2b.java b/tests/java5/decps/Basic2b.java index 03c88f80d..b92b4421e 100644 --- a/tests/java5/decps/Basic2b.java +++ b/tests/java5/decps/Basic2b.java @@ -14,13 +14,13 @@ public class Basic2b { interface I { } - static class IImpl implements I { + public static class IIimpl implements I { public void m2() { } } - @DeclareParents(value="Basic2b",defaultImpl=X.IImpl.class) - private I simplefield;; + @DeclareParents(value="Basic2b",defaultImpl=X.IIimpl.class) + private I simplefield; @Before("execution(* *(..))") diff --git a/tests/java5/decps/Basic3b.java b/tests/java5/decps/Basic3b.java index 1d4ecfe5a..cfbd582c7 100644 --- a/tests/java5/decps/Basic3b.java +++ b/tests/java5/decps/Basic3b.java @@ -16,22 +16,21 @@ public class Basic3b { @Aspect class X { interface I { - public void m2(); - public void m3(); - public void m4(); + public void m2(); + public void m3(); + public void m4(); } - static class IImpl implements I { + public static class IIimpl implements I { public void m2() { } public void m3() { } public void m4() { } } - @DeclareParents(value="Basic3b",defaultImpl=IImpl.class) + @DeclareParents(value="Basic3b",defaultImpl=X.IIimpl.class) private I simplefield; - @Before("call(* *(..))") public void advice1() {} -- 2.39.5