hosts/tests
phg bc0f8b99e8 Implement command pattern for undo/redo functionality in HostsManager
- Added command classes: ToggleEntryCommand, MoveEntryCommand, AddEntryCommand, DeleteEntryCommand, UpdateEntryCommand.
- Integrated UndoRedoHistory to manage command execution and history.
- Updated HostsManager to use command-based methods for editing entries with undo/redo support.
- Enhanced HostsManagerApp to display undo/redo status and handle undo/redo actions via keyboard shortcuts.
- Refactored navigation handler to utilize command-based methods for toggling and moving entries.
- Created comprehensive tests for command classes and integration with HostsManager.
2025-08-17 21:30:01 +02:00
..
__init__.py Add unit tests for HostEntry and HostsFile models, and implement HostsParser tests 2025-07-29 14:52:31 +02:00
test_commands.py Implement command pattern for undo/redo functionality in HostsManager 2025-08-17 21:30:01 +02:00
test_config.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00
test_config_modal.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00
test_main.py Refactor entry details display: replace DataTable with disabled input widgets for improved clarity and user experience. 2025-08-17 18:45:54 +02:00
test_manager.py Enhance entry addition process: implement immediate file save after adding an entry and handle save failure by removing the entry for improved reliability. 2025-08-17 19:26:30 +02:00
test_models.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00
test_parser.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00
test_save_confirmation_modal.py Refactor tests for PermissionManager, HostsManager, HostEntry, HostsFile, and HostsParser 2025-08-14 17:32:02 +02:00