Package org.bladerunnerjs.plugin.plugins.bundlers.compositejs

Examples of org.bladerunnerjs.plugin.plugins.bundlers.compositejs.MinifierSetting


  }
 
  @Test
  public void settingsHasDefaultValues()
  {
    minifierSettings = new MinifierSetting(settings);
   
    assertEquals("none", minifierSettings.devSetting());
    assertEquals("combined", minifierSettings.prodSetting());
  }
View Full Code Here


  @Test
  public void settingsCanBeOverriden()
  {
    settings.put("dev-minifier", "combined");
    settings.put("prod-minifier", "closure-simple");
    minifierSettings = new MinifierSetting(settings);
   
    assertEquals("combined", minifierSettings.devSetting());
    assertEquals("closure-simple", minifierSettings.prodSetting());
  }
View Full Code Here

  @Test
  public void settingsCanOnlyBeDefinedWithCorrectNamecase()
  {
    settings.put("Dev-minifier", "combined");
    settings.put("Prod-minifier", "closure-simple");
    minifierSettings = new MinifierSetting(settings);
   
    assertEquals("none", minifierSettings.devSetting());
    assertEquals("combined", minifierSettings.prodSetting());
  }
View Full Code Here

TOP

Related Classes of org.bladerunnerjs.plugin.plugins.bundlers.compositejs.MinifierSetting

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.