git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@374479 13f79535-47bb-0310-9956-ffa450edef68master
@@ -49,17 +49,6 @@ public class DynamicFilterTest extends BuildFileTest { | |||||
// Helper methods | // Helper methods | ||||
// ----------------------------------------------------- | // ----------------------------------------------------- | ||||
private void assertStringContains(String string, String contains) { | |||||
assertTrue("[" + string + "] does not contain [" + contains +"]", | |||||
string.indexOf(contains) > -1); | |||||
} | |||||
private void assertStringNotContains(String string, String contains) { | |||||
assertTrue("[" + string + "] does contain [" + contains +"]", | |||||
string.indexOf(contains) == -1); | |||||
} | |||||
private String getFileString(String filename) | private String getFileString(String filename) | ||||
throws IOException | throws IOException | ||||
{ | { | ||||
@@ -74,13 +63,6 @@ public class DynamicFilterTest extends BuildFileTest { | |||||
} | } | ||||
private String getFileString(String target, String filename) | |||||
throws IOException | |||||
{ | |||||
executeTarget(target); | |||||
return getFileString(filename); | |||||
} | |||||
private void expectFileContains(String name, String contains) | private void expectFileContains(String name, String contains) | ||||
throws IOException | throws IOException | ||||
{ | { | ||||
@@ -42,19 +42,6 @@ public class RmicTest extends TestCase { | |||||
rmic.setProject(project); | rmic.setProject(project); | ||||
} | } | ||||
/** | |||||
* test for a compiler class existing | |||||
* @param compilerClass | |||||
* @return | |||||
*/ | |||||
private boolean hasCompiler(String compilerClass) { | |||||
try { | |||||
Class.forName(compilerClass); | |||||
return true; | |||||
} catch (ClassNotFoundException cnfe) { | |||||
return false; | |||||
} | |||||
} | |||||
/** | /** | ||||
* Test nested compiler args. | * Test nested compiler args. | ||||
*/ | */ | ||||
@@ -24,7 +24,6 @@ import java.text.RuleBasedCollator; | |||||
import java.util.Comparator; | import java.util.Comparator; | ||||
import java.util.Iterator; | import java.util.Iterator; | ||||
import org.apache.tools.ant.BuildEvent; | |||||
import org.apache.tools.ant.BuildException; | import org.apache.tools.ant.BuildException; | ||||
import org.apache.tools.ant.Project; | import org.apache.tools.ant.Project; | ||||
import org.apache.tools.ant.Target; | import org.apache.tools.ant.Target; | ||||
@@ -1017,17 +1016,6 @@ public class ModifiedSelectorTest extends BaseSelectorTest { | |||||
public void fireTaskFinished() { | public void fireTaskFinished() { | ||||
super.fireTaskFinished(task, null); | super.fireTaskFinished(task, null); | ||||
} | } | ||||
private void fireMessageLoggedEvent(BuildEvent event, String message, int priority) { | |||||
} | |||||
private void fireMessageLoggedProject(String message) { | |||||
super.fireMessageLogged(this, message, Project.MSG_INFO); | |||||
} | |||||
private void fireMessageLoggedTarget(String message) { | |||||
super.fireMessageLogged(target, message, Project.MSG_INFO); | |||||
} | |||||
private void fireMessageLoggedTask(String message) { | |||||
super.fireMessageLogged(task, message, Project.MSG_INFO); | |||||
} | |||||
}//class-MockProject | }//class-MockProject | ||||