diff options
3 files changed, 0 insertions, 27 deletions
diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/complex-template.jar b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/complex-template.jar Binary files differnew file mode 100755 index 000000000..027ea8df2 --- /dev/null +++ b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/complex-template.jar diff --git a/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/simple-template.jar b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/simple-template.jar Binary files differnew file mode 100755 index 000000000..278b679a7 --- /dev/null +++ b/org.tizen.common.verrari.realm/test/src/org/tizen/common/verrari/template/simple-template.jar diff --git a/org.tizen.common.verrari/test/src/org/tizen/common/verrari/engine/freemarker/html/FreemarkerTemplateEngineTest.java b/org.tizen.common.verrari/test/src/org/tizen/common/verrari/engine/freemarker/html/FreemarkerTemplateEngineTest.java index 82f0b653d..cd9b02bc1 100755 --- a/org.tizen.common.verrari/test/src/org/tizen/common/verrari/engine/freemarker/html/FreemarkerTemplateEngineTest.java +++ b/org.tizen.common.verrari/test/src/org/tizen/common/verrari/engine/freemarker/html/FreemarkerTemplateEngineTest.java @@ -542,33 +542,6 @@ public class FreemarkerTemplateEngineTest { assertTrue(result.contains("<link rel=\"stylesheet\" type=\"text/css\" href=\"./css/style.css\"/>")); assertTrue(result.contains("All I Want For Chritsmas Is You")); } - { - // JQM - navigation - section2.html - final ModelManager modelManager = new ModelManager(); - modelManager.addModel("HTMLDescription", ""); - modelManager.addModel("MetaViewport", ""); - modelManager.addModel("MetaDescriptionContent", "JQMNavigationSection2"); - modelManager.addModel("HtmlTitle", "JQMNavigationSection2"); - modelManager.addModel("JQMProject", ""); - modelManager.addModel("JQMCSS", "./css/jquery.mobile-1.1.0.css"); - modelManager.addModel("JQuery", "./js/jquery-1.7.1.js"); - modelManager.addModel("JQMJS", "./js/jquery.mobile-1.1.0.js"); - modelManager.addModel("HTMLJQMNavigationSection2", ""); - - final ByteArrayOutputStream byteOut = new ByteArrayOutputStream(); - engine.generate("HTMLBase", modelManager, byteOut ); - final String result = byteOut.toString(); - assertTrue(0 < result.length()); - assertTrue(result.contains("Copyright")); - assertTrue(result.contains("meta name=\"viewport\"")); - assertTrue(result.contains("JQMNavigationSection2")); - assertTrue(result.contains("./js/jquery-1.7.1.js")); - assertFalse(result.contains("tizen-web-ui-fw-libs.js")); - assertFalse(result.contains("tizen-web-ui-fw.js")); - assertTrue(result.contains("<script type=\"text/javascript\" src=\"./js/main.js\"></script>")); - assertTrue(result.contains("<link rel=\"stylesheet\" type=\"text/css\" href=\"./css/style.css\"/>")); - assertTrue(result.contains("Adam Lambert")); - } } } |