aboutsummaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authoraclement <aclement>2008-12-10 21:37:28 +0000
committeraclement <aclement>2008-12-10 21:37:28 +0000
commitd65b4f2cc6e9dbd139e6d9a1ee6bdca50c3e5c31 (patch)
tree304fc84525804462f2289a7c208c8e2514efec0f /ajde
parent33c1f32f5d8e2353a024c52cb17bd5aa30e70a30 (diff)
downloadaspectj-d65b4f2cc6e9dbd139e6d9a1ee6bdca50c3e5c31.tar.gz
aspectj-d65b4f2cc6e9dbd139e6d9a1ee6bdca50c3e5c31.zip
258325: fix
Diffstat (limited to 'ajde')
-rw-r--r--ajde/testsrc/org/aspectj/ajde/ui/utils/TestOutputLocationManager.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/ajde/testsrc/org/aspectj/ajde/ui/utils/TestOutputLocationManager.java b/ajde/testsrc/org/aspectj/ajde/ui/utils/TestOutputLocationManager.java
index b0b2ddfab..67f4ce2aa 100644
--- a/ajde/testsrc/org/aspectj/ajde/ui/utils/TestOutputLocationManager.java
+++ b/ajde/testsrc/org/aspectj/ajde/ui/utils/TestOutputLocationManager.java
@@ -17,11 +17,9 @@ import java.util.List;
import org.aspectj.ajde.core.IOutputLocationManager;
/**
- * Test implementation of IOutputLocationManager. By default returns the
- * same location for both resources and classes, however, setter methods
- * enable the user to specify different location for these. Note that the
- * user is unable to specify different output location for different class
- * files.
+ * Test implementation of IOutputLocationManager. By default returns the same location for both resources and classes, however,
+ * setter methods enable the user to specify different location for these. Note that the user is unable to specify different output
+ * location for different class files.
*/
public class TestOutputLocationManager implements IOutputLocationManager {
@@ -29,11 +27,14 @@ public class TestOutputLocationManager implements IOutputLocationManager {
private File classOutputLoc;
private File resourceOutputLoc;
private List allOutputLocations;
-
+
public TestOutputLocationManager(String testProjectPath) {
this.testProjectOutputPath = testProjectPath + File.separator + "bin";
}
-
+
+ public void reportClassFileWrite(String outputfile) {
+ }
+
public String getUniqueIdentifier() {
return testProjectOutputPath;
}
@@ -47,18 +48,18 @@ public class TestOutputLocationManager implements IOutputLocationManager {
initLocations();
return resourceOutputLoc;
}
-
+
// -------------- setter methods useful for testing -------------
public void setOutputLocForClass(File f) {
classOutputLoc = f;
}
-
+
public void setOutputLocForResource(File f) {
resourceOutputLoc = f;
}
public List getAllOutputLocations() {
- if(allOutputLocations == null) {
+ if (allOutputLocations == null) {
allOutputLocations = new ArrayList();
initLocations();
allOutputLocations.add(classOutputLoc);
@@ -72,7 +73,7 @@ public class TestOutputLocationManager implements IOutputLocationManager {
public File getDefaultOutputLocation() {
return classOutputLoc;
}
-
+
private void initLocations() {
if (classOutputLoc == null) {
classOutputLoc = new File(testProjectOutputPath);
@@ -85,6 +86,5 @@ public class TestOutputLocationManager implements IOutputLocationManager {
public String getSourceFolderForFile(File sourceFile) {
return null;
}
-
}