(t *testing.T)
| 227 | } |
| 228 | |
| 229 | func TestFileTreePageDown(t *testing.T) { |
| 230 | vm := initializeTestViewModel(t) |
| 231 | |
| 232 | width, height := 100, 10 |
| 233 | vm.Setup(0, height) |
| 234 | vm.ShowAttributes = true |
| 235 | err := vm.Update(nil, width, height) |
| 236 | checkError(t, err, "unable to update") |
| 237 | |
| 238 | err = vm.PageDown() |
| 239 | checkError(t, err, "unable to page down") |
| 240 | |
| 241 | err = vm.PageDown() |
| 242 | checkError(t, err, "unable to page down") |
| 243 | |
| 244 | err = vm.PageDown() |
| 245 | checkError(t, err, "unable to page down") |
| 246 | |
| 247 | runTestCase(t, vm, width, height, nil) |
| 248 | } |
| 249 | |
| 250 | func TestFileTreePageUp(t *testing.T) { |
| 251 | vm := initializeTestViewModel(t) |
nothing calls this directly
no test coverage detected