</BUG>
if (JUnitStarter.SM_RUNNER) {
myTestsListener = new SMTestSender();
} else {
<BUG>myRegistry = new JUnit4OutputObjectRegistry(segmentedOut, lastIdx);
</BUG>
myTestsListener = new JUnit4TestResultsSender(myRegistry);
}
}
public Object getTestToStart(String[] args, String name) {

methodDescription.addChild((Description)iterator.next());
}
description = methodDescription;
return description;
}
public void setStreams(Object segmentedOut, Object segmentedErr, int lastIdx) {
if (JUnitStarter.SM_RUNNER) {
myTestsListener = new SMTestSender();
} else {
myRegistry = new JUnit4OutputObjectRegistry((PacketProcessor)segmentedOut, lastIdx);
myTestsListener = new JUnit4TestResultsSender(myRegistry);
}
}
public Object getTestToStart(String[] args, String name) {
