public void testSingleDir() throws Exception {
  JFlexMojo mojo=newMojo("single-dir-test");
  mojo.execute();
  File produced=getExpectedOutputFile(mojo);
  assertTrue("produced file is a file: " + produced,produced.isFile());
}

public void testSingleDir ( ) throws Exception { JFlexMojo mojo = newMojo ( "single-dir-test" ) ; mojo . execute ( ) ; File produced = getExpectedOutputFile ( mojo ) ; assertTrue ( "produced file is a file: " + produced , produced . isFile ( ) ) ; }
tests configuration with a single input directory .
