@Test public void testIsNotMinified() throws Exception { mojo.cssMinifierSuffix = "-minified"; File file = new File("foo.css"); assertThat(mojo.isNotMinified(file)).isTrue(); file = new File("foo-min.css"); assertThat(mojo.isNotMinified(file)).isFalse(); file = new File("foo.min.css"); assertThat(mojo.isNotMinified(file)).isFalse(); file = new File("foo-minified.css"); assertThat(mojo.isNotMinified(file)).isFalse(); }
public boolean isNotMinified(File file) { return !file.getName().endsWith("min.css") && !file.getName().endsWith(cssMinifierSuffix + ".css"); }
CSSMinifierMojo extends AbstractWisdomWatcherMojo { public boolean isNotMinified(File file) { return !file.getName().endsWith("min.css") && !file.getName().endsWith(cssMinifierSuffix + ".css"); } }
CSSMinifierMojo extends AbstractWisdomWatcherMojo { public boolean isNotMinified(File file) { return !file.getName().endsWith("min.css") && !file.getName().endsWith(cssMinifierSuffix + ".css"); }  }
CSSMinifierMojo extends AbstractWisdomWatcherMojo { public boolean isNotMinified(File file) { return !file.getName().endsWith("min.css") && !file.getName().endsWith(cssMinifierSuffix + ".css"); }  @Override void execute(); @Override boolean accept(File file); boolean isNotMinified(File file); @Override boolean fileCreated(File file); @Override boolean fileUpdated(File file); @Override boolean fileDeleted(File file); File getFilteredVersion(File input); }
CSSMinifierMojo extends AbstractWisdomWatcherMojo { public boolean isNotMinified(File file) { return !file.getName().endsWith("min.css") && !file.getName().endsWith(cssMinifierSuffix + ".css"); }  @Override void execute(); @Override boolean accept(File file); boolean isNotMinified(File file); @Override boolean fileCreated(File file); @Override boolean fileUpdated(File file); @Override boolean fileDeleted(File file); File getFilteredVersion(File input); static final String CLEANCSS_NPM_NAME; static final String CLEANCSS_NPM_VERSION; @Parameter(defaultValue = "${skipCleanCSS}")
    public boolean skipCleanCSS; @Parameter(defaultValue = "-min")
    public String cssMinifierSuffix; }