Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2357

[cpp] Improve test coverage in url.cpp

    XMLWordPrintableJSON

Details

    Description

      Assignee: Rakhi Kumari

      Url.cpp currently has 76% line coverage after running the tests.  Increase the coverage to 100% or as close as is practical.  To do this, add or modify tests in url_test.cpp.

      To set up coverage builds:

      1. Install lcov, the code coverage tool
      2. Configure the build for coverage analysis: cmake -DCMAKE_BUILD_TYPE=Coverage [...]
      3. Build the code: make build
      4. Run the tests: make test
      5. Generate coverage results: make coverage
      6. View the results at <build>/coverage_results

      Attachments

        Issue Links

          Activity

            People

              DreamPearl Rakhi Kumari
              jross Justin Ross
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: