[xwiki-notifications] r10966 - in xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test: java/org/xwiki/rendering/renderer resources
vmassol (SVN)
notifications at xwiki.org
Tue Jul 1 11:35:55 CEST 2008
Author: vmassol
Date: 2008-07-01 11:35:55 +0200 (Tue, 01 Jul 2008)
New Revision: 10966
Added:
xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/java/org/xwiki/rendering/renderer/TexRendererTestSuite.java
xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/resources/paragraph-TexRenderer.expected
Log:
XWIKI-2508: Firm up the new rendering module implementation
* Started adding a TeX Renderer based on wikimodel's Tex Serializer implementation.
* Added test scaffolding for Tex Renderer tests but they're failing due to a bug/limitation in wikimodel. See http://code.google.com/p/wikimodel/issues/list?ts=1214904941&thanks=24
Added: xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/java/org/xwiki/rendering/renderer/TexRendererTestSuite.java
===================================================================
--- xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/java/org/xwiki/rendering/renderer/TexRendererTestSuite.java (rev 0)
+++ xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/java/org/xwiki/rendering/renderer/TexRendererTestSuite.java 2008-07-01 09:35:55 UTC (rev 10966)
@@ -0,0 +1,46 @@
+/*
+ * See the NOTICE file distributed with this work for additional
+ * information regarding copyright ownership.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.xwiki.rendering.renderer;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+
+import org.xwiki.rendering.parser.Syntax;
+import org.xwiki.rendering.parser.SyntaxType;
+import org.xwiki.rendering.scaffolding.ParserListenerTestSuite;
+import org.xwiki.rendering.wikimodel.renderer.TexRenderer;
+
+/**
+ * @version $Id: $
+ * @since 1.5RC1
+ */
+public class TexRendererTestSuite extends TestCase
+{
+ public static Test suite() throws Exception
+ {
+ Syntax syntax = new Syntax(SyntaxType.XWIKI, "2.0");
+
+ ParserListenerTestSuite suite = new ParserListenerTestSuite("Test the TeX Renderer");
+ // TODO: Right now the first test doesn't pass so we have to comment out the tests...
+ //suite.addTestSuite(syntax, TexRenderer.class);
+
+ return suite;
+ }
+}
\ No newline at end of file
Property changes on: xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/java/org/xwiki/rendering/renderer/TexRendererTestSuite.java
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/resources/paragraph-TexRenderer.expected
===================================================================
--- xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/resources/paragraph-TexRenderer.expected (rev 0)
+++ xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/resources/paragraph-TexRenderer.expected 2008-07-01 09:35:55 UTC (rev 10966)
@@ -0,0 +1 @@
+xxx
\ No newline at end of file
More information about the notifications
mailing list