JFlexTask extends Task { public void setSkipMinimization(boolean skipMin) { setNomin(skipMin); } JFlexTask(); @Override void execute(); void findPackageAndClass(); void normalizeOutdir(); String getPackage(); String getClassName(); void setDestdir(File destinationDir); void setOutdir(File outDir); void setFile(File file); void setGenerateDot(boolean genDot); void setTimeStatistics(boolean displayTime); void setTime(boolean displayTime); final void setVerbose(boolean verbose); final void setUnusedWarning(boolean warn); void setSkeleton(File skeleton); void setSkel(File skeleton); void setSkipMinimization(boolean skipMin); void setNomin(boolean b); void setNobak(boolean b); void setPack(boolean b); void setDot(boolean b); void setDump(boolean b); void setJLex(boolean b); void setLegacyDot(boolean b); void setEncoding(String encodingName);  }
@Test public void testSkipMinimization() { assertThat(!Options.no_minimize).isTrue(); task.setSkipMinimization(true); assertThat(Options.no_minimize).isTrue(); }