[JAVA-1431] DBCollection test coverage Created: 05/Sep/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   

The following public/protected methods are unused on DBCollection, and therefore probably require test coverage:

  • WriteResult updateMulti(final DBObject query, final DBObject update)
  • long getCount(final ReadPreference readPreference)
  • List distinct(final String fieldName, final DBObject query)
  • AggregationOutput aggregate(final DBObject firstOp, final DBObject... additionalOps)
  • void setHintFields(final List<DBObject> indexes)
  • DBObject findAndModify(final DBObject query, final DBObject sort, final DBObject update)
  • void resetOptions()
  • protected Class<? extends DBObject> getInternalClass(final String path)

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