Re: [xwiki-devs] [xwiki-notifications] r14879 - in platform/core/trunk/xwiki-rendering/src/test: java/org/xwiki/rendering resources/list
tmortagne (SVN) wrote:
Author: tmortagne Date: 2008-12-19 15:33:02 +0100 (Fri, 19 Dec 2008) New Revision: 14879
Added: platform/core/trunk/xwiki-rendering/src/test/resources/list/list10.test Modified: platform/core/trunk/xwiki-rendering/src/test/java/org/xwiki/rendering/RenderingTests.java Log: XWIKI-3006: All spaces at the begining of a list item content are consummed by the parser. * add unit test
+ suite.addTestsFromResource("list/list10", false);
Why is there a need to manually add test cases? Why don't we just use all the test cases available? -- Sergiu Dumitriu http://purl.org/net/sergiu/
On Dec 21, 2008, at 5:35 AM, Sergiu Dumitriu wrote:
tmortagne (SVN) wrote:
Author: tmortagne Date: 2008-12-19 15:33:02 +0100 (Fri, 19 Dec 2008) New Revision: 14879
Added: platform/core/trunk/xwiki-rendering/src/test/resources/list/ list10.test Modified: platform/core/trunk/xwiki-rendering/src/test/java/org/xwiki/ rendering/RenderingTests.java Log: XWIKI-3006: All spaces at the begining of a list item content are consummed by the parser. * add unit test
+ suite.addTestsFromResource("list/list10", false);
Why is there a need to manually add test cases? Why don't we just use all the test cases available?
I agree it's just not been done. We should look for all resources in the classpath that end with ".test" and add them automatically. Thanks -Vincent
participants (2)
-
Sergiu Dumitriu -
Vincent Massol