aboutsummaryrefslogtreecommitdiffstats
path: root/tests/multiIncremental/pr265729_client
diff options
context:
space:
mode:
authoraclement <aclement>2009-02-24 20:27:41 +0000
committeraclement <aclement>2009-02-24 20:27:41 +0000
commit11e7c2ef992f4b26a7839a06594b5cc6139221a8 (patch)
treea9553893d8fd3c5b3948772b42be6d313d150dac /tests/multiIncremental/pr265729_client
parent51e641f10a044a0e394f6bac3e906494c46dd67f (diff)
downloadaspectj-11e7c2ef992f4b26a7839a06594b5cc6139221a8.tar.gz
aspectj-11e7c2ef992f4b26a7839a06594b5cc6139221a8.zip
265729: testcode
Diffstat (limited to 'tests/multiIncremental/pr265729_client')
-rw-r--r--tests/multiIncremental/pr265729_client/base/src/be/cronos/aop/App.java13
-rw-r--r--tests/multiIncremental/pr265729_client/base/src/be/cronos/experiment/AppTest.java38
2 files changed, 51 insertions, 0 deletions
diff --git a/tests/multiIncremental/pr265729_client/base/src/be/cronos/aop/App.java b/tests/multiIncremental/pr265729_client/base/src/be/cronos/aop/App.java
new file mode 100644
index 000000000..3e6566992
--- /dev/null
+++ b/tests/multiIncremental/pr265729_client/base/src/be/cronos/aop/App.java
@@ -0,0 +1,13 @@
+package be.cronos.aop;
+
+
+@InterTypeAspectSupport
+public class App {
+ public static void main(String[] args) {
+ // System.out.println( "Hello World!" ); //should throw compiler error,
+ // OK
+ App app = new App();
+ app.foo(42);
+
+ }
+}
diff --git a/tests/multiIncremental/pr265729_client/base/src/be/cronos/experiment/AppTest.java b/tests/multiIncremental/pr265729_client/base/src/be/cronos/experiment/AppTest.java
new file mode 100644
index 000000000..1290de08e
--- /dev/null
+++ b/tests/multiIncremental/pr265729_client/base/src/be/cronos/experiment/AppTest.java
@@ -0,0 +1,38 @@
+//package be.cronos.experiment;
+//
+//import junit.framework.Test;
+//import junit.framework.TestCase;
+//import junit.framework.TestSuite;
+//
+///**
+// * Unit test for simple App.
+// */
+//public class AppTest
+// extends TestCase
+//{
+// /**
+// * Create the test case
+// *
+// * @param testName name of the test case
+// */
+// public AppTest( String testName )
+// {
+// super( testName );
+// }
+//
+// /**
+// * @return the suite of tests being tested
+// */
+// public static Test suite()
+// {
+// return new TestSuite( AppTest.class );
+// }
+//
+// /**
+// * Rigourous Test :-)
+// */
+// public void testApp()
+// {
+// assertTrue( true );
+// }
+//}