Java 类org.junit.runner.manipulation.Sortable 实例源码

项目:jicunit    文件:JicUnitRunner.java   
@Override
public void sort(Sorter sorter) {
  // it is not sure that the custom runner support sorting so sorting is done
  // here too.
  if (mRunner instanceof Sortable) {
    Sortable sortableRunner = (Sortable) mRunner;
    sortableRunner.sort(sorter);
  }
}
项目:sosiefier    文件:JUnit38ClassRunner.java   
public void sort(Sorter sorter) {
    if (getTest() instanceof Sortable) {
        Sortable adapter = (Sortable) getTest();
        adapter.sort(sorter);
    }
}
项目:lcm    文件:JUnit38ClassRunner.java   
public void sort(Sorter sorter) {
    if (getTest() instanceof Sortable) {
        Sortable adapter = (Sortable) getTest();
        adapter.sort(sorter);
    }
}
项目:junit    文件:JUnit38ClassRunner.java   
public void sort(Sorter sorter) {
    if (getTest() instanceof Sortable) {
        Sortable adapter = (Sortable) getTest();
        adapter.sort(sorter);
    }
}
项目:org.openntf.domino    文件:JUnit38ClassRunner.java   
public void sort(Sorter sorter) {
    if (getTest() instanceof Sortable) {
        Sortable adapter = (Sortable) getTest();
        adapter.sort(sorter);
    }
}