@Test public void progressBarIsSetOnStart() { task.start(progress); verify(progress, times(1)).startProgress(anyString(), anyInt()); }
@Override public int start(TaskStatusMonitor progress) { progress.startProgress(this.getDescription(), 3); return run(progress); }
UploaderTask extends BackgroundTask { @Override public int start(TaskStatusMonitor progress) { progress.startProgress(this.getDescription(), 3); return run(progress); } }
UploaderTask extends BackgroundTask { @Override public int start(TaskStatusMonitor progress) { progress.startProgress(this.getDescription(), 3); return run(progress); } UploaderTask(ProjectUploader uploader, String path, ProjectDAO projectDAO, IdeUIInvoker invoker); }
UploaderTask extends BackgroundTask { @Override public int start(TaskStatusMonitor progress) { progress.startProgress(this.getDescription(), 3); return run(progress); } UploaderTask(ProjectUploader uploader, String path, ProjectDAO projectDAO, IdeUIInvoker invoker); @Override int start(TaskStatusMonitor progress); SubmissionResult getResult(); Project getProject(); }
UploaderTask extends BackgroundTask { @Override public int start(TaskStatusMonitor progress) { progress.startProgress(this.getDescription(), 3); return run(progress); } UploaderTask(ProjectUploader uploader, String path, ProjectDAO projectDAO, IdeUIInvoker invoker); @Override int start(TaskStatusMonitor progress); SubmissionResult getResult(); Project getProject();  }