root / tests / testcases / test_startup_existing_db.xml

Revision 547:7e549b22adef, 2.1 kB (checked in by Harri Kaimio <harri@…>, 5 years ago)

Fixed a typo

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<testcase>
23    <id>
24        test_startup_existing_db
25    </id>
26    <component>generic
27    </component>
28    <ummary>
29        Startup without existing database
30    </ummary>
31    <description>
32        <![CDATA[
33        1. Start photovault with property user.home set to a temporary empty directory
34        2. Click "create"
35        3. Open file chooser for directory
36        4. create a new directory "photos" & press OK
37        5. Set up the SQL database host & name
38        6. Press OK.
39        7. Enter the administrator id & password
40        8. Press OK
41        9. Enter username & password, select the database that was just created
42        10. Import photo to the database
43        11. Restart photovault
44        ]]>
45    </description>
46    <expectedresult>
47        <![CDATA[
48        1. Dialog box informs that no database exists
49        2. Dialog box for setting up the database
50        3. File chooser starts at the user.home directory
51        4. volume directory set to "photos"
52        5. N/A
53        6. Admin login asked
54        7. Dialog informs that DB creation was succesful
55        8. Normal login dialog displayed
56        9. Photovault opened
57        10. Photo imported & visible in database
58        11. Normal login, the image is visible
59        ]]>
60    </expectedresult>
61</testcase>
Note: See TracBrowser for help on using the browser.