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

Exit/entry set calculation includes too many states

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • None
    • 5.4.1, 5.5.0 Alpha
    • State Machine
    • None

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes