blob: 7de697d1b23d5737f1b5fe7f876168a10373d10c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
1. Present a helpful GUI error message if the call to xmlNew returns Nothing.
2. Modify the podcatcher to be able to run with either the GUI or the
command-line interface from a single code base. Hint: move common code out of
PodMainGUI.hs, then have two different Main modules, one for the GUI, and one
for the command line.
Testing 1.:
Steps:
- Compile PodMainGUI
- Remove podresources.glade file
- Run PodMainGUI
Result:
- Error dialog window informing that podresources.glade file has not been
found is displayed
Testing 2.:
Steps:
- Compile PodMainGUI
- Run PodMainGUI
- Add a podcast
- Click Update
- Click Download
Result:
- The mp3 files have been downloaded
Steps:
- Exit PodMainGUI
- Remove pod.db file
- Remove the mp3 files
- Run PodMainGUI
- Add a podcast
- Click Fetch
Result:
- The mp3 files have been downloaded
Steps:
- Exit PodMainGUI
- Compile PodMainCLI
- Run PodMainCLI
- Add a podcast
- Run Update
- Run Download
Result:
- The mp3 files have been downloaded
Steps:
- Exit PodMainCLI
- Remove pod.db file
- Remove the mp3 files
- Run PodMainCLI
- Add a podcast
- Run Fetch
Result:
- The mp3 files have been downloaded
|