Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Arthanareeswaran2015-05-15 14:36:50 +0000
committerJay Arthanareeswaran2015-05-15 17:10:07 +0000
commit07b9b07aa2fb6f110f79c1acddd03f17baac3f11 (patch)
treea8bdd3b13bbe24229e42ede6bca7fa51df15966d /org.eclipse.jdt.compiler.apt.tests
parent7b78c83de835b21444b25923ce1314647c008ca9 (diff)
downloadeclipse.jdt.core-07b9b07aa2fb6f110f79c1acddd03f17baac3f11.tar.gz
eclipse.jdt.core-07b9b07aa2fb6f110f79c1acddd03f17baac3f11.tar.xz
eclipse.jdt.core-07b9b07aa2fb6f110f79c1acddd03f17baac3f11.zip
Diffstat (limited to 'org.eclipse.jdt.compiler.apt.tests')
-rw-r--r--org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/FileManagerTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/FileManagerTests.java b/org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/FileManagerTests.java
index 4e55a12b55..f1af4b2ada 100644
--- a/org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/FileManagerTests.java
+++ b/org.eclipse.jdt.compiler.apt.tests/src/org/eclipse/jdt/compiler/apt/tests/FileManagerTests.java
@@ -190,8 +190,8 @@ public class FileManagerTests extends TestCase {
public void testBug466878_getResource_defaultPackage() throws Exception {
EclipseFileManager fileManager = new EclipseFileManager(Locale.getDefault(), Charset.defaultCharset());
List<File> classpath = new ArrayList<>();
- classpath.add(new File("resources/targets/filemanager/classes"));
- classpath.add(new File("resources/targets/filemanager/dependency.zip"));
+ classpath.add(new File(BatchTestUtils.getPluginDirectoryPath(), "resources/targets/filemanager/classes"));
+ classpath.add(new File(BatchTestUtils.getPluginDirectoryPath(), "resources/targets/filemanager/dependency.zip"));
fileManager.setLocation(javax.tools.StandardLocation.CLASS_PATH, classpath);
assertNotNull(fileManager.getFileForInput(javax.tools.StandardLocation.CLASS_PATH, "", "dirresource.txt"));
assertNotNull(fileManager.getFileForInput(javax.tools.StandardLocation.CLASS_PATH, "", "jarresource.txt"));

Back to the top