org.junit.runner.manipulation.Sortable Java Examples

The following examples show how to use org.junit.runner.manipulation.Sortable. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JUnit38ClassRunner.java    From android-test with Apache License 2.0 5 votes vote down vote up
@Override
public void sort(Sorter sorter) {
  if (getTest() instanceof Sortable) {
    Sortable adapter = (Sortable) getTest();
    adapter.sort(sorter);
  }
}
 
Example #2
Source File: SafeRunner.java    From nexus-public with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public void sort(final Sorter sorter) {
  if (delegate instanceof Sortable) {
    ((Sortable) delegate).sort(sorter);
  }
}
 
Example #3
Source File: AndroidJUnit4.java    From android-test with Apache License 2.0 4 votes vote down vote up
@Override
public void sort(Sorter sorter) {
  ((Sortable) delegate).sort(sorter);
}
 
Example #4
Source File: AndroidJUnit4.java    From android-test with Apache License 2.0 4 votes vote down vote up
@Override
public void sort(Sorter sorter) {
  ((Sortable) delegate).sort(sorter);
}