diff options
author | changhyun1.lee <changhyun1.lee@samsung.com> | 2014-04-17 12:26:46 +0900 |
---|---|---|
committer | changhyun1.lee <changhyun1.lee@samsung.com> | 2014-04-17 12:26:46 +0900 |
commit | b3ba02121ead53bd240d0542866493b5d165f039 (patch) | |
tree | 9b1a16124becc8414d4ffcbe15addcd24143ae6a | |
parent | 482b36d9d89dbd3b734faacf9b666cc3349c10a4 (diff) | |
download | common-eplugin-b3ba02121ead53bd240d0542866493b5d165f039.tar.gz common-eplugin-b3ba02121ead53bd240d0542866493b5d165f039.tar.bz2 common-eplugin-b3ba02121ead53bd240d0542866493b5d165f039.zip |
UNITTEST: Fixed unittest fail
Change-Id: I219691e4f8f2b68149b240926dc162394449517c
Signed-off-by: changhyun1.lee <changhyun1.lee@samsung.com>
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")); - } } } |