1 // Copyright (C) 2000 Paco Gomez
2 // Copyright (C) 2000 - 2009 Philip Aston
3 // All rights reserved.
4 //
5 // This file is part of The Grinder software distribution. Refer to
6 // the file LICENSE which is part of The Grinder distribution for
7 // licensing details. The Grinder distribution is available on the
8 // Internet at http://grinder.sourceforge.net/
9 //
10 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
11 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
12 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
13 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
14 // COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
15 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
16 // (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
17 // SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
18 // HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
19 // STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
20 // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
21 // OF THE POSSIBILITY OF SUCH DAMAGE.
22
23 package net.grinder.common;
24
25
26 /**
27 * In addition to this interface, Test implementations should
28 * implement value based equality and a well defined ordering.
29 *
30 * @author Philip Aston
31 */
32 public interface Test extends Comparable<Test> {
33 /**
34 * Test number. Defines test identity and ordering.
35 * @return The test number.
36 */
37 int getNumber();
38
39 /**
40 * Test description.
41 *
42 * @return The test description.
43 */
44 String getDescription();
45 }