test_class.declarator: hudsonUrlBuilder
test_class.original_string: HudsonUrlBuilder hudsonUrlBuilder;
test_class.type: HudsonUrlBuilder
test_class.var_name: hudsonUrlBuilder
test_class.declarator: testResultBuilder
test_class.original_string: TestResultBuilder testResultBuilder;
test_class.type: TestResultBuilder
test_class.var_name: testResultBuilder
test_class.declarator: client
test_class.original_string: GenericSoftwareClient client;
test_class.type: GenericSoftwareClient
test_class.var_name: client
test_class.declarator: hudsonBuildBuilder
test_class.original_string: HudsonBuildBuilder hudsonBuildBuilder;
test_class.type: HudsonBuildBuilder
test_class.var_name: hudsonBuildBuilder
test_class.declarator: hudsonFinder
test_class.original_string: HudsonFinder hudsonFinder;
test_class.type: HudsonFinder
test_class.var_name: hudsonFinder
test_class.file: component/core/src/test/java/fr/norad/visuwall/providers/hudson/HudsonFinderTest.java
test_class.identifier: HudsonFinderTest
test_case.body: @Test
      public void should_return_all_projects_of_a_view() throws Exception {
          ListView viewResource = (ListView) load("hudson/view.xml", ListView.class);
          when(client.resource(anyString(), any(Class.class))).thenReturn(viewResource);
          List<String> projectNames = hudsonFinder.findJobNamesByView("android");
          assertEquals(4, projectNames.size());
          List<String> expectedProjects = Arrays.asList("android-1.11", "android-1.11-daily", "android-trunk",
                  "android-trunk-daily");
          for (String expectedProject : expectedProjects) {
              assertTrue(projectNames.contains(expectedProject));
          }
      }
