src/GenFx.Wpf.Tests/PopulationViewerTest.cs
/// <summary>
/// Tests that the entities are updated when the state is changed.
/// </summary>
Tests that the entities are updated when the state is changed.
Tests that the entities are updated when the state is changed .
[StaFact]
        public void PopulationViewer_OnExecutionStateChanged()
        {
            TestStateTransition(ExecutionState.Running, ExecutionState.Paused, true);
            TestStateTransition(ExecutionState.Running, ExecutionState.Idle, true);
            TestStateTransition(ExecutionState.Running, ExecutionState.PausePending, false);
            TestStateTransition(ExecutionState.Idle, ExecutionState.Running, false);
            TestStateTransition(ExecutionState.Idle, ExecutionState.PausePending, false);
            TestStateTransition(ExecutionState.Idle, ExecutionState.IdlePending, false);
            TestStateTransition(ExecutionState.Paused, ExecutionState.Idle, false);
        }
[ StaFact ] public void PopulationViewer_OnExecutionStateChanged ( ) { TestStateTransition ( ExecutionState . Running , ExecutionState . Paused , true ) ; TestStateTransition ( ExecutionState . Running , ExecutionState . Idle , true ) ; TestStateTransition ( ExecutionState . Running , ExecutionState . PausePending , false ) ; TestStateTransition ( ExecutionState . Idle , ExecutionState . Running , false ) ; TestStateTransition ( ExecutionState . Idle , ExecutionState . PausePending , false ) ; TestStateTransition ( ExecutionState . Idle , ExecutionState . IdlePending , false ) ; TestStateTransition ( ExecutionState . Paused , ExecutionState . Idle , false ) ; }
Tests that the entities are updated when the state is changed.
Tests that the entities are updated when the state is changed .