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

DBCollection test coverage

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Coverage
    • Labels:
      None

      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)

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

              Created:
              Updated:
              Resolved: