Package org.apache.ant.antunit.junit3
Class AntUnitSuite.MyProjectFactory
java.lang.Object
org.apache.ant.antunit.junit3.AntUnitSuite.MyProjectFactory
- All Implemented Interfaces:
ProjectFactory
- Enclosing class:
- AntUnitSuite
The antscript project factory that creates projects in a junit context.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final PrintStream
private final PrintStream
private final File
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.tools.ant.Project
Creates a new project instance and configures it according to the execution context.
-
Field Details
-
scriptFile
-
realStdErr
-
realStdOut
-
-
Constructor Details
-
MyProjectFactory
-
-
Method Details
-
createProject
public org.apache.tools.ant.Project createProject()Description copied from interface:ProjectFactory
Creates a new project instance and configures it according to the execution context.- Specified by:
createProject
in interfaceProjectFactory
- Returns:
- a new project
-