Package ro.isdc.wro.model.resource.processor.impl

Examples of ro.isdc.wro.model.resource.processor.impl.MultiLineCommentStripperProcessor


    map.put(CssMinProcessor.ALIAS, new CssMinProcessor());
    map.put(JSMinProcessor.ALIAS, new JSMinProcessor());
    map.put(VariablizeColorsCssProcessor.ALIAS, new VariablizeColorsCssProcessor());
    map.put(ConformColorsCssProcessor.ALIAS, new ConformColorsCssProcessor());
    map.put(SingleLineCommentStripperProcessor.ALIAS, new SingleLineCommentStripperProcessor());
    map.put(MultiLineCommentStripperProcessor.ALIAS, new MultiLineCommentStripperProcessor());
    map.put(ConsoleStripperProcessor.ALIAS, new ConsoleStripperProcessor());
    map.put(CssUrlAuthorizationProcessor.ALIAS, new CssUrlAuthorizationProcessor());
  }
View Full Code Here


  }
 
  @Test
  public void testFromFolder()
      throws IOException {
    final ResourcePostProcessor processor = new MultiLineCommentStripperProcessor();
   
    final URL url = getClass().getResource("multiline");
   
    final File testFolder = new File(url.getFile(), "test");
    final File expectedFolder = new File(url.getFile(), "expected");
View Full Code Here

    WroTestUtils.compareFromDifferentFoldersByExtension(testFolder, expectedFolder, "*", processor);
  }
 
  @Test
  public void shouldSupportCorrectResourceTypes() {
    WroTestUtils.assertProcessorSupportResourceTypes(new MultiLineCommentStripperProcessor(), ResourceType.CSS,
        ResourceType.JS);
  }
View Full Code Here

TOP

Related Classes of ro.isdc.wro.model.resource.processor.impl.MultiLineCommentStripperProcessor

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.