Describes the tests needed to validate the GetFileIDs functionality.
Prerequisites: A least 2 different files are are present in the collection.
List all files
- Request listing of all files
- The existing files in the system should be listed with their size and a count of pillars where the file is present.
List known file
- Request listing of a single existing file, see it comes back in the listing with the correct file size and pillar count.
List unknown file
- Request listing of a file not in the collection.
- An empty list is returned.
Missing files
- Put a new file to a single pillar
- Request listing of all files.
- Verify that the pillar containing the new file lists this file, and that the rest of the pillars only lists the original set of files.
- Delete the new file.
- Verify that the all the pillars only list the original files.
Bad arguments
- Try getting all file ids from a non-existing collection
- Should fail with an error telling the existing collections.
- Try getting the file ids from a non-existing pillar
- Should fail with an appropriate error containing the existing pillars
- Try getting a file from a pillar in a different collection
- Should fail with an appropriate error containing the existing pillars for the collection