Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

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

...

    1. should have been removed from the collection and a checksum should have been returned.
  1. Delete the

...

  1. 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

...

  1. 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.
Child pages (Children Display)
excerpttrue
excerptTypesimple