Examples of DiscardWriter


Examples of httl.test.util.DiscardWriter

  private static final boolean profile = "true".equals(System.getProperty("profile"));

  @Test
  public void testProfile() throws Exception {
    Writer out = new DiscardWriter();
    Collection<Object[]> datas = TemplateTest.prepareData();
    long max = profile ? Long.MAX_VALUE : 1L;
    for (long m = 0; m < max; m ++) {
      for (Object[] data : datas) {
        String config = (String) data[0];
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.