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

Provide Unit Test for Issue #214 Engine.getEntitiesFor() during EntityListener.entityRemoved #217

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Barryrowe
Copy link
Contributor

This provides an example set of tests produced when tracking down the root cause of this issue. The test that highlights the issue is PooledEngineTests.removeDuringEntityRemovedHandledOk.

Line 518 will need to be uncommented to reproduce. I have it commented so tests pass by default at the moment.

Adding tests that should recreate the issue. Original issue must be
somewhere else in the project original found in.
Attempting to use up pooled entities to see if a previously pooled entity
caused the issue. No luck, all good.
Issue number libgdx#214 is recreated in this new unit test if the commented line
is uncommented. Line 518 in PooledEngineTests.java
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.

None yet

1 participant