private void setupTestProperties( JUnitTask junit, Project project )
private void setupTestProperties( JUnitTask junit, Project project, File working )
    private void setupTestProperties( JUnitTask junit, Project project )    {        File base = project.getBaseDir();        final File properties = new File( base, "test.properties" );        if( properties.exists() )        {            Properties props = new Properties();            try            {                InputStream input = new FileInputStream( properties );                props.load( input );                Enumeration enumeration = props.propertyNames();                while( enumeration.hasMoreElements() )                {                    String name = (String) enumeration.nextElement();                    final Environment.Variable v = new Environment.Variable();                    v.setKey( name );                    String propertyValue = props.getProperty( name );                    String parsedValue = getContext().getResource().resolve( propertyValue );                    v.setValue( parsedValue );                    junit.addConfiguredSysproperty( v );                }            }            catch( IOException ioe )            {                final String error =                   "Unexpected IO error while reading " + properties.toString();                throw new BuildException( error, ioe, getLocation() );            }        }    }