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 4 Next »

Describes the tests needed to validate the Delete functionality.

Basic delete

  1. Attempt to delete a existing file on a pillar, supplying a correct checksum.
    1. The file should have been removed from the collection. Use the getFileIDs and getChecksums operation to verify the deletion.

Delete with returned checksum

  1. Attempt to delete a existing file on a pillar, requesting the return of a pillar calculated,salted checksum.
    1. The file should have been removed from the collection and a checksum should have been returned.
  2. Delete the file on a different pillar, requesting the return of a pillar calculated,salted checksum.
    1. Verify that the returned checksums are the same.

Bad checksum delete

  1. Attempt to delete a existing file on a pillar, supplying a incorrect checksum.
    1. The file should have been not have been removed from the collection and the pillar should inform the user that the cause was the incorrect checksum. Use the getFileIDs and getChecksums operation to verify the deletion.

Missing file delete

  1. Attempt to delete a file that does not exist in the collection.
    1. The pillar should inform the user that no file was delete, as the given file ID didn't exist.
  • No labels