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

[cpp] Improve test coverage in map.cpp

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cpp-binding

    Description

      Assignee: unassigned

      Map.cpp currently has 57% line coverage after running the tests (for my local config).  Increase the coverage to 100% or as close as is practical.  To do this, add or modify tests in map_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

              jross Justin Ross
              jross Justin Ross
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: