carbidecpp20devenv/plugins/org.eclipse.test.source_3.3.0.v20080507/src/org.junit4_4.3.1/junitsrc/org/junit/runner/manipulation/Sortable.java
equal
deleted
inserted
replaced
|
1 package org.junit.runner.manipulation; |
|
2 |
|
3 /** |
|
4 * Interface for runners that allow sorting of tests. By sorting tests based on when they last failed, most recently |
|
5 * failed first, you can reduce the average time to the first test failing. Test sorting should not be used to |
|
6 * cope with order dependencies between tests. Tests that are isolated from each other are less |
|
7 * expensive to maintain and can be run individually. |
|
8 */ |
|
9 public interface Sortable { |
|
10 |
|
11 /** |
|
12 * Sorts the tests using <code>sorter</code> |
|
13 * @param sorter the {@link Sorter} to use for sorting the tests |
|
14 */ |
|
15 public void sort(Sorter sorter); |
|
16 |
|
17 } |