Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45109

Exit/entry set calculation includes too many states

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.4.1, 5.5.0 Alpha
    • Fix Version/s: None
    • Component/s: Core: State Machine
    • Labels:
      None

      Description

      For the state machine in the test tst_QStateMachine::parallelStateTransition() the calculated exit set is too broad. It holds s1InitialChild (which is correct), but also s1, s2, s2InitialChild, and parallelState. This results in too many signal emissions. The entry set calculation has exactly the same problem.

      The test itself is also incorrect for this reason: it expects too many signal emissions. The only activeChanged signals should come from s1InitialChild and s1OtherChild.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            erikv Erik Verbruggen
            Reporter:
            erikv Erik Verbruggen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes