Package ro.isdc.wro.model.resource.support.hash

Examples of ro.isdc.wro.model.resource.support.hash.MD5HashStrategy


  @Test
  public void testMD5Fingerprint()
      throws Exception {
    final WroManagerFactory factory = new BaseWroManagerFactory().setModelFactory(getValidModelFactory()).setHashStrategy(
        new MD5HashStrategy());
    final WroManager manager = factory.create();
    final String path = manager.encodeVersionIntoGroupPath("g3", ResourceType.CSS, true);
    assertEquals("9394d6cdd0a75a5f695c84eda410103f/g3.css?minimize=true", path);
  }
View Full Code Here

TOP

Related Classes of ro.isdc.wro.model.resource.support.hash.MD5HashStrategy

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.