/*
    StatCvs - CVS statistics generation 
    Copyright (C) 2002  Lukasz Pekacki <lukasz@pekacki.de>
    http://statcvs.sf.net/
    
    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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    
	$RCSfile: AllTests.java,v $ 
	Created on $Date: 2002/08/23 14:49:29 $ 
*/
package net.sf.statcvs;

import java.util.logging.Level;
import java.util.logging.Logger;

import junit.framework.Test;
import junit.framework.TestSuite;
import junit.textui.TestRunner;

/**
 * JUnit Test suite containing all tests for StatCvs.
 * 
 * @author Manuel Schulze
 * @version $Id: AllTests.java,v 1.13 2002/08/23 14:49:29 cyganiak Exp $
 */
public class AllTests {

	/**
	 * Method suite.
	 * @return Test suite
	 */
	public static Test suite() {
		Logger.getLogger("net.sf.statcvs").setLevel(Level.OFF);
		TestSuite suite = new TestSuite("Test for net.sf.statcvs");
		//$JUnit-BEGIN$
		suite.addTest(net.sf.statcvs.input.AllTests.suite());
		suite.addTest(net.sf.statcvs.model.AllTests.suite());		
		suite.addTest(net.sf.statcvs.util.AllTests.suite());		
		suite.addTest(net.sf.statcvs.renderer.AllTests.suite());		
		suite.addTest(net.sf.statcvs.reportmodel.AllTests.suite());		
		suite.addTest(net.sf.statcvs.output.AllTests.suite());		
		//$JUnit-END$
		return suite;
	}
	
	/**
	 * Runs all StatCvs unit tests with the text TestRunner
	 * @param args Ignored.
	 */
	public static void main(String[] args) {
		TestRunner.run(suite());
	}
}

