commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
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;


    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:
For additional commands, e-mail:

View raw message