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-135: Allow to use AssertSignal on RefCounted Objects #136

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

MikeSchulze
Copy link
Owner

@MikeSchulze MikeSchulze commented Jul 30, 2024

Why

see #135

What

  • Added Node instance check before register the UnregisterEmitter on TreeExiting signals
  • Added custom cleanup method to the GodotSignalCollector to enshure all registered emitters are unregistered after the test execution
  • Covered by new test EmitSignalOnNoneNodeObjects
  • Some code cleanup/formattings
  • Update Example Project to latest API and Test Adapter
  • Increase API version to 4.3.1

@MikeSchulze MikeSchulze linked an issue Jul 30, 2024 that may be closed by this pull request
@MikeSchulze MikeSchulze self-assigned this Jul 30, 2024
@MikeSchulze MikeSchulze added bug Something isn't working gdunit4.api Issue is related to the `gdunit4.api` labels Jul 30, 2024
# Why
see #135

# What
- Added Node instance check before register the `UnregisterEmitter` on `TreeExiting` signals
- Added custom cleanup method to the GodotSignalCollector to enshure all registered emitters are unregistered after the test execution
- Covered by new test `EmitSignalOnNoneNodeObjects`
- Some code cleanup/formattings
@MikeSchulze MikeSchulze merged commit a42fa57 into master Jul 30, 2024
@MikeSchulze MikeSchulze deleted the GD-135 branch July 30, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gdunit4.api Issue is related to the `gdunit4.api`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GD-135: Cannot test signals on non-node classes
1 participant