commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <billwbar...@verizon.net>
Subject Re: [MATH] Remove unnecessary suite() methods from test classes?
Date Sat, 23 Jan 2010 02:13:44 GMT


--------------------------------------------------
From: "sebb" <sebbaz@gmail.com>
Sent: Friday, January 22, 2010 6:21 AM
To: "Commons Developers List" <dev@commons.apache.org>
Subject: [MATH] Remove unnecessary suite() methods from test classes?

> 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?
>

+1

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

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


Mime
View raw message