summaryrefslogtreecommitdiffstats
path: root/ajde.core
diff options
context:
space:
mode:
authoraclement <aclement>2008-12-10 21:37:36 +0000
committeraclement <aclement>2008-12-10 21:37:36 +0000
commit372420d7b8ff3ea2cc74a6b083a962058b9b4c3c (patch)
tree518a6da0df3f998425c29383c43586cf0432a1b9 /ajde.core
parentec5e796a78f98328fff6d732e1fceb8f97999f2a (diff)
downloadaspectj-372420d7b8ff3ea2cc74a6b083a962058b9b4c3c.tar.gz
aspectj-372420d7b8ff3ea2cc74a6b083a962058b9b4c3c.zip
258325: fix
Diffstat (limited to 'ajde.core')
-rw-r--r--ajde.core/testsrc/org/aspectj/ajde/core/TestOutputLocationManager.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/ajde.core/testsrc/org/aspectj/ajde/core/TestOutputLocationManager.java b/ajde.core/testsrc/org/aspectj/ajde/core/TestOutputLocationManager.java
index 7812017ad..b810bb814 100644
--- a/ajde.core/testsrc/org/aspectj/ajde/core/TestOutputLocationManager.java
+++ b/ajde.core/testsrc/org/aspectj/ajde/core/TestOutputLocationManager.java
@@ -15,11 +15,9 @@ import java.util.ArrayList;
import java.util.List;
/**
- * 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 {
@@ -27,7 +25,7 @@ public class TestOutputLocationManager implements IOutputLocationManager {
private File classOutputLoc;
private File resourceOutputLoc;
private List allOutputLocations;
-
+
public TestOutputLocationManager(String testProjectPath) {
this.testProjectOutputPath = testProjectPath + File.separator + "bin";
}
@@ -41,18 +39,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);
@@ -67,7 +65,7 @@ public class TestOutputLocationManager implements IOutputLocationManager {
initLocations();
return classOutputLoc;
}
-
+
private void initLocations() {
if (classOutputLoc == null) {
classOutputLoc = new File(testProjectOutputPath);
@@ -80,6 +78,8 @@ public class TestOutputLocationManager implements IOutputLocationManager {
public String getSourceFolderForFile(File sourceFile) {
return null;
}
-
+
+ public void reportClassFileWrite(String outputfile) {
+ }
}