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

Create unittest fixture for SBE expression tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: 4.5 Desired
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 2020-08-24

      New expressions added to the SBE engine should come along with a unit test. To make unit testing of such expressions easier, we need to implement a base test fixture which would perform some basic set up and provide a helper method(s) to evaluate an expression and validate the results.

      The helper method should compile the given expression into a bytecode, set up the VM and the compilation context, execute the bytecode and return the result to the caller.

            Assignee:
            justin.seyster@mongodb.com Justin Seyster
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: