(path string)
| 229 | } |
| 230 | |
| 231 | func (g *TestSetupManager) AssertLocalDataEquals(path string) bool { |
| 232 | var sourceDir string |
| 233 | if filepath.IsAbs(path) { |
| 234 | sourceDir = path |
| 235 | } else { |
| 236 | sourceDir = filepath.Join(g.UpstreamRepo.DatasetDirectory, path) |
| 237 | } |
| 238 | destDir := filepath.Join(g.LocalWorkspace.WorkspaceDirectory, g.targetDir) |
| 239 | return g.UpstreamRepo.AssertEqual(g.T, sourceDir, destDir) |
| 240 | } |
| 241 | |
| 242 | func (g *TestSetupManager) SetLocalData(path string) bool { |
| 243 | if !assert.NoError(g.T, copyutil.CopyDir( |