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
private static class AntUnitSuite.MyProjectFactory extends java.lang.Object implements ProjectFactory
The antscript project factory that creates projects in a junit context.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.PrintStream
realStdErr
private java.io.PrintStream
realStdOut
private java.io.File
scriptFile
-
Constructor Summary
Constructors Constructor Description MyProjectFactory(java.io.File scriptFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.tools.ant.Project
createProject()
Creates a new project instance and configures it according to the execution context.
-
-
-
Method Detail
-
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
-
-