/*
 * 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;

import junit.framework.Test;
import junit.framework.TestCase;

import org.xwiki.rendering.scaffolding.RenderingPlexusTestSetup;
import org.xwiki.rendering.scaffolding.RenderingTestSuite;

/**
 * All Rendering integration tests defined in text files using a special format.
 * 
 * @version $Id$
 * @since 1.8M1
 */
public class RenderingTests extends TestCase
{
    public static Test suite() throws Exception
    {
        RenderingTestSuite suite = new RenderingTestSuite("Test XWiki1.0 -> XWiki2.0 conversion");

        /*
        // Velocity comments
        suite.addTestsFromResource("velocity/velocity1", false);
        suite.addTestsFromResource("velocity/velocity2", false);

        // Velocity Macros
        suite.addTestsFromResource("macros/velocity/include1", false);
        suite.addTestsFromResource("macros/velocity/toc1", false);

        // Radeox Macros
        suite.addTestsFromResource("macros/radeox/attach1", false);
        suite.addTestsFromResource("macros/radeox/image1", false);
        suite.addTestsFromResource("macros/radeox/code1", false);
        suite.addTestsFromResource("macros/radeox/table1", false);

        suite.addTestsFromResource("pre/pre1", false);

        // Wiki syntaxes
        suite.addTestsFromResource("bold/bold1", false);
        suite.addTestsFromResource("italic/italic1", false);
        suite.addTestsFromResource("link/link1", false);
        suite.addTestsFromResource("list/list1", false);
        suite.addTestsFromResource("section/section1", false);
        */
        
        suite.addTestsFromResource("macros/velocity/include1", false);
        
        return new RenderingPlexusTestSetup(suite);
    }
}

@@ -1436,19 +1436,8 @@
 );%0A%0A
-        /*%0A
     
@@ -2432,107 +2432,8 @@
 e);%0A
-        */%0A        %0A        suite.addTestsFromResource(%22macros/velocity/include1%22, false);%0A        
 %0A   

Write automatic converter from XWiki Syntax 1.0 to XWiki Syntax 2.0 * fix new line conversions