(remoteName, shareName, name string)
| 604 | } |
| 605 | |
| 606 | func (s *system) checkFileContents(remoteName, shareName, name string) { |
| 607 | expected := s.read(remoteName, shareName, name) |
| 608 | actual := s.readViaWebDAV(remoteName, shareName, name) |
| 609 | if expected != actual { |
| 610 | s.t.Errorf("%s/%s/%s should show same contents via WebDAV read as local read\nwant: %q\nhave: %q", remoteName, shareName, name, expected, actual) |
| 611 | } |
| 612 | } |
| 613 | |
| 614 | func (s *system) checkDirList(label string, path string, want ...string) { |
| 615 | got, err := s.client.ReadDir(path) |
no test coverage detected