org.apache.tools.ant.taskdefs
Class TaskdefsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.tools.ant.taskdefs.TaskdefsTest
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
DbUnitTaskTest

public abstract class TaskdefsTest
extends junit.framework.TestCase

Author:
Nico Seessle

Field Summary
protected  org.apache.tools.ant.Project project
           
 
Constructor Summary
TaskdefsTest(String name)
           
 
Method Summary
protected  void configureProject(String filename)
           
protected  void executeTarget(String targetName)
           
protected  void expectBuildException(String taskname, String cause)
           
protected  void expectLog(String taskname, String log)
           
protected  void expectOutput(String taskname, String output)
           
protected  void expectOutputAndError(String taskname, String output, String error)
           
protected  void expectSpecificBuildException(String taskname, String cause, String msg)
           
protected  String getError()
           
protected  String getFullLog()
           
protected  String getLog()
           
protected  String getOutput()
           
protected  File getProjectDir()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

project

protected org.apache.tools.ant.Project project
Constructor Detail

TaskdefsTest

public TaskdefsTest(String name)
Method Detail

getLog

protected String getLog()

getFullLog

protected String getFullLog()

expectBuildException

protected void expectBuildException(String taskname,
                                    String cause)

expectOutput

protected void expectOutput(String taskname,
                            String output)

expectOutputAndError

protected void expectOutputAndError(String taskname,
                                    String output,
                                    String error)

expectLog

protected void expectLog(String taskname,
                         String log)

getOutput

protected String getOutput()

getError

protected String getError()

configureProject

protected void configureProject(String filename)

executeTarget

protected void executeTarget(String targetName)

getProjectDir

protected File getProjectDir()

expectSpecificBuildException

protected void expectSpecificBuildException(String taskname,
                                            String cause,
                                            String msg)


Copyright © 2002-2012. All Rights Reserved.