Incorrect Test Registration with Static TestFnCtx

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.20.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      TestSuite_Add() and TestSuite_AddLive() are expected to be called with several TestFunc objects to register a test function with the provided test suite. However, the static TestFnCtx ctx; generated by TestSuite_AddFullWithTestFn() is modified on each call, affecting the shared state of the ctx registered in each Test object set in _V_TestSuite_AddFull().

              Assignee:
              Ezra Chung
              Reporter:
              Ezra Chung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: