diff options
Diffstat (limited to 'ajde.core/testdata/InpathTest')
-rw-r--r-- | ajde.core/testdata/InpathTest/build.lst | 1 | ||||
-rw-r--r-- | ajde.core/testdata/InpathTest/build2.lst | 1 | ||||
-rw-r--r-- | ajde.core/testdata/InpathTest/indir1/META-INF/MANIFEST.MF | 3 | ||||
-rw-r--r-- | ajde.core/testdata/InpathTest/indir1/META-INF/test.xml | 4 | ||||
-rw-r--r-- | ajde.core/testdata/InpathTest/indir1/test/TestProperties.class | bin | 0 -> 943 bytes | |||
-rw-r--r-- | ajde.core/testdata/InpathTest/indir1/test/test.props | 1 | ||||
-rw-r--r-- | ajde.core/testdata/InpathTest/indir2/example/HelloWorld.class | bin | 0 -> 496 bytes | |||
-rw-r--r-- | ajde.core/testdata/InpathTest/indir2/example/HelloWorld.java | 12 | ||||
-rw-r--r-- | ajde.core/testdata/InpathTest/injar.jar | bin | 0 -> 282 bytes | |||
-rw-r--r-- | ajde.core/testdata/InpathTest/src1/Main.java | 22 | ||||
-rw-r--r-- | ajde.core/testdata/InpathTest/src2/Aspect.java | 7 |
11 files changed, 51 insertions, 0 deletions
diff --git a/ajde.core/testdata/InpathTest/build.lst b/ajde.core/testdata/InpathTest/build.lst new file mode 100644 index 000000000..6ea6b7117 --- /dev/null +++ b/ajde.core/testdata/InpathTest/build.lst @@ -0,0 +1 @@ +src1/Main.java diff --git a/ajde.core/testdata/InpathTest/build2.lst b/ajde.core/testdata/InpathTest/build2.lst new file mode 100644 index 000000000..0a8c84b41 --- /dev/null +++ b/ajde.core/testdata/InpathTest/build2.lst @@ -0,0 +1 @@ +src2/Aspect.java diff --git a/ajde.core/testdata/InpathTest/indir1/META-INF/MANIFEST.MF b/ajde.core/testdata/InpathTest/indir1/META-INF/MANIFEST.MF new file mode 100644 index 000000000..97e745a4f --- /dev/null +++ b/ajde.core/testdata/InpathTest/indir1/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Created-By: 1.3.1_04 (Sun Microsystems Inc.) + diff --git a/ajde.core/testdata/InpathTest/indir1/META-INF/test.xml b/ajde.core/testdata/InpathTest/indir1/META-INF/test.xml new file mode 100644 index 000000000..f9efa1f1f --- /dev/null +++ b/ajde.core/testdata/InpathTest/indir1/META-INF/test.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" ?> +<jar name="input1.jar"> +</jar> + diff --git a/ajde.core/testdata/InpathTest/indir1/test/TestProperties.class b/ajde.core/testdata/InpathTest/indir1/test/TestProperties.class Binary files differnew file mode 100644 index 000000000..a58740c20 --- /dev/null +++ b/ajde.core/testdata/InpathTest/indir1/test/TestProperties.class diff --git a/ajde.core/testdata/InpathTest/indir1/test/test.props b/ajde.core/testdata/InpathTest/indir1/test/test.props new file mode 100644 index 000000000..8462a7ab6 --- /dev/null +++ b/ajde.core/testdata/InpathTest/indir1/test/test.props @@ -0,0 +1 @@ +test=test2
\ No newline at end of file diff --git a/ajde.core/testdata/InpathTest/indir2/example/HelloWorld.class b/ajde.core/testdata/InpathTest/indir2/example/HelloWorld.class Binary files differnew file mode 100644 index 000000000..e333988e6 --- /dev/null +++ b/ajde.core/testdata/InpathTest/indir2/example/HelloWorld.class diff --git a/ajde.core/testdata/InpathTest/indir2/example/HelloWorld.java b/ajde.core/testdata/InpathTest/indir2/example/HelloWorld.java new file mode 100644 index 000000000..476abc7ee --- /dev/null +++ b/ajde.core/testdata/InpathTest/indir2/example/HelloWorld.java @@ -0,0 +1,12 @@ +package example; + +public class HelloWorld { + + public static void say(String msg) { + System.err.println(msg); + } + + public static void main(String []argv) { + say("hello world"); + } +} diff --git a/ajde.core/testdata/InpathTest/injar.jar b/ajde.core/testdata/InpathTest/injar.jar Binary files differnew file mode 100644 index 000000000..7dcd06f97 --- /dev/null +++ b/ajde.core/testdata/InpathTest/injar.jar diff --git a/ajde.core/testdata/InpathTest/src1/Main.java b/ajde.core/testdata/InpathTest/src1/Main.java new file mode 100644 index 000000000..417fc6809 --- /dev/null +++ b/ajde.core/testdata/InpathTest/src1/Main.java @@ -0,0 +1,22 @@ +import java.io.IOException; + +/* + * Created on 30-Jul-03 + * + * To change this generated comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ + +/** + * @author websterm + * + * To change this generated comment go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +public class Main { + + public static void main(String[] args) throws IOException { + String propsName = (args.length > 0)? args[0] : "test.props"; + new test.TestProperties().load(propsName); + } +} diff --git a/ajde.core/testdata/InpathTest/src2/Aspect.java b/ajde.core/testdata/InpathTest/src2/Aspect.java new file mode 100644 index 000000000..c70994870 --- /dev/null +++ b/ajde.core/testdata/InpathTest/src2/Aspect.java @@ -0,0 +1,7 @@ +public aspect Aspect { + pointcut sayCalls(): call(* say(..)); + + before(): sayCalls() { + System.err.println("Before say()"); + } +} |