Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-40539

Rename DocumentSourceMock to DocumentSourceQueue

    • Fully Compatible
    • Query 2019-05-20, Query 2019-06-03

      As of SERVER-40381 we'll be using this for more than just testing, so its name should indicate it as such.

      As DocumentSourceMock includes testing focused characteristics, like construction of an ExpressionContextForTest, we should consider doing the following:
      1) Rename DocumentSourceMock to DocumentSourceQueue
      2) Move DocumentSourceQueue into the 'pipeline' library, and reference from the 'update' library (removing the document_source_mock reference).
      3) Creating DocumentSourceMock as a subclass of DocumentSourceQueue, pulling the testing aspects out of DocumentSourceQueue into the new DocumentSourceMock.

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: