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

Add Enaml regression tests. #24

Closed
wants to merge 1 commit into from
Closed

Conversation

pberkes
Copy link

@pberkes pberkes commented Nov 20, 2013

Enaml does not define tests, but on the other hand we need to make sure that the core content remains stable for our applications. This PR defines a new sub-package, enaml_tests, where we can store regression tests against enaml itself.

The first test defined here tests that the destroy method in QtToolkitObject deletes the Qt widget. This currently fails, and I filed a PR in Enaml to fix it.

Please only merge when Enaml is fixed.

@pberkes
Copy link
Author

pberkes commented Nov 20, 2013

Closing this PR, since the corresponding Enaml PR was rejected:
nucleic/enaml#85

Please remember to delete the Qt controls by hand if you are for example embedding an Enaml view in an external Qt application (e.g. pyface.tasks). At a minimum, you need to remove all strong references to the UI control so that the widgets can be garbage collected.

@pberkes pberkes closed this Nov 20, 2013
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