()
| 572 | } |
| 573 | |
| 574 | func (self *ViewDriver) getLineCount() int { |
| 575 | // can't rely entirely on view.BufferLines because it returns 1 even if there's nothing in the view |
| 576 | if strings.TrimSpace(self.getView().Buffer()) == "" { |
| 577 | return 0 |
| 578 | } |
| 579 | |
| 580 | view := self.getView() |
| 581 | return len(view.BufferLines()) |
| 582 | } |
| 583 | |
| 584 | func (self *ViewDriver) IsVisible() *ViewDriver { |
| 585 | self.t.assertWithRetries(func() (bool, string) { |
no test coverage detected