Skip to content

Commit

Permalink
GD-135: Allow to use AssertSignal on RefCounted Objects (#136)
Browse files Browse the repository at this point in the history
# 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
  • Loading branch information
MikeSchulze authored Jul 30, 2024
1 parent 2db45e5 commit a42fa57
Show file tree
Hide file tree
Showing 7 changed files with 415 additions and 329 deletions.
2 changes: 1 addition & 1 deletion PackageVersions.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<MicrosoftSdkVersion>17.9.0</MicrosoftSdkVersion>
<MicrosoftCodeAnalysisCSharpVersion>4.9.2</MicrosoftCodeAnalysisCSharpVersion>
<MoqVersion>4.18.4</MoqVersion>
<GdUnitAPIVersion>4.3.0</GdUnitAPIVersion>
<GdUnitAPIVersion>4.3.1</GdUnitAPIVersion>
<GdUnitTestAdapterVersion>2.0.0</GdUnitTestAdapterVersion>
</PropertyGroup>
</Project>
7 changes: 7 additions & 0 deletions api/ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
v4.3.1

Bug Fixes:
* GD-135: Cannot test signals on non-node classes

-------------------------------------------------------------------------------------------------------

v4.3.0

Improvements:
Expand Down
Loading

0 comments on commit a42fa57

Please sign in to comment.