public void testSingleFile() throws Exception {
  JFlexMojo mojo=newMojo("single-file-test");
  mojo.execute();
  File produced=getExpectedOutputFile(mojo);
  assertTrue("produced file is a file: " + produced,produced.isFile());
  long size=produced.length();
  boolean correctSize=(size > 26624) && (size < 36696);
  assertTrue("size of produced file between 26k and 36k. Actual is " + size,correctSize);
}

public void testSingleFile ( ) throws Exception { JFlexMojo mojo = newMojo ( "single-file-test" ) ; mojo . execute ( ) ; File produced = getExpectedOutputFile ( mojo ) ; assertTrue ( "produced file is a file: " + produced , produced . isFile ( ) ) ; long size = produced . length ( ) ; boolean correctSize = ( size > 26624 ) && ( size < 36696 ) ; assertTrue ( "size of produced file between 26k and 36k. Actual is " + size , correctSize ) ; }
tests configuration with a single input file .
