@Test public void should_get_empty_description_for_everything() throws ProjectNotFoundException, MavenIdNotFoundException { String description = connection.getDescription(null); assertTrue(description.isEmpty()); }
@Override public String getDescription(SoftwareProjectId softwareProjectId) throws ProjectNotFoundException { return ""; }
DemoConnection implements BuildCapability, TestCapability, ViewCapability, MetricCapability { @Override public String getDescription(SoftwareProjectId softwareProjectId) throws ProjectNotFoundException { return ""; } }
DemoConnection implements BuildCapability, TestCapability, ViewCapability, MetricCapability { @Override public String getDescription(SoftwareProjectId softwareProjectId) throws ProjectNotFoundException { return ""; } DemoConnection(); }
DemoConnection implements BuildCapability, TestCapability, ViewCapability, MetricCapability { @Override public String getDescription(SoftwareProjectId softwareProjectId) throws ProjectNotFoundException { return ""; } DemoConnection(); @Override void connect(String url, String login, String password); @Override void close(); @Override boolean isClosed(); @Override Map<SoftwareProjectId, String> listSoftwareProjectIds(); @Override String getMavenId(SoftwareProjectId softwareProjectId); @Override String getDescription(SoftwareProjectId softwareProjectId); @Override String getName(SoftwareProjectId projectId); @Override SoftwareProjectId identify(ProjectKey projectKey); @Override boolean isProjectDisabled(SoftwareProjectId softwareProjectId); @Override Map<String, List<QualityMetric>> getMetricsByCategory(); @Override QualityResult analyzeQuality(SoftwareProjectId projectId, String... metrics); @Override List<SoftwareProjectId> findSoftwareProjectIdsByViews(List<String> views); @Override List<String> findViews(); @Override List<String> findProjectNamesByView(String viewName); @Override TestResult analyzeUnitTests(SoftwareProjectId projectId); @Override TestResult analyzeIntegrationTests(SoftwareProjectId projectId); @Override List<Commiter> getBuildCommiters(SoftwareProjectId softwareProjectId, String buildId); @Override BuildTime getBuildTime(SoftwareProjectId softwareProjectId, String buildId); @Override List<String> getBuildIds(SoftwareProjectId softwareProjectId); @Override BuildState getBuildState(SoftwareProjectId projectId, String buildId); @Override Date getEstimatedFinishTime(SoftwareProjectId projectId, String buildId); @Override boolean isBuilding(SoftwareProjectId projectId, String buildId); @Override String getLastBuildId(SoftwareProjectId softwareProjectId); @Override String toString(); }
DemoConnection implements BuildCapability, TestCapability, ViewCapability, MetricCapability { @Override public String getDescription(SoftwareProjectId softwareProjectId) throws ProjectNotFoundException { return ""; } DemoConnection(); @Override void connect(String url, String login, String password); @Override void close(); @Override boolean isClosed(); @Override Map<SoftwareProjectId, String> listSoftwareProjectIds(); @Override String getMavenId(SoftwareProjectId softwareProjectId); @Override String getDescription(SoftwareProjectId softwareProjectId); @Override String getName(SoftwareProjectId projectId); @Override SoftwareProjectId identify(ProjectKey projectKey); @Override boolean isProjectDisabled(SoftwareProjectId softwareProjectId); @Override Map<String, List<QualityMetric>> getMetricsByCategory(); @Override QualityResult analyzeQuality(SoftwareProjectId projectId, String... metrics); @Override List<SoftwareProjectId> findSoftwareProjectIdsByViews(List<String> views); @Override List<String> findViews(); @Override List<String> findProjectNamesByView(String viewName); @Override TestResult analyzeUnitTests(SoftwareProjectId projectId); @Override TestResult analyzeIntegrationTests(SoftwareProjectId projectId); @Override List<Commiter> getBuildCommiters(SoftwareProjectId softwareProjectId, String buildId); @Override BuildTime getBuildTime(SoftwareProjectId softwareProjectId, String buildId); @Override List<String> getBuildIds(SoftwareProjectId softwareProjectId); @Override BuildState getBuildState(SoftwareProjectId projectId, String buildId); @Override Date getEstimatedFinishTime(SoftwareProjectId projectId, String buildId); @Override boolean isBuilding(SoftwareProjectId projectId, String buildId); @Override String getLastBuildId(SoftwareProjectId softwareProjectId); @Override String toString();  }