[jboss-cvs] jboss-seam/src/test/misc/org/jboss/seam/test ...
Gavin King
gavin.king at jboss.com
Fri Jan 26 11:04:37 EST 2007
User: gavin
Date: 07/01/26 11:04:37
Modified: src/test/misc/org/jboss/seam/test SeamTextTest.java
SeamTextTest.txt
Log:
rename classes
Revision Changes Path
1.2 +4 -4 jboss-seam/src/test/misc/org/jboss/seam/test/SeamTextTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamTextTest.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/test/misc/org/jboss/seam/test/SeamTextTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- SeamTextTest.java 12 Jan 2007 16:50:53 -0000 1.1
+++ SeamTextTest.java 26 Jan 2007 16:04:37 -0000 1.2
@@ -3,15 +3,15 @@
import java.io.InputStreamReader;
import java.io.Reader;
-import org.jboss.seam.text.L;
-import org.jboss.seam.text.P;
+import org.jboss.seam.text.SeamTextLexer;
+import org.jboss.seam.text.SeamTextParser;
public class SeamTextTest
{
public static void main(String[] args) throws Exception {
Reader r = new InputStreamReader( SeamTextTest.class.getResourceAsStream("SeamTextTest.txt") );
- L lexer = new L(r);
- P parser = new P(lexer);
+ SeamTextLexer lexer = new SeamTextLexer(r);
+ SeamTextParser parser = new SeamTextParser(lexer);
parser.startRule();
System.out.println(parser);
}
1.5 +2 -0 jboss-seam/src/test/misc/org/jboss/seam/test/SeamTextTest.txt
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SeamTextTest.txt
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/test/misc/org/jboss/seam/test/SeamTextTest.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- SeamTextTest.txt 17 Jan 2007 02:52:44 -0000 1.4
+++ SeamTextTest.txt 26 Jan 2007 16:04:37 -0000 1.5
@@ -70,6 +70,8 @@
We use HTML for <a href="http://www.hibernate.org/">links</a>.
+Or we can use [a special syntax!=>http://jboss.com/products/seam]
+
And for images: <img src="http://www.hibernate.org/tpl/jboss/img/01_oben_logo.gif"/>
And even for more exotic formatting, for example:
More information about the jboss-cvs-commits
mailing list