root / tests / testcases / test_delete.xml

Revision 503:cdf71fec97c4, 1.8 kB (checked in by Harri Kaimio <harri@…>, 5 years ago)

Removed ampersands from file

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4  Copyright (c) 2006 Harri Kaimio
5 
6  This file is part of Photovault.
7
8  Photovault is free software; you can redistribute it and/or modify it
9  under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2 of the License, or
11  (at your option) any later version.
12
13  Photovault is distributed in the hope that it will be useful, but
14  WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  General Public License for more details.
17
18  You should have received a copy of the GNU General Public License
19  along with Photovault; if not, write to the Free Software Foundation,
20  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
21-->
22
23<!-- 
24Test case for verifying basic delete functionality
25-->
26
27<testcase>
28    <id>test_delete</id>
29    <component>imginfo</component>
30    <summary>
31        Verify that photos are deleted correctly from UI
32    </summary>
33    <description>
34        1. Create external volume with 1 subdirectory. Add 3 images to the
35        external volume: 1 only to main directory, 1 to subdirectory, 1 to both.
36        Remove write access from the subdirectory. Index the volume.
37        2. Switch to main folder of external volume, select both images and delete.
38        Make sure that the one that is only in main directory disappears from view.
39        3. Check that the other image is still visible in subdirectory
40        4. Restart Photovault, check that changes are persisted correctly.
41        5. Check from raw database data that deleted PhotoInfo does not exist.
42       
43    </description>
44    <expectedresult>
45        Photo 1 is deleted but the photo that had instance in write-protected
46        subdirectory is not.
47    </expectedresult>
48</testcase> 
49       
Note: See TracBrowser for help on using the browser.