test_class.declarator: hudson
test_class.modifier: @Mock
test_class.original_string: @Mock
      Hudson hudson;
test_class.type: Hudson
test_class.var_name: hudson
test_class.declarator: hudsonConnection
test_class.original_string: HudsonConnection hudsonConnection;
test_class.type: HudsonConnection
test_class.var_name: hudsonConnection
test_class.file: component/core/src/test/java/fr/norad/visuwall/plugin/hudson/HudsonConnectionTest.java
test_class.identifier: HudsonConnectionTest
test_case.body: @Test
      public void should_remove_default_view() {
          List<String> viewNames = asList("Alle", "Todo", "Tous", "\u3059\u3079\u3066", "Tudo", "\u0412\u0441\u0435",
                  "Hepsi", "All");
          List<String> defaultViews = new ArrayList<String>(viewNames);
          when(hudson.findViews()).thenReturn(defaultViews);
          List<String> views = hudsonConnection.findViews();
          assertTrue(views.isEmpty());
      }
test_case.class_method_signature: HudsonConnectionTest.should_remove_default_view()
test_case.full_signature: @Test public void should_remove_default_view()
test_case.identifier: should_remove_default_view
test_case.invocations: asList thenReturn when findViews findViews assertTrue isEmpty
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_remove_default_view()
focal_class.declarator: LOG = LoggerFactory.getLogger(HudsonConnection.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(HudsonConnection.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: DEFAULT_VIEWS = asList("Alle", "Todo", "Tous", "\u3059\u3079\u3066",
              "Tudo", "\u0412\u0441\u0435", "Hepsi", "All")
focal_class.modifier: private static final
focal_class.original_string: private static final Collection<String> DEFAULT_VIEWS = asList("Alle", "Todo", "Tous", "\u3059\u3079\u3066",
              "Tudo", "\u0412\u0441\u0435", "Hepsi", "All");
focal_class.type: Collection<String>
focal_class.var_name: DEFAULT_VIEWS
focal_class.declarator: hudson
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting
      Hudson hudson;
focal_class.type: Hudson
focal_class.var_name: hudson
focal_class.declarator: connected
focal_class.modifier: private
focal_class.original_string: private boolean connected;
focal_class.type: boolean
focal_class.var_name: connected
focal_class.file: component/core/src/main/java/fr/norad/visuwall/plugin/hudson/HudsonConnection.java
focal_class.identifier: HudsonConnection
focal_class.interfaces: implements BuildCapability, ViewCapability, TestCapability
focal_class.class_method_signature: HudsonConnection.connect(String url, String login, String password)
focal_class.full_signature: @Override public void connect(String url, String login, String password)
focal_class.identifier: connect
focal_class.modifiers: @Override public
focal_class.parameters: (String url, String login, String password)
focal_class.return: void
focal_class.signature: void connect(String url, String login, String password)
focal_class.class_method_signature: HudsonConnection.listSoftwareProjectIds()
focal_class.full_signature: @Override public Map<SoftwareProjectId, String> listSoftwareProjectIds()
focal_class.identifier: listSoftwareProjectIds
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<SoftwareProjectId, String>
focal_class.signature: Map<SoftwareProjectId, String> listSoftwareProjectIds()
focal_class.class_method_signature: HudsonConnection.getEstimatedFinishTime(SoftwareProjectId projectId, String buildId)
focal_class.full_signature: @Override public Date getEstimatedFinishTime(SoftwareProjectId projectId, String buildId)
focal_class.identifier: getEstimatedFinishTime
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId, String buildId)
focal_class.return: Date
focal_class.signature: Date getEstimatedFinishTime(SoftwareProjectId projectId, String buildId)
focal_class.class_method_signature: HudsonConnection.isBuilding(SoftwareProjectId projectId, String buildId)
focal_class.full_signature: @Override public boolean isBuilding(SoftwareProjectId projectId, String buildId)
focal_class.identifier: isBuilding
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId, String buildId)
focal_class.return: boolean
focal_class.signature: boolean isBuilding(SoftwareProjectId projectId, String buildId)
focal_class.class_method_signature: HudsonConnection.getBuildState(SoftwareProjectId projectId, String buildId)
focal_class.full_signature: @Override public BuildState getBuildState(SoftwareProjectId projectId, String buildId)
focal_class.identifier: getBuildState
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId, String buildId)
focal_class.return: BuildState
focal_class.signature: BuildState getBuildState(SoftwareProjectId projectId, String buildId)
focal_class.class_method_signature: HudsonConnection.getLastBuildId(SoftwareProjectId projectId)
focal_class.full_signature: @Override public String getLastBuildId(SoftwareProjectId projectId)
focal_class.identifier: getLastBuildId
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId)
focal_class.return: String
focal_class.signature: String getLastBuildId(SoftwareProjectId projectId)
focal_class.class_method_signature: HudsonConnection.findViews()
focal_class.full_signature: @Override public List<String> findViews()
focal_class.identifier: findViews
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> findViews()
focal_class.class_method_signature: HudsonConnection.findProjectNamesByView(String viewName)
focal_class.full_signature: @Override public List<String> findProjectNamesByView(String viewName)
focal_class.identifier: findProjectNamesByView
focal_class.modifiers: @Override public
focal_class.parameters: (String viewName)
focal_class.return: List<String>
focal_class.signature: List<String> findProjectNamesByView(String viewName)
focal_class.class_method_signature: HudsonConnection.findSoftwareProjectIdsByViews(List<String> views)
focal_class.full_signature: @Override public List<SoftwareProjectId> findSoftwareProjectIdsByViews(List<String> views)
focal_class.identifier: findSoftwareProjectIdsByViews
focal_class.modifiers: @Override public
focal_class.parameters: (List<String> views)
focal_class.return: List<SoftwareProjectId>
focal_class.signature: List<SoftwareProjectId> findSoftwareProjectIdsByViews(List<String> views)
focal_class.class_method_signature: HudsonConnection.findSoftwareProjectIdsByNames(List<String> names)
focal_class.full_signature: private List<SoftwareProjectId> findSoftwareProjectIdsByNames(List<String> names)
focal_class.identifier: findSoftwareProjectIdsByNames
focal_class.modifiers: private
focal_class.parameters: (List<String> names)
focal_class.return: List<SoftwareProjectId>
focal_class.signature: List<SoftwareProjectId> findSoftwareProjectIdsByNames(List<String> names)
focal_class.class_method_signature: HudsonConnection.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: HudsonConnection.getDescription(SoftwareProjectId projectId)
focal_class.full_signature: @Override public String getDescription(SoftwareProjectId projectId)
focal_class.identifier: getDescription
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId projectId)
focal_class.return: String
focal_class.signature: String getDescription(SoftwareProjectId projectId)
focal_class.class_method_signature: HudsonConnection.identify(ProjectKey projectKey)
focal_class.full_signature: @Override public SoftwareProjectId identify(ProjectKey projectKey)
focal_class.identifier: identify
focal_class.modifiers: @Override public
focal_class.parameters: (ProjectKey projectKey)
focal_class.return: SoftwareProjectId
focal_class.signature: SoftwareProjectId identify(ProjectKey projectKey)
focal_class.class_method_signature: HudsonConnection.getBuildIds(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public List<String> getBuildIds(SoftwareProjectId softwareProjectId)
focal_class.identifier: getBuildIds
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: List<String>
focal_class.signature: List<String> getBuildIds(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: HudsonConnection.getMavenId(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public String getMavenId(SoftwareProjectId softwareProjectId)
focal_class.identifier: getMavenId
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: String
focal_class.signature: String getMavenId(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: HudsonConnection.getName(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public String getName(SoftwareProjectId softwareProjectId)
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: String
focal_class.signature: String getName(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: HudsonConnection.isClosed()
focal_class.full_signature: @Override public boolean isClosed()
focal_class.identifier: isClosed
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isClosed()
focal_class.class_method_signature: HudsonConnection.getBuildTime(SoftwareProjectId softwareProjectId, String buildId)
focal_class.full_signature: @Override public BuildTime getBuildTime(SoftwareProjectId softwareProjectId, String buildId)
focal_class.identifier: getBuildTime
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId, String buildId)
focal_class.return: BuildTime
focal_class.signature: BuildTime getBuildTime(SoftwareProjectId softwareProjectId, String buildId)
focal_class.class_method_signature: HudsonConnection.isProjectDisabled(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public boolean isProjectDisabled(SoftwareProjectId softwareProjectId)
focal_class.identifier: isProjectDisabled
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: boolean
focal_class.signature: boolean isProjectDisabled(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: HudsonConnection.getBuildCommiters(SoftwareProjectId softwareProjectId, String buildId)
focal_class.full_signature: @Override public List<Commiter> getBuildCommiters(SoftwareProjectId softwareProjectId, String buildId)
focal_class.identifier: getBuildCommiters
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId, String buildId)
focal_class.return: List<Commiter>
focal_class.signature: List<Commiter> getBuildCommiters(SoftwareProjectId softwareProjectId, String buildId)
focal_class.class_method_signature: HudsonConnection.analyzeUnitTests(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public TestResult analyzeUnitTests(SoftwareProjectId softwareProjectId)
focal_class.identifier: analyzeUnitTests
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: TestResult
focal_class.signature: TestResult analyzeUnitTests(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: HudsonConnection.analyzeIntegrationTests(SoftwareProjectId softwareProjectId)
focal_class.full_signature: @Override public TestResult analyzeIntegrationTests(SoftwareProjectId softwareProjectId)
focal_class.identifier: analyzeIntegrationTests
focal_class.modifiers: @Override public
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: TestResult
focal_class.signature: TestResult analyzeIntegrationTests(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: HudsonConnection.jobName(SoftwareProjectId softwareProjectId)
focal_class.full_signature: private String jobName(SoftwareProjectId softwareProjectId)
focal_class.identifier: jobName
focal_class.modifiers: private
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: String
focal_class.signature: String jobName(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: HudsonConnection.checkBuildId(String buildId)
focal_class.full_signature: private void checkBuildId(String buildId)
focal_class.identifier: checkBuildId
focal_class.modifiers: private
focal_class.parameters: (String buildId)
focal_class.return: void
focal_class.signature: void checkBuildId(String buildId)
focal_class.class_method_signature: HudsonConnection.checkSoftwareProjectId(SoftwareProjectId softwareProjectId)
focal_class.full_signature: private void checkSoftwareProjectId(SoftwareProjectId softwareProjectId)
focal_class.identifier: checkSoftwareProjectId
focal_class.modifiers: private
focal_class.parameters: (SoftwareProjectId softwareProjectId)
focal_class.return: void
focal_class.signature: void checkSoftwareProjectId(SoftwareProjectId softwareProjectId)
focal_class.class_method_signature: HudsonConnection.checkConnected()
focal_class.full_signature: private void checkConnected()
focal_class.identifier: checkConnected
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkConnected()
focal_method.body: @Override
      public List<String> findViews() {
          checkConnected();
          List<String> views = hudson.findViews();
          views.removeAll(DEFAULT_VIEWS);
          return views;
      }
focal_method.class_method_signature: HudsonConnection.findViews()
focal_method.full_signature: @Override public List<String> findViews()
focal_method.identifier: findViews
focal_method.invocations: checkConnected findViews removeAll
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: List<String>
focal_method.signature: List<String> findViews()