[JAVA-1417] Unused methods in DB need testing Created: 28/Aug/14  Updated: 23/Jun/17  Resolved: 23/Jun/17

Status: Closed
Project: Java Driver
Component/s: Test Coverage
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Trisha Gee Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Test Coverage

 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.


Generated at Thu Feb 08 08:54:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.