47670470b7bc52c4dafab3ba3826edf564e36e63
[emufront] / doc / tests.txt
1 1. Start EmuFront
2 -----------------
3 - if database already exists move/remove it:
4
5         $ mv ~/emufront.db.sqlite ~/emufront.db.sqlite.bak
6
7 - start EmuFront from command line
8
9         $ emufront
10
11 > EmuFront main window opens
12         > File, Config & Help menu is shown
13         > empty combo box for selecting setups and emulators is shown
14         > empty area for filtered media image containers is shown
15
16 2. Set temporary directory
17 --------------------------
18 - Select 'Config->Temp dir'
19 > A file selector is opened, only folders can be selected
20 - Select a folder
21 > A messagebox is shown telling that the Temporary directory has been updated to selected folder.
22
23 3. Platform
24 -----------
25
26 3.1. Add platform
27 -----------------
28 - Select 'Config->Set platforms'
29 > New view is opened with a title describing about setting platforms
30         > 'Add' and 'OK' buttons active
31         > 'Edit' and 'Delete' buttons disabled
32 - Click 'Add' button
33 > New entry is created to the platform table view
34         > The name field in the new row is activated for editing
35 - Type a platform name, e.g. 'Commodore 128' and press enter
36 > The name field presents the platform name
37         >editing is disabled 
38 - Add a couple of more platforms (>= 3)
39
40 3.2. Edit platform
41 ----------------
42
43 3.2.1. Edit platform by double clicking first row
44 -----------------------------------------------
45 - double click a platform name in the first row 
46 > The name field in the first row is activated for editing
47 - Change the name, eg. 'Commodore 128' -> 'Commodore 64' and press enter
48 > The name field presents the platform name
49         >editing is disabled 
50
51 3.2.2. Edit platform by double clicking 2nd row
52 ---------------------------------------------
53 - double click a platform name in the second row 
54 > The name field in the second row is activated for editing
55 - Change the name, eg. 'Commodore 128' -> 'Commodore 64' and press enter
56 > The name field presents the platform name
57         >editing is disabled 
58
59 3.2.3. Edit platform by double clicking last row
60 ----------------------------------------------
61 - double click a platform name in the last row 
62 > The name field in the last row is activated for editing
63 - Change the name, eg. 'Commodore 128' -> 'Commodore 64' and press enter
64 > The name field presents the platform name
65         >editing is disabled 
66
67 3.2.4. Edit platform using 'Edit' button, 1st row
68 -----------------------------------------------
69 - Select first row 
70 > Selected row is highlighted
71 > Edit button is activated
72 - Click edit button
73 > The name field in the selected is activated for editing
74 - Change the name, eg. 'Commodore 128' -> 'Commodore 64' and press enter
75 > The name field in the selected row presents the platform name
76         >editing is disabled 
77
78 3.2.5. Edit platform using 'Edit' button, 2nd row
79 -----------------------------------------------
80 - Select 2nd row 
81 > Selected row is highlighted
82 > Edit button is activated
83 - Click edit button
84 > The name field in the selected row is activated for editing
85 - Change the name, eg. 'Commodore 128' -> 'Commodore 64' and press enter
86 > The name field in the selected row presents the platform name
87         >editing is disabled 
88
89 3.2.6. Edit platform using 'Edit' button, last row
90 -----------------------------------------------
91 - Select last row 
92 > Selected row is highlighted
93 > Edit button is activated
94 - Click edit button
95 > The name field in the selected row is activated for editing
96 - Change the name, eg. 'Commodore 128' -> 'Commodore 64' and press enter
97 > The name field in the selected row presents the platform name
98         >editing is disabled 
99
100 3.3. Delete platform
101 --------------------
102
103 3.3.1. Delete platform, 2nd row
104 -------------------------------
105 - Select 2nd row 
106 > Selected row is highlighted
107 > Delete button is activated
108 - Click Delete button
109 > Confirmation dialog is presented
110 - Select 'No'
111 > Deleting is aborted and the platform entry remains
112 - Select the same row, click delete button, answer 'Yes'
113 > Platform was removed from the table view
114
115 3.3.1. Delete platform, last row
116 -------------------------------
117 - Select last row 
118 > Selected row is highlighted
119 > Delete button is activated
120 - Click Delete button
121 > Confirmation dialog is presented
122 - Select 'No'
123 > Deleting is aborted and the platform entry remains
124 - Select the same row, click delete button, answer 'Yes'
125 > Platform was removed from the table view
126
127 3.3.1. Delete platform, 1st row
128 -------------------------------
129 - Select first row 
130 > Selected row is highlighted
131 > Delete button is activated
132 - Click Delete button
133 > Confirmation dialog is presented
134 - Select 'No'
135 > Deleting is aborted and the platform entry remains
136 - Select the same row, click delete button, answer 'Yes'
137 > Platform was removed from the table view
138
139 4. Media Types
140 --------------
141
142
143
144 X. Setupview
145 ------------
146
147 1:
148 - Add new setup when no platform or media types are yet added
149 Result:
150 - Shows error that no platform or media types are not added
151 - New row is not created
152
153 2:
154 - Add new setup when any platforms are not yet added
155 Result:
156 - Shows error that any platform is not available 
157 - New row is not created
158
159 3:
160 - Add new setup when any media types are not yet added
161 Result:
162 - Shows error that any media type is not available 
163 - New row is not created