DBCollection test coverage

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Test Coverage
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Trisha Gee (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: