@Test public void testExecute() throws IOException { final FlexMetricsAntTask ant = new FlexMetricsAntTask(); final File outPut = File.createTempFile( "metrics", "output" ); ant.setOutputFile( outPut ); ant.setSourceDirectory( getTestDirectory() ); ant.execute(); }
@Override public final void execute() { new LoggerUtils().loadConfiguration(); validateFields(); try { new FlexMetrics( sourceDirectory, mxmlFactor ).execute( outputFile ); } catch ( final DocumentException e ) { throw new BuildException( e ); } catch ( final IOException e ) { throw new BuildException( e ); } }
FlexMetricsAntTask extends Task { @Override public final void execute() { new LoggerUtils().loadConfiguration(); validateFields(); try { new FlexMetrics( sourceDirectory, mxmlFactor ).execute( outputFile ); } catch ( final DocumentException e ) { throw new BuildException( e ); } catch ( final IOException e ) { throw new BuildException( e ); } } }
FlexMetricsAntTask extends Task { @Override public final void execute() { new LoggerUtils().loadConfiguration(); validateFields(); try { new FlexMetrics( sourceDirectory, mxmlFactor ).execute( outputFile ); } catch ( final DocumentException e ) { throw new BuildException( e ); } catch ( final IOException e ) { throw new BuildException( e ); } }  }
FlexMetricsAntTask extends Task { @Override public final void execute() { new LoggerUtils().loadConfiguration(); validateFields(); try { new FlexMetrics( sourceDirectory, mxmlFactor ).execute( outputFile ); } catch ( final DocumentException e ) { throw new BuildException( e ); } catch ( final IOException e ) { throw new BuildException( e ); } }  @Override final void execute(); void setMxmlFactor( final double mxmlFactorToBeSet ); final void setOutputFile( final File outputFileToBeSet ); final void setSourceDirectory( final File sourceDirectoryToBeSet ); }
FlexMetricsAntTask extends Task { @Override public final void execute() { new LoggerUtils().loadConfiguration(); validateFields(); try { new FlexMetrics( sourceDirectory, mxmlFactor ).execute( outputFile ); } catch ( final DocumentException e ) { throw new BuildException( e ); } catch ( final IOException e ) { throw new BuildException( e ); } }  @Override final void execute(); void setMxmlFactor( final double mxmlFactorToBeSet ); final void setOutputFile( final File outputFileToBeSet ); final void setSourceDirectory( final File sourceDirectoryToBeSet );  }