Skip to content

Conversation

hrishav77
Copy link
Contributor

@hrishav77 hrishav77 commented Apr 3, 2025

Summary

This PR adds unit tests for the import_bitmap_panel.py file, focusing on key functionalities like tree population, button events, and PubSub messaging.

Testing Approach

This PR focusing on key functionalities of its GUI components. The tests aim to validate the following:

  • Tree Population: Ensures that the TextPanel correctly populates the tree structure with provided data.

  • Button Events: Verifies the behavior of the OK and Cancel buttons, including PubSub messaging and dialog parameter passing.

  • Key Press Handling: Tests DELETE key functionality for removing tree items and triggering appropriate PubSub messages.

  • Interval Selection: Validates that the combo box correctly reflects all interval options and updates as expected.

  • PubSub Messaging: Confirms that PubSub messages are sent appropriately during selection changes and bitmap panel updates.

Builds on the test framework introduced in PR #907 for issue #496

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.

1 participant