From ff32dfb1ea7056dcafe28c7d2b78141568cc4fc6 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 26 Feb 2004 11:22:31 +0000 Subject: Final part of bug #46347 (-inpath): We do not copy resources from inpath directories to the output. --- ajde/testsrc/org/aspectj/ajde/InpathTestcase.java | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) (limited to 'ajde') diff --git a/ajde/testsrc/org/aspectj/ajde/InpathTestcase.java b/ajde/testsrc/org/aspectj/ajde/InpathTestcase.java index 36d4b2a09..ce7b3e5f3 100644 --- a/ajde/testsrc/org/aspectj/ajde/InpathTestcase.java +++ b/ajde/testsrc/org/aspectj/ajde/InpathTestcase.java @@ -73,9 +73,10 @@ public class InpathTestcase extends AjdeTestCase { Set expectedOutputJarContents = new HashSet(); // From indir1 - expectedOutputJarContents.add("META-INF/MANIFEST.MF"); - expectedOutputJarContents.add("META-INF/test.xml"); - expectedOutputJarContents.add("test/test.props"); +// If we don't copy resources, these next three files won't make it. +// expectedOutputJarContents.add("META-INF/MANIFEST.MF"); +// expectedOutputJarContents.add("META-INF/test.xml"); +// expectedOutputJarContents.add("test/test.props"); expectedOutputJarContents.add("test/TestProperties.class"); // From src expectedOutputJarContents.add("Main.class"); @@ -107,9 +108,10 @@ public class InpathTestcase extends AjdeTestCase { Set expectedBindirContents = new HashSet(); // From indir1 - expectedBindirContents.add("META-INF/MANIFEST.MF"); - expectedBindirContents.add("META-INF/test.xml"); - expectedBindirContents.add("test/test.props"); +// If we don't copy resources, these next three files won't make it +// expectedBindirContents.add("META-INF/MANIFEST.MF"); +// expectedBindirContents.add("META-INF/test.xml"); +// expectedBindirContents.add("test/test.props"); expectedBindirContents.add("test/TestProperties.class"); // From src expectedBindirContents.add("Main.class"); @@ -149,7 +151,9 @@ public class InpathTestcase extends AjdeTestCase { Set expectedOutputJarContents = new HashSet(); // From indir1 expectedOutputJarContents.add("example/HelloWorld.class"); - expectedOutputJarContents.add("example/HelloWorld.java"); + +// If we don't copy resources, this file won't make it +// expectedOutputJarContents.add("example/HelloWorld.java"); // From src expectedOutputJarContents.add("Aspect.class"); @@ -201,7 +205,9 @@ public class InpathTestcase extends AjdeTestCase { // From indir1 expectedBindirContents.add("example/HelloWorld.class"); - expectedBindirContents.add("example/HelloWorld.java"); + +// If we don't copy resources, this file won't make it +// expectedBindirContents.add("example/HelloWorld.java"); // From injar.jar expectedBindirContents.add("props/resources.properties"); // From src -- cgit v1.2.3 /log/.revive.toml'>
path: root/.revive.toml
blob: 74743d5ef4d4fa1f6454615b357306134bd910b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25