Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Describes the tests needed to validate the GetFileIDs functionality.


Prerequisites: A least 2 different files are are present in the collection. 

List all files
  1. Request listing of all files
    1. 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
  1. 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
  1. Request listing of a file not in the collection.
    1. An empty list is returned.
Missing files
  1. Put a new file to a single pillar
  2. Request listing of all files.
    1. 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.
  3. Delete the new file.
    1. Verify that the all the pillars only list the original files.
Bad arguments
  1. Try getting all file ids from a non-existing collection
    1. Should fail with an error telling the existing collections.
  2. Try getting the file ids from a non-existing pillar
    1. Should fail with an appropriate error containing the existing pillars
  3. Try getting a file from a pillar in a different collection
    1. Should fail with an appropriate error containing the existing pillars for the collection

  • No labels