Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1417

Unused methods in DB need testing

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Test Coverage
    • None

    Description

      Public methods in DB appear unused, which implies they need test coverage:

      • resetOptions

      And the deprecated methods:

      • slaveOk
      • addUser

      While I could be sold on the unused deprecated methods (although I'm not sure that just because they're deprecated means we can't make sure they work the way we expect, at least until a deletion date is decided) the reset method definitely needs testing. A test would ensure we don't accidentally introduce regression bugs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            trisha.gee@10gen.com Trisha Gee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: