commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject [MATH] Remove unnecessary suite() methods from test classes?
Date Fri, 22 Jan 2010 14:21:39 GMT
There are a lot of src/test classes that contain a suite() method of the form:

    public static Test suite() {
        TestSuite suite = new TestSuite(SparseRealVectorTest.class);
        suite.setName("SparseRealVector Tests");
        return suite;
    }

or

    public static Test suite() {
        return new TestSuite(TriDiagonalTransformerTest.class);
    }


Seems to me that these methods add little or no benefit to the code,
and could just be removed.

Any objections?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message