Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GD-221: Fix GdUnit Inspector button bar run status issues when a scene is open #229

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

MikeSchulze
Copy link
Owner

Why

The button bar did not adjust the execution state when the test was running and a scene was open in the editor.

What

There was an error in handling the current status of the test execution. We perform a periodic check_test_run_stopped_manually to ensure that we eventually stop when the test is manually stopped. With this check, we test for _is_running==true, but the status was set to true too early.

  • set status _is_running is now only set to true when the testrunner is started and not before.
  • fix warning unused_parameter at SceneRunner#set_property

# Why
The button bar did not adjust the execution state when the test was running and a scene was open in the editor.

# What
There was an error in handling the current status of the test execution.
We perform a periodic `check_test_run_stopped_manually` to ensure that we eventually stop when the test is manually stopped.
With this check, we test for `_is_running==true`, but the status was set to true too early.
- set status _is_running is now only set to true when the testrunner is started and not before.
- fix warning `unused_parameter` at SceneRunner#set_property
@MikeSchulze MikeSchulze self-assigned this Jul 19, 2023
@MikeSchulze MikeSchulze linked an issue Jul 19, 2023 that may be closed by this pull request
@MikeSchulze MikeSchulze merged commit 3f1f6ee into master Jul 19, 2023
@MikeSchulze MikeSchulze deleted the GD-221 branch July 19, 2023 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GD-221: The inspector buttons do not reflect the execution state
1 participant