Set up test fixtures.
(self)
| 257 | """Test command index jumping functionality.""" |
| 258 | |
| 259 | def setUp(self): |
| 260 | """Set up test fixtures.""" |
| 261 | self.command_history = CommandHistory() |
| 262 | |
| 263 | # Add test commands |
| 264 | for i in range(5): |
| 265 | cmd = MockCommand(f"Command {i}") |
| 266 | self.command_history.execute_command(cmd) |
| 267 | |
| 268 | def test_jump_to_earlier_index(self): |
| 269 | """Test jumping to earlier index (undo operations).""" |
nothing calls this directly
no test coverage detected