Update test framework to align with C++ style

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT10.0.0, 4.9.0, 4.4.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2021-02-22
    • 5

      Error handling routine consistency:

      • Replace all instances of WT_RET with a new function that does something similar to:
        check_success(int errorcode, _LINE_) and aborts the test program in case of an error.

      Configuration parser:

      • Update the configuration_settings.h to return a std::optional instead of return an error code and passing a pointer, effectively converting from C style to C++ style.

      Main function of poc.cxx:

      • Return error code instead of exception when parsing args

      random_generator class:

      • random_generator should delete copy constructor and = operator

            Assignee:
            Etienne Petrel
            Reporter:
            Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: