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

Add composing-matchers (AnyOf, AllOf) for dynamic ranges of matchers

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Service Arch

      The unittest ASSERT_THAT/matchers API has some matchers that compose other matchers so that they "match" when AnyOf or AllOf the matchers they compose over match. 

      But these composing-matchers only work over a statically sized pack of matchers, not a dynamic range (like a std::vector). Let's add some similar matchers that work over a dynmically sized range, using something like the STL (begin, end) iterator range APis. 

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            george.wangensteen@mongodb.com George Wangensteen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: