Package httl.test.model

Examples of httl.test.model.Model


    context.put("intmap", intmap);
    context.put("begin", 3);
    context.put("end", 7);
    context.put("logined", true);

    Model model = new Model();
    model.setChinese("中文");
    model.setImpvar("abcxyz");
    model.setDefvar("mnnm");
    model.setHtml("<a href=\"foo.html\">foo</a>");
    model.user = user; // public field test
    model.setBooks(books);
    model.setBooklist(Arrays.asList(books));
    model.setBookmap(bookmap);
    model.setMapbookmap(mapbookmap);
    model.setMapbooklist(mapbooklist);
    model.setEmptybooks(new Book[0]);
    model.setBooks2(books2);
    model.setBooklist2(Arrays.asList(books2));
    model.setBookmap2(bookmap2);
    model.setIntmap(intmap);
    model.setBegin(3);
    model.setEnd(7);
    model.setLogined(true);

      final List<Object[]> retTestData = new ArrayList<Object[]>();
    String[] configs = new String[] { "httl.properties", "httl-comment.properties", "httl-comment-text.properties", "httl-comment-javassist.properties", "httl-comment-compile.properties", "httl-comment-interpret.properties", "httl-attribute.properties", "httl-velocity.properties" };
    for (String config : configs) {
     
View Full Code Here

TOP

Related Classes of httl.test.model.Model

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.