test_case.class_method_signature: HudsonFinderTest.should_return_all_projects_of_a_view()
test_case.full_signature: @Test public void should_return_all_projects_of_a_view()
test_case.identifier: should_return_all_projects_of_a_view
test_case.invocations: load thenReturn when resource anyString any findJobNamesByView assertEquals size asList assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_return_all_projects_of_a_view()
focal_class.declarator: LOG = LoggerFactory.getLogger(HudsonFinder.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(HudsonFinder.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: hudsonUrlBuilder
focal_class.modifier: private
focal_class.original_string: private HudsonUrlBuilder hudsonUrlBuilder;
focal_class.type: HudsonUrlBuilder
focal_class.var_name: hudsonUrlBuilder
focal_class.declarator: client
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting
      GenericSoftwareClient client;
focal_class.type: GenericSoftwareClient
focal_class.var_name: client
focal_class.declarator: hudsonBuildBuilder
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting
      HudsonBuildBuilder hudsonBuildBuilder;
focal_class.type: HudsonBuildBuilder
focal_class.var_name: hudsonBuildBuilder
focal_class.declarator: testResultBuilder
focal_class.modifier: @VisibleForTesting
focal_class.original_string: @VisibleForTesting
      TestResultBuilder testResultBuilder;
focal_class.type: TestResultBuilder
focal_class.var_name: testResultBuilder
focal_class.file: component/core/src/main/java/fr/norad/visuwall/providers/hudson/HudsonFinder.java
focal_class.identifier: HudsonFinder
focal_class.class_method_signature: HudsonFinder.HudsonFinder(HudsonUrlBuilder hudsonUrlBuilder)
focal_class.full_signature:   HudsonFinder(HudsonUrlBuilder hudsonUrlBuilder)
focal_class.identifier: HudsonFinder
focal_class.parameters: (HudsonUrlBuilder hudsonUrlBuilder)
focal_class.signature:  HudsonFinder(HudsonUrlBuilder hudsonUrlBuilder)
focal_class.class_method_signature: HudsonFinder.HudsonFinder(HudsonUrlBuilder hudsonUrlBuilder, String login, String password)
focal_class.full_signature: public  HudsonFinder(HudsonUrlBuilder hudsonUrlBuilder, String login, String password)
focal_class.identifier: HudsonFinder
focal_class.modifiers: public
focal_class.parameters: (HudsonUrlBuilder hudsonUrlBuilder, String login, String password)
focal_class.signature:  HudsonFinder(HudsonUrlBuilder hudsonUrlBuilder, String login, String password)
focal_class.class_method_signature: HudsonFinder.find(String jobName, int buildNumber)
focal_class.full_signature:  HudsonBuild find(String jobName, int buildNumber)
focal_class.identifier: find
focal_class.parameters: (String jobName, int buildNumber)
focal_class.return: HudsonBuild
focal_class.signature: HudsonBuild find(String jobName, int buildNumber)
focal_class.class_method_signature: HudsonFinder.findSurefireReport(String jobName, Build build)
focal_class.full_signature:  SurefireAggregatedReport findSurefireReport(String jobName, Build build)
focal_class.identifier: findSurefireReport
focal_class.parameters: (String jobName, Build build)
focal_class.return: SurefireAggregatedReport
focal_class.signature: SurefireAggregatedReport findSurefireReport(String jobName, Build build)
focal_class.class_method_signature: HudsonFinder.findBuildByJobNameAndBuildNumber(String jobName, int buildNumber)
focal_class.full_signature: @VisibleForTesting Build findBuildByJobNameAndBuildNumber(String jobName, int buildNumber)
focal_class.identifier: findBuildByJobNameAndBuildNumber
focal_class.modifiers: @VisibleForTesting
focal_class.parameters: (String jobName, int buildNumber)
focal_class.return: Build
focal_class.signature: Build findBuildByJobNameAndBuildNumber(String jobName, int buildNumber)
focal_class.class_method_signature: HudsonFinder.findJobNames()
focal_class.full_signature:  List<String> findJobNames()
focal_class.identifier: findJobNames
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> findJobNames()
focal_class.class_method_signature: HudsonFinder.findJobNamesByView(String viewName)
focal_class.full_signature:  List<String> findJobNamesByView(String viewName)
focal_class.identifier: findJobNamesByView
focal_class.parameters: (String viewName)
focal_class.return: List<String>
focal_class.signature: List<String> findJobNamesByView(String viewName)
focal_class.class_method_signature: HudsonFinder.findViews()
focal_class.full_signature:  List<String> findViews()
focal_class.identifier: findViews
focal_class.parameters: ()
focal_class.return: List<String>
focal_class.signature: List<String> findViews()
focal_class.class_method_signature: HudsonFinder.getDescription(String jobName)
focal_class.full_signature:  String getDescription(String jobName)
focal_class.identifier: getDescription
focal_class.parameters: (String jobName)
focal_class.return: String
focal_class.signature: String getDescription(String jobName)
focal_class.class_method_signature: HudsonFinder.findJob(String projectName)
focal_class.full_signature:  HudsonJob findJob(String projectName)
focal_class.identifier: findJob
focal_class.parameters: (String projectName)
focal_class.return: HudsonJob
focal_class.signature: HudsonJob findJob(String projectName)
focal_class.class_method_signature: HudsonFinder.getLastBuildNumber(String projectName)
focal_class.full_signature:  int getLastBuildNumber(String projectName)
focal_class.identifier: getLastBuildNumber
focal_class.parameters: (String projectName)
focal_class.return: int
focal_class.signature: int getLastBuildNumber(String projectName)
focal_class.class_method_signature: HudsonFinder.findCommiters(String[] commiterNames)
focal_class.full_signature:  Set<HudsonCommiter> findCommiters(String[] commiterNames)
focal_class.identifier: findCommiters
focal_class.parameters: (String[] commiterNames)
focal_class.return: Set<HudsonCommiter>
focal_class.signature: Set<HudsonCommiter> findCommiters(String[] commiterNames)
focal_class.class_method_signature: HudsonFinder.getStateOf(String jobName, int buildNumber)
focal_class.full_signature:  String getStateOf(String jobName, int buildNumber)
focal_class.identifier: getStateOf
focal_class.parameters: (String jobName, int buildNumber)
focal_class.return: String
focal_class.signature: String getStateOf(String jobName, int buildNumber)
focal_class.class_method_signature: HudsonFinder.findJobByName(String jobName)
focal_class.full_signature: private Project findJobByName(String jobName)
focal_class.identifier: findJobByName
focal_class.modifiers: private
focal_class.parameters: (String jobName)
focal_class.return: Project
focal_class.signature: Project findJobByName(String jobName)
focal_class.class_method_signature: HudsonFinder.findProjectByName(String jobName, String jobUrl)
focal_class.full_signature: private Project findProjectByName(String jobName, String jobUrl)
focal_class.identifier: findProjectByName
focal_class.modifiers: private
focal_class.parameters: (String jobName, String jobUrl)
focal_class.return: Project
focal_class.signature: Project findProjectByName(String jobName, String jobUrl)
focal_class.class_method_signature: HudsonFinder.createHudsonProjectFrom(Project project)
focal_class.full_signature: private HudsonJob createHudsonProjectFrom(Project project)
focal_class.identifier: createHudsonProjectFrom
focal_class.modifiers: private
focal_class.parameters: (Project project)
focal_class.return: HudsonJob
focal_class.signature: HudsonJob createHudsonProjectFrom(Project project)
focal_class.class_method_signature: HudsonFinder.getBuildNumbers(String jobName)
focal_class.full_signature:  List<Integer> getBuildNumbers(String jobName)
focal_class.identifier: getBuildNumbers
focal_class.parameters: (String jobName)
focal_class.return: List<Integer>
focal_class.signature: List<Integer> getBuildNumbers(String jobName)
focal_class.class_method_signature: HudsonFinder.getCompletedBuild(String jobName)
focal_class.full_signature:  HudsonBuild getCompletedBuild(String jobName)
focal_class.identifier: getCompletedBuild
focal_class.parameters: (String jobName)
focal_class.return: HudsonBuild
focal_class.signature: HudsonBuild getCompletedBuild(String jobName)
focal_class.class_method_signature: HudsonFinder.getCurrentBuild(String jobName)
focal_class.full_signature:  HudsonBuild getCurrentBuild(String jobName)
focal_class.identifier: getCurrentBuild
focal_class.parameters: (String jobName)
focal_class.return: HudsonBuild
focal_class.signature: HudsonBuild getCurrentBuild(String jobName)
focal_class.class_method_signature: HudsonFinder.getIsBuilding(Project modelJob)
focal_class.full_signature: private boolean getIsBuilding(Project modelJob)
focal_class.identifier: getIsBuilding
focal_class.modifiers: private
focal_class.parameters: (Project modelJob)
focal_class.return: boolean
focal_class.signature: boolean getIsBuilding(Project modelJob)
focal_class.class_method_signature: HudsonFinder.findUnitTestResult(String jobName, int buildNumber)
focal_class.full_signature: public HudsonTestResult findUnitTestResult(String jobName, int buildNumber)
focal_class.identifier: findUnitTestResult
focal_class.modifiers: public
focal_class.parameters: (String jobName, int buildNumber)
focal_class.return: HudsonTestResult
focal_class.signature: HudsonTestResult findUnitTestResult(String jobName, int buildNumber)
focal_class.class_method_signature: HudsonFinder.findIntegrationTestResult(String jobName, int buildNumber)
focal_class.full_signature: public HudsonTestResult findIntegrationTestResult(String jobName, int buildNumber)
focal_class.identifier: findIntegrationTestResult
focal_class.modifiers: public
focal_class.parameters: (String jobName, int buildNumber)
focal_class.return: HudsonTestResult
focal_class.signature: HudsonTestResult findIntegrationTestResult(String jobName, int buildNumber)
focal_method.body: List<String> findJobNamesByView(String viewName) throws HudsonViewNotFoundException {
          try {
              List<String> jobNames = new ArrayList<String>();
              String viewUrl = hudsonUrlBuilder.getViewUrl(viewName);
              ListView view = client.resource(viewUrl, ListView.class);
              for (Job job : view.getJobs()) {
                  jobNames.add(job.getName());
              }
              return jobNames;
          } catch (ResourceNotFoundException e) {
              throw new HudsonViewNotFoundException(e.getMessage(), e);
          }
      }
focal_method.class_method_signature: HudsonFinder.findJobNamesByView(String viewName)
focal_method.full_signature:  List<String> findJobNamesByView(String viewName)
focal_method.identifier: findJobNamesByView
focal_method.invocations: getViewUrl resource getJobs add getName getMessage
focal_method.parameters: (String viewName)
focal_method.return: List<String>
focal_method.signature: List<String> findJobNamesByView(String viewName)