| 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 | <testcase> |
|---|
| 24 | <id> |
|---|
| 25 | test_folder_many_photos |
|---|
| 26 | </id> |
|---|
| 27 | <component> |
|---|
| 28 | SWING_UI |
|---|
| 29 | </component> |
|---|
| 30 | <summary> |
|---|
| 31 | Folder operations for several photos |
|---|
| 32 | </summary> |
|---|
| 33 | <description> |
|---|
| 34 | <![CDATA[ |
|---|
| 35 | 1. Create a new folder |
|---|
| 36 | 2. Add 1 photo to it |
|---|
| 37 | 3. Select that photo & another |
|---|
| 38 | 4. Properties->folders |
|---|
| 39 | 5. right clich the fold name & add all |
|---|
| 40 | 6. OK. Verify each photo separately |
|---|
| 41 | 7. Select both.Properties-> fodler. |
|---|
| 42 | 8. Right click foler & remove all |
|---|
| 43 | 9. Verify |
|---|
| 44 | ]]> |
|---|
| 45 | </description> |
|---|
| 46 | <expectedresult> |
|---|
| 47 | <![CDATA[ |
|---|
| 48 | 1. . |
|---|
| 49 | 2. . |
|---|
| 50 | 3. . |
|---|
| 51 | 4. The new folder is greyed & bolded |
|---|
| 52 | 5. Fodler name black |
|---|
| 53 | 6. Both photos belong to the folder |
|---|
| 54 | 7. Folder name black & bolded |
|---|
| 55 | 8. Folder disappears |
|---|
| 56 | 9. None of the photos belong to the folder |
|---|
| 57 | ]]> |
|---|
| 58 | </expectedresult> |
|---|
| 59 | </testcase> |
|---|