Qpid
  1. Qpid
  2. QPID-3754

Takes the Ruby bindings to 100% unit test coverage.

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.15
    • Fix Version/s: 0.15
    • Component/s: None
    • Labels:
      None

      Description

      Adds unit tests to Address and the encoding methods. With this patch set the code is 100% unit tested.

        Activity

        Robbie Gemmell made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.15 [ 12319043 ]
        Resolution Fixed [ 1 ]
        Hide
        Robbie Gemmell added a comment -

        Commit logs say patches were applied.

        Show
        Robbie Gemmell added a comment - Commit logs say patches were applied.
        Hide
        Nuno Santos added a comment -

        Looked through the patches and ran the additional tests, all looks good:

        $ rake test
        (in /home/nsantos/tmp/qpid-ruby/Qpid/qpid/cpp/bindings/qpid/ruby)
        rm -r coverage
        .............................................................................................................
        Finished in 0.102052 seconds
        109 examples, 0 failures

        $ patch -p6 < ~/tmp/0001-Provides-a-unit-tests-for-Qpid-Messaging-Address.to_.patch
        patching file spec/qpid/address_spec.rb
        $ patch -p6 < ~/tmp/0002-Added-Rspec-tests-for-Qpid-Messaging-encode-and-deco.patch
        patching file lib/qpid/encoding.rb
        patching file spec/qpid/encoding_spec.rb

        $ rake test
        (in /home/nsantos/tmp/qpid-ruby/Qpid/qpid/cpp/bindings/qpid/ruby)
        rm -r coverage
        .................................................................................................................
        Finished in 0.066258 seconds
        113 examples, 0 failures

        Show
        Nuno Santos added a comment - Looked through the patches and ran the additional tests, all looks good: $ rake test (in /home/nsantos/tmp/qpid-ruby/Qpid/qpid/cpp/bindings/qpid/ruby) rm -r coverage ............................................................................................................. Finished in 0.102052 seconds 109 examples, 0 failures $ patch -p6 < ~/tmp/0001-Provides-a-unit-tests-for-Qpid-Messaging-Address.to_.patch patching file spec/qpid/address_spec.rb $ patch -p6 < ~/tmp/0002-Added-Rspec-tests-for-Qpid-Messaging-encode-and-deco.patch patching file lib/qpid/encoding.rb patching file spec/qpid/encoding_spec.rb $ rake test (in /home/nsantos/tmp/qpid-ruby/Qpid/qpid/cpp/bindings/qpid/ruby) rm -r coverage ................................................................................................................. Finished in 0.066258 seconds 113 examples, 0 failures
        Darryl L. Pierce made changes -
        Darryl L. Pierce created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Darryl L. Pierce
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development