diff options
Diffstat (limited to 'tests/new/access/Test1.java')
-rw-r--r-- | tests/new/access/Test1.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/new/access/Test1.java b/tests/new/access/Test1.java new file mode 100644 index 000000000..1d3b3f695 --- /dev/null +++ b/tests/new/access/Test1.java @@ -0,0 +1,16 @@ +import org.aspectj.testing.Tester; + +import pc.C; +import psub.SubC; + +public class Test1 { + public static void main(String[] args) { + C c = new C(); + SubC subc = new SubC(); + + Tester.checkEqual(c.getInternalPackage(), "pc"); + Tester.checkEqual(subc.getInternalPackage(), "pc"); + Tester.checkEqual(subc.getRealPackage(), "psub"); + + } +} |