return dateList.toArray( new Date[dateList.size()] );
}
@Override
public void testSchedule(ScheduleId scheduleId, int numberOfRuns, TestScheduleCallback callback) {
ProjectAdministration projectAdmin;
try {
projectAdmin = getProjectAdministration(callback);
if (projectAdmin == null) {
// The callback should already have been notified by now.
return;
}
} catch (IntegrationServerException e) {
callback.caught(e);
return;
}
try {
FindScheduledOperationsResult result = projectAdmin.testScheduleWithGuid(userName, password, scheduleId.toString(), null, null, numberOfRuns);
callback.testCompleted(getQueueDates(result));
} catch (RemoteException e) {
callback.caught(e);
return;
} catch (ParseException e) {