Format policy registry tests
FPR customization permanency testing
Several FPR customizations were applied to an Archivematica 1.6.1 site, which was then upgraded to Archivematica qa/1.x to test the permanency of these changes.
Test 1: Rename formats
Illustrator format versions renamed with version number.
Expected result:
- All formats still renamed
Actual result:
- All formats still renamed
Test outcome: PASSED
Test 2: Assign preservation format marker
For all JPEG format versions, checked off the “Preservation format?” box.
Expected result:
- All JPEGs still typed as preservation formats
Actual result:
- All JPEGs still typed as preservation formats
Test outcome: PASSED
Test 3: Assign different normalization rule
Assigned the “transcode to tif using convert” command to the format Better Portable Graphics, for the purpose of preservation.
Expected result:
- BPGs still have the above rule
Actual result:
- BPGs still have the above rule
Test outcome: PASSED
Test 4: Disable normalization command
Disabled “Transcoding to mp3 with ffmpeg” normalization command.
Expected result:
- Command still disabled
Actual result:
- Command still disabled
Test outcome: PASSED
Test 5: Reassign rule
Reassigned Broadcast WAVE 1 from the disabled “Transcoding to mp3 with ffmpeg” rule to “Transcoding to wav with ffmpeg” Also enabled format rule as it was disabled by Test 4.
Expected result:
- Rule still set to transcode to wav and enabled
Actual result:
- Rule still set to transcode to wav and enabled
Test outcome: PASSED
Test 6: Create new command and assign
Created a new command “my custom rule for testing” and assigned it to the format Scitex Continuous Tone Bitmap.
Expected result:
- Rule still exists and is assigned to the format
Actual result:
- Rule still exists and is assigned to the format
Test outcome: PASSED