(self)
| 198 | self.set_entry(min((self.current_entry + 1), len(self.entries) - 1)) |
| 199 | |
| 200 | def reject_test(self): |
| 201 | entry = self.entries[self.current_entry] |
| 202 | if entry.status == 'autogen': |
| 203 | print('Cannot reject autogenerated test cases.') |
| 204 | return |
| 205 | entry.reject() |
| 206 | self.filelist.currentItem().setText( |
| 207 | self.entries[self.current_entry].display) |
| 208 | # Auto-move to the next entry |
| 209 | self.set_entry(min((self.current_entry + 1), len(self.entries) - 1)) |
| 210 | |
| 211 | def keyPressEvent(self, e): |
| 212 | if e.key() == QtCore.Qt.Key.Key_Left: |
no test coverage detected