[richfaces-svn-commits] JBoss Rich Faces SVN: r14045 - in trunk/ui/editor/src: test/java/org/richfaces/seamparser and 1 other directory.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed May 6 18:23:28 EDT 2009


Author: nbelaevski
Date: 2009-05-06 18:23:28 -0400 (Wed, 06 May 2009)
New Revision: 14045

Modified:
   trunk/ui/editor/src/main/java/org/richfaces/convert/seamtext/tags/TagFactory.java
   trunk/ui/editor/src/test/java/org/richfaces/seamparser/HtmlSeamParserTest.java
Log:
https://jira.jboss.org/jira/browse/RF-7030

Modified: trunk/ui/editor/src/main/java/org/richfaces/convert/seamtext/tags/TagFactory.java
===================================================================
--- trunk/ui/editor/src/main/java/org/richfaces/convert/seamtext/tags/TagFactory.java	2009-05-06 21:48:34 UTC (rev 14044)
+++ trunk/ui/editor/src/main/java/org/richfaces/convert/seamtext/tags/TagFactory.java	2009-05-06 22:23:28 UTC (rev 14045)
@@ -19,7 +19,6 @@
     public static final String SEAM_STAR = "*";
     public static final String SEAM_UNDERSCORE = "_";
     public static final String SEAM_EQ = "=";
-    public static final String SEAM_BACKTICK = "`";
     public static final String SEAM_DOUBLEQUOTE = "\"";
     public static final String SEAM_LINK_START = "[";
     public static final String SEAM_LINK_END = "]";
@@ -68,7 +67,6 @@
                 }
             },
             
-            getNewTagDefinition(PRE, SEAM_BACKTICK,    SEAM_BACKTICK),
             getNewTagDefinition(Q,   SEAM_DOUBLEQUOTE, SEAM_DOUBLEQUOTE),
             
             new LinkTag(),

Modified: trunk/ui/editor/src/test/java/org/richfaces/seamparser/HtmlSeamParserTest.java
===================================================================
--- trunk/ui/editor/src/test/java/org/richfaces/seamparser/HtmlSeamParserTest.java	2009-05-06 21:48:34 UTC (rev 14044)
+++ trunk/ui/editor/src/test/java/org/richfaces/seamparser/HtmlSeamParserTest.java	2009-05-06 22:23:28 UTC (rev 14045)
@@ -34,11 +34,11 @@
     
     private final static String SEAM_TEXT_EXPRESSION_5 = "You can write down equations like 2\\*3\\+4-7\\=3 and HTML tagslike \\<body\\> using the escape character: \\\\. foo at tut.by, 100$ cash 100%";
     
-    private final static String SEAM_TEXT_EXPRESSION_6 = "My code doesn't work:"
-            + "`for (int i=0; i<100; i--)\n"
-            + "{\n"
-            + "doSomething(){ String str = \"&amp;&nbsp;&gt;&quot; \"; }; doSomething();\n"
-            + "doSomething() " + "}`" + " Any ideas?";
+//    private final static String SEAM_TEXT_EXPRESSION_6 = "My code doesn't work:"
+//            + "`for (int i=0; i<100; i--)\n"
+//            + "{\n"
+//            + "doSomething(){ String str = \"&amp;&nbsp;&gt;&quot; \"; }; doSomething();\n"
+//            + "doSomething() " + "}`" + " Any ideas?";
     
     private final static String SEAM_TEXT_EXPRESSION_7 = "+ test value<h1>test1<h2>test2</h2>test4</h1>\ntest";
     
@@ -122,9 +122,9 @@
         assertSeamConverting(SEAM_TEXT_EXPRESSION_5);
     }
     
-    public void testStandartSeamTextConverting6() throws Exception {
-        assertSeamConverting(SEAM_TEXT_EXPRESSION_6);
-    }
+//    public void testStandartSeamTextConverting6() throws Exception {
+//        assertSeamConverting(SEAM_TEXT_EXPRESSION_6);
+//    }
     
     public void testStandartSeamTextConverting7() throws Exception {
         assertSeamConverting(SEAM_TEXT_EXPRESSION_7);




More information about the richfaces-svn-commits mailing list