vmassol (SVN) wrote:
Author: vmassol
Date: 2008-06-20 23:05:25 +0200 (Fri, 20 Jun 2008)
New Revision: 10529
Modified:
xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/java/org/xwiki/rendering/parser/DefaultSyntaxFactoryTest.java
Log:
XWIKI-654: Rewrite the Rendering engine
* Fixed failing tests, sorry guys...
Modified:
xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/java/org/xwiki/rendering/parser/DefaultSyntaxFactoryTest.java
===================================================================
---
xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/java/org/xwiki/rendering/parser/DefaultSyntaxFactoryTest.java 2008-06-20
21:04:21 UTC (rev 10528)
+++
xwiki-platform/core/trunk/xwiki-rendering/xwiki-rendering-tests/src/test/java/org/xwiki/rendering/parser/DefaultSyntaxFactoryTest.java 2008-06-20
21:05:25 UTC (rev 10529)
@@ -29,7 +29,7 @@
{
SyntaxFactory syntaxFactory = (SyntaxFactory)
getComponentManager().lookup(SyntaxFactory.ROLE);
List<Syntax> syntaxes = syntaxFactory.getAvailableSyntaxes();
- assertEquals(6, syntaxes.size());
+ assertEquals(7, syntaxes.size());
}
public void testCreateSyntaxFromSyntaxIdString() throws Exception
I don't get this test... Why do we verify the number of syntaxes??
--
Sergiu Dumitriu
http://purl.org/net/sergiu/