()
| 297 | } |
| 298 | |
| 299 | func makeBasicTestCases() (testCaseList, testCaseList) { |
| 300 | filesToCheck := testCaseList{ |
| 301 | checkedFileOrFolder{ |
| 302 | path: "testFileLocal", |
| 303 | shouldExistInLocal: true, |
| 304 | shouldExistInRemote: true, |
| 305 | editLocation: editInLocal, |
| 306 | }, |
| 307 | checkedFileOrFolder{ |
| 308 | path: "ignoreFileLocal", |
| 309 | shouldExistInLocal: true, |
| 310 | shouldExistInRemote: false, |
| 311 | editLocation: editInLocal, |
| 312 | }, |
| 313 | checkedFileOrFolder{ |
| 314 | path: "noDownloadFileLocal", |
| 315 | shouldExistInLocal: true, |
| 316 | shouldExistInRemote: true, |
| 317 | editLocation: editInLocal, |
| 318 | }, |
| 319 | checkedFileOrFolder{ |
| 320 | path: "noUploadFileLocal", |
| 321 | shouldExistInLocal: true, |
| 322 | shouldExistInRemote: false, |
| 323 | editLocation: editInLocal, |
| 324 | }, |
| 325 | } |
| 326 | |
| 327 | foldersToCheck := testCaseList{ |
| 328 | checkedFileOrFolder{ |
| 329 | path: "testFolder", |
| 330 | shouldExistInLocal: true, |
| 331 | shouldExistInRemote: true, |
| 332 | editLocation: editInLocal, |
| 333 | }, |
| 334 | checkedFileOrFolder{ |
| 335 | path: "testFolderLocal", |
| 336 | shouldExistInLocal: true, |
| 337 | shouldExistInRemote: true, |
| 338 | editLocation: editInLocal, |
| 339 | }, |
| 340 | checkedFileOrFolder{ |
| 341 | path: "ignoreFolderLocal", |
| 342 | shouldExistInLocal: true, |
| 343 | shouldExistInRemote: false, |
| 344 | editLocation: editInLocal, |
| 345 | }, |
| 346 | checkedFileOrFolder{ |
| 347 | path: "noDownloadFolderLocal", |
| 348 | shouldExistInLocal: true, |
| 349 | shouldExistInRemote: true, |
| 350 | editLocation: editInLocal, |
| 351 | }, |
| 352 | checkedFileOrFolder{ |
| 353 | path: "noUploadFolderLocal", |
| 354 | shouldExistInLocal: true, |
| 355 | shouldExistInRemote: false, |
| 356 | editLocation: editInLocal, |
no test coverage detected