/* ===========================================================
 * JFreeChart : a free chart library for the Java(tm) platform
 * ===========================================================
 *
 * (C) Copyright 2000-2013, by Object Refinery Limited and Contributors.
 *
 * Project Info:  http://www.jfree.org/jfreechart/index.html
 *
 * This library 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 library 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 library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
 * USA.
 *
 * [Oracle and Java are registered trademarks of Oracle and/or its affiliates. 
 * Other names may be trademarks of their respective owners.]
 *
 * ------------------------
 * JFreeChartTestSuite.java
 * ------------------------
 * (C) Copyright 2002-2009, by Object Refinery Limited.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   -;
 *
 * Changes:
 * --------
 * 11-Jun-2002 : Version 1 (DG);
 * 30-Sep-2002 : Added tests for com.jrefinery.data (DG);
 * 17-Oct-2002 : Fixed errors reported by Checkstyle (DG);
 * 13-Mar-2003 : Added tests for new com.jrefinery.data.time package (DG);
 * 17-Feb-2004 : Added tests for org.jfree.chart.title package (DG);
 * 20-May-2004 : Added tests for org.jfree.chart.entity package (DG);
 * 30-Jul-2004 : Added tests for org.jfree.data.gantt package (DG);
 * 23-Aug-2004 : Restructured org.jfree.data (DG);
 * 18-Jan-2005 : Added main() method (DG);
 * 08-Jun-2005 : Added tests for org.jfree.chart.needle package (DG);
 * 26-Jan-2007 : Added tests for org.jfree.data.time.ohlc package (DG);
 * 24-Oct-2007 : Added tests for org.jfree.chart.plot.dial package (DG);
 * 25-Mar-2009 : Added missing test suite (org.jfree.data.general) (DG);
 * 28-May-2009 : Added tests for org.jfree.data.function package (DG);
 *
 */

package org.jfree.chart;

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

import org.jfree.chart.annotations.AnnotationsPackageTests;
import org.jfree.chart.axis.AxisPackageTests;
import org.jfree.chart.block.BlockPackageTests;
import org.jfree.chart.entity.EntityPackageTests;
import org.jfree.chart.labels.LabelsPackageTests;
import org.jfree.chart.needle.NeedlePackageTests;
import org.jfree.chart.plot.dial.DialPackageTests;
import org.jfree.chart.plot.PlotPackageTests;
import org.jfree.chart.renderer.category.RendererCategoryPackageTests;
import org.jfree.chart.renderer.RendererPackageTests;
import org.jfree.chart.renderer.xy.RendererXYPackageTests;
import org.jfree.chart.title.TitlePackageTests;
import org.jfree.chart.urls.UrlsPackageTests;
import org.jfree.data.category.DataCategoryPackageTests;
import org.jfree.data.function.DataFunctionPackageTests;
import org.jfree.data.gantt.DataGanttPackageTests;
import org.jfree.data.general.DataGeneralPackageTests;
import org.jfree.data.DataPackageTests;
import org.jfree.data.statistics.DataStatisticsPackageTests;
import org.jfree.data.time.DataTimePackageTests;
import org.jfree.data.time.ohlc.OHLCPackageTests;
import org.jfree.data.xy.DataXYPackageTests;

/**
 * A test suite for the JFreeChart class library that can be run using
 * JUnit (<code>http://www.junit.org<code>).
 */
public class JFreeChartTestSuite extends TestCase {

    /**
     * Returns a test suite to the JUnit test runner.
     *
     * @return The test suite.
     */
    public static Test suite() {
        TestSuite suite = new TestSuite("JFreeChart");
        suite.addTest(ChartPackageTests.suite());
        suite.addTest(AnnotationsPackageTests.suite());
        suite.addTest(AxisPackageTests.suite());
        suite.addTest(BlockPackageTests.suite());
        suite.addTest(EntityPackageTests.suite());
        suite.addTest(LabelsPackageTests.suite());
        suite.addTest(NeedlePackageTests.suite());
        suite.addTest(PlotPackageTests.suite());
        suite.addTest(DialPackageTests.suite());
        suite.addTest(RendererPackageTests.suite());
        suite.addTest(RendererCategoryPackageTests.suite());
        suite.addTest(RendererXYPackageTests.suite());
        suite.addTest(TitlePackageTests.suite());
        suite.addTest(UrlsPackageTests.suite());
        suite.addTest(DataPackageTests.suite());
        suite.addTest(DataCategoryPackageTests.suite());
        suite.addTest(DataFunctionPackageTests.suite());
        suite.addTest(DataGanttPackageTests.suite());
        suite.addTest(DataGeneralPackageTests.suite());
        suite.addTest(DataStatisticsPackageTests.suite());
        suite.addTest(DataTimePackageTests.suite());
        suite.addTest(OHLCPackageTests.suite());
        suite.addTest(DataXYPackageTests.suite());
         return suite;
    }

    /**
     * Runs the test suite using JUnit's text-based runner.
     *
     * @param args  ignored.
     */
    public static void main(String[] args) {
        junit.textui.TestRunner.run(suite());
    }

}

@@ -3175,473 +3175,8 @@
 sts;
-%0Aimport org.jfree.data.category.DataCategoryPackageTests;%0Aimport org.jfree.data.function.DataFunctionPackageTests;%0Aimport org.jfree.data.gantt.DataGanttPackageTests;%0Aimport org.jfree.data.general.DataGeneralPackageTests;%0Aimport org.jfree.data.DataPackageTests;%0Aimport org.jfree.data.statistics.DataStatisticsPackageTests;%0Aimport org.jfree.data.time.DataTimePackageTests;%0Aimport org.jfree.data.time.ohlc.OHLCPackageTests;%0Aimport org.jfree.data.xy.DataXYPackageTests;
 %0A%0A/*
@@ -4274,493 +4274,8 @@
 ));%0A
-        suite.addTest(DataPackageTests.suite());%0A        suite.addTest(DataCategoryPackageTests.suite());%0A        suite.addTest(DataFunctionPackageTests.suite());%0A        suite.addTest(DataGanttPackageTests.suite());%0A        suite.addTest(DataGeneralPackageTests.suite());%0A        suite.addTest(DataStatisticsPackageTests.suite());%0A        suite.addTest(DataTimePackageTests.suite());%0A        suite.addTest(OHLCPackageTests.suite());%0A        suite.addTest(DataXYPackageTests.suite());%0A
     

Convert to JUnit 4.11