(t *testing.T)
| 190 | } |
| 191 | |
| 192 | func TestFileTreeSelectLayer(t *testing.T) { |
| 193 | vm := initializeTestViewModel(t) |
| 194 | |
| 195 | width, height := 100, 100 |
| 196 | vm.Setup(0, height) |
| 197 | vm.ShowAttributes = true |
| 198 | |
| 199 | // collapse /bin |
| 200 | err := vm.ToggleCollapse(nil) |
| 201 | checkError(t, err, "unable to collapse /bin") |
| 202 | |
| 203 | // select the next layer, compareMode = layer |
| 204 | err = vm.SetTreeByLayer(0, 0, 1, 1) |
| 205 | if err != nil { |
| 206 | t.Errorf("unable to SetTreeByLayer: %v", err) |
| 207 | } |
| 208 | runTestCase(t, vm, width, height, nil) |
| 209 | } |
| 210 | |
| 211 | func TestFileShowAggregateChanges(t *testing.T) { |
| 212 | vm := initializeTestViewModel(t) |
nothing calls this directly
no test coverage detected