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

DBCollection test coverage

    XMLWordPrintableJSON

Details

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

    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)

      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: