test_class.declarator: client
test_class.original_string: GenericSoftwareClient client;
test_class.type: GenericSoftwareClient
test_class.var_name: client
test_class.declarator: hudsonFinder
test_class.original_string: HudsonFinder hudsonFinder;
test_class.type: HudsonFinder
test_class.var_name: hudsonFinder
test_class.declarator: hudsonUrlBuilder
test_class.original_string: HudsonUrlBuilder hudsonUrlBuilder;
test_class.type: HudsonUrlBuilder
test_class.var_name: hudsonUrlBuilder
test_class.declarator: hudson
test_class.original_string: Hudson hudson;
test_class.type: Hudson
test_class.var_name: hudson
test_class.file: component/core/src/test/java/fr/norad/visuwall/providers/hudson/HudsonTest.java
test_class.identifier: HudsonTest
test_case.body: @Test
      public void should_get_project_names() {
          List<String> projectNames = new ArrayList<String>();
          projectNames.add("project1");
          projectNames.add("project2");
  
          when(hudsonFinder.findJobNames()).thenReturn(projectNames);
  
          List<String> names = hudson.findJobNames();
  
          assertEquals("project1", names.get(0));
          assertEquals("project2", names.get(1));
      }
test_case.class_method_signature: HudsonTest.should_get_project_names()
test_case.full_signature: @Test public void should_get_project_names()
test_case.identifier: should_get_project_names
test_case.invocations: add add thenReturn when findJobNames findJobNames assertEquals get assertEquals get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_get_project_names()
focal_class.declarator: LOG = LoggerFactory.getLogger(Hudson.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(Hudson.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: hudsonFinder
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting
      HudsonFinder hudsonFinder;
focal_class.type: HudsonFinder
focal_class.var_name: hudsonFinder
focal_class.declarator: hudsonUrlBuilder
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting
      HudsonUrlBuilder hudsonUrlBuilder;
focal_class.type: HudsonUrlBuilder
focal_class.var_name: hudsonUrlBuilder
focal_class.declarator: maven = new Maven()
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting
      Maven maven = new Maven();
focal_class.type: Maven
focal_class.var_name: maven
focal_class.declarator: url
focal_class.modifier: private
focal_class.original_string: private String url;
focal_class.type: String
focal_class.var_name: url
focal_class.file: component/core/src/main/java/fr/norad/visuwall/providers/hudson/Hudson.java
focal_class.identifier: Hudson
focal_class.class_method_signature: Hudson.Hudson(String hudsonUrl)
focal_class.full_signature: public  Hudson(String hudsonUrl)
focal_class.identifier: Hudson
focal_class.modifiers: public
focal_class.parameters: (String hudsonUrl)
focal_class.signature:  Hudson(String hudsonUrl)
focal_class.class_method_signature: Hudson.Hudson(String hudsonUrl, String login, String password)
focal_class.full_signature: public  Hudson(String hudsonUrl, String login, String password)
focal_class.identifier: Hudson
focal_class.modifiers: public
focal_class.parameters: (String hudsonUrl, String login, String password)
focal_class.signature:  Hudson(String hudsonUrl, String login, String password)
focal_class.class_method_signature: Hudson.findAllProjects()
focal_class.full_signature: public List<HudsonJob> findAllProjects()
focal_class.identifier: findAllProjects
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<HudsonJob>
focal_class.signature: List<HudsonJob> findAllProjects()
focal_class.class_method_signature: Hudson.findAllProjectNames()
focal_class.full_signature: public List<String> findAllProjectNames()
focal_class.identifier: findAllProjectNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> findAllProjectNames()
focal_class.class_method_signature: Hudson.findBuild(String jobName, int buildNumber)
focal_class.full_signature: public HudsonBuild findBuild(String jobName, int buildNumber)
focal_class.identifier: findBuild
focal_class.modifiers: public
focal_class.parameters: (String jobName, int buildNumber)
focal_class.return: HudsonBuild
focal_class.signature: HudsonBuild findBuild(String jobName, int buildNumber)
focal_class.class_method_signature: Hudson.findJob(String jobName)
focal_class.full_signature: public HudsonJob findJob(String jobName)
focal_class.identifier: findJob
focal_class.modifiers: public
focal_class.parameters: (String jobName)
focal_class.return: HudsonJob
focal_class.signature: HudsonJob findJob(String jobName)
focal_class.class_method_signature: Hudson.getDescription(String jobName)
focal_class.full_signature: public String getDescription(String jobName)
focal_class.identifier: getDescription
focal_class.modifiers: public
focal_class.parameters: (String jobName)
focal_class.return: String
focal_class.signature: String getDescription(String jobName)
focal_class.class_method_signature: Hudson.getEstimatedFinishTime(String jobName)
focal_class.full_signature: public Date getEstimatedFinishTime(String jobName)
focal_class.identifier: getEstimatedFinishTime
focal_class.modifiers: public
focal_class.parameters: (String jobName)
focal_class.return: Date
focal_class.signature: Date getEstimatedFinishTime(String jobName)
focal_class.class_method_signature: Hudson.getLastBuildNumber(String projectName)
focal_class.full_signature: public int getLastBuildNumber(String projectName)
focal_class.identifier: getLastBuildNumber
focal_class.modifiers: public
focal_class.parameters: (String projectName)
focal_class.return: int
focal_class.signature: int getLastBuildNumber(String projectName)
focal_class.class_method_signature: Hudson.findJobNames()
focal_class.full_signature: public List<String> findJobNames()
focal_class.identifier: findJobNames
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> findJobNames()
focal_class.class_method_signature: Hudson.findViews()
focal_class.full_signature: public List<String> findViews()
focal_class.identifier: findViews
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> findViews()
focal_class.class_method_signature: Hudson.findJobNameByView(String viewName)
focal_class.full_signature: public List<String> findJobNameByView(String viewName)
focal_class.identifier: findJobNameByView
focal_class.modifiers: public
focal_class.parameters: (String viewName)
focal_class.return: List<String>
focal_class.signature: List<String> findJobNameByView(String viewName)
focal_class.class_method_signature: Hudson.findMavenId(String jobName)
focal_class.full_signature: public String findMavenId(String jobName)
focal_class.identifier: findMavenId
focal_class.modifiers: public
focal_class.parameters: (String jobName)
focal_class.return: String
focal_class.signature: String findMavenId(String jobName)
focal_class.class_method_signature: Hudson.getBuildNumbers(String jobName)
focal_class.full_signature: public List<Integer> getBuildNumbers(String jobName)
focal_class.identifier: getBuildNumbers
focal_class.modifiers: public
focal_class.parameters: (String jobName)
focal_class.return: List<Integer>
focal_class.signature: List<Integer> getBuildNumbers(String jobName)
focal_class.class_method_signature: Hudson.computeBuildDurationTime(HudsonJob hudsonJob)
focal_class.full_signature: private long computeBuildDurationTime(HudsonJob hudsonJob)
focal_class.identifier: computeBuildDurationTime
focal_class.modifiers: private
focal_class.parameters: (HudsonJob hudsonJob)
focal_class.return: long
focal_class.signature: long computeBuildDurationTime(HudsonJob hudsonJob)
focal_class.class_method_signature: Hudson.maxDuration(HudsonJob hudsonProject)
focal_class.full_signature: private long maxDuration(HudsonJob hudsonProject)
focal_class.identifier: maxDuration
focal_class.modifiers: private
focal_class.parameters: (HudsonJob hudsonProject)
focal_class.return: long
focal_class.signature: long maxDuration(HudsonJob hudsonProject)
focal_class.class_method_signature: Hudson.isNeverSuccessful(String jobName)
focal_class.full_signature: private boolean isNeverSuccessful(String jobName)
focal_class.identifier: isNeverSuccessful
focal_class.modifiers: private
focal_class.parameters: (String jobName)
focal_class.return: boolean
focal_class.signature: boolean isNeverSuccessful(String jobName)
focal_class.class_method_signature: Hudson.computeAverageBuildDuration(HudsonJob hudsonJob)
focal_class.full_signature: private long computeAverageBuildDuration(HudsonJob hudsonJob)
focal_class.identifier: computeAverageBuildDuration
focal_class.modifiers: private
focal_class.parameters: (HudsonJob hudsonJob)
focal_class.return: long
focal_class.signature: long computeAverageBuildDuration(HudsonJob hudsonJob)
focal_class.class_method_signature: Hudson.checkJobName(String jobName)
focal_class.full_signature: private void checkJobName(String jobName)
focal_class.identifier: checkJobName
focal_class.modifiers: private
focal_class.parameters: (String jobName)
focal_class.return: void
focal_class.signature: void checkJobName(String jobName)
focal_class.class_method_signature: Hudson.findUnitTestResult(String jobName, int lastBuildNumber)
focal_class.full_signature: public HudsonTestResult findUnitTestResult(String jobName, int lastBuildNumber)
focal_class.identifier: findUnitTestResult
focal_class.modifiers: public
focal_class.parameters: (String jobName, int lastBuildNumber)
focal_class.return: HudsonTestResult
focal_class.signature: HudsonTestResult findUnitTestResult(String jobName, int lastBuildNumber)
focal_class.class_method_signature: Hudson.findIntegrationTestResult(String jobName, int lastBuildNumber)
focal_class.full_signature: public HudsonTestResult findIntegrationTestResult(String jobName, int lastBuildNumber)
focal_class.identifier: findIntegrationTestResult
focal_class.modifiers: public
focal_class.parameters: (String jobName, int lastBuildNumber)
focal_class.return: HudsonTestResult
focal_class.signature: HudsonTestResult findIntegrationTestResult(String jobName, int lastBuildNumber)
focal_class.class_method_signature: Hudson.getUrl()
focal_class.full_signature: public String getUrl()
focal_class.identifier: getUrl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUrl()
focal_method.body: public List<String> findJobNames() {
          List<String> jobNames = hudsonFinder.findJobNames();
          return jobNames;
      }
focal_method.class_method_signature: Hudson.findJobNames()
focal_method.full_signature: public List<String> findJobNames()
focal_method.identifier: findJobNames
focal_method.invocations: findJobNames
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List<String>
focal_method.signature: List<String> findJobNames()