Uploaded image for project: 'Continuum'
  1. Continuum
  2. CONTINUUM-821

The Project.getBuildResults() method returns an empty list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.3
    • 1.1-beta-1
    • XMLRPC Interface
    • None
    • JDK 1.5.0_07, Linux (Fedora Core 5)

    Description

      The Project.getBuildResults() method returns an empty list. The unit test is shown here:

      @Test
      public void testGetProjectBuildResults() throws XmlRpcException, IOException {
      String url = "http://localhost:8000/continuum";
      ProjectsReader pr = new ProjectsReader( new URL( url ) );

      Project[] projects = projects = pr.readProjects();
      //
      // Note: All the projects on the localhost server have builds
      //
      for ( Project project : projects)

      { List<BuildResult> buildResults = project.getBuildResults(); // // Builds have been defined // assertTrue(project.getBuildDefinitions().size() > 0); // // Builds have been done // assertTrue(project.getBuildNumber() > 0); // // We can access the build results // assertNotNull(buildResults); // // Test fails here: // assertTrue(buildResults.size() > 0); }

      }

      Attachments

        Activity

          People

            evenisse Emmanuel Venisse
            wakaleo John Ferguson Smart
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: