2 +++ grabbag unit test: picture
4 testing grabbag__picture_parse_specification("")... OK (failed as expected, error: error opening picture file)
5 testing grabbag__picture_parse_specification("||||")... OK (failed as expected: error opening picture file)
6 testing grabbag__picture_parse_specification("|image/gif|||")... OK (failed as expected: error opening picture file)
7 testing grabbag__picture_parse_specification("|image/gif|desc|320|0.gif")... OK (failed as expected: invalid picture specification: can't parse resolution/color part)
8 testing grabbag__picture_parse_specification("|image/gif|desc|320x240|0.gif")... OK (failed as expected: invalid picture specification: can't parse resolution/color part)
9 testing grabbag__picture_parse_specification("|image/gif|desc|320x240x9|")... OK (failed as expected: error opening picture file)
10 testing grabbag__picture_parse_specification("|image/gif|desc|320x240x9/2345|0.gif")... OK (failed as expected: invalid picture specification: can't parse resolution/color part)
11 testing grabbag__picture_parse_specification("1|-->|desc|32x24x9|0.gif")... OK (failed as expected: type 1 icon must be a 32x32 pixel PNG)
12 testing grabbag__picture_parse_specification("|-->|desc||http://blah.blah.blah/z.gif")... OK (failed as expected: unable to extract resolution and color info from URL, user must set explicitly)
13 testing grabbag__picture_parse_specification("|-->|desc|320x240x9|http://blah.blah.blah/z.gif")... OK
14 testing grabbag__picture_parse_specification("pictures/0.gif")... OK
15 testing grabbag__picture_parse_specification("pictures/1.gif")... OK
16 testing grabbag__picture_parse_specification("pictures/2.gif")... OK
17 testing grabbag__picture_parse_specification("pictures/0.jpg")... OK
18 testing grabbag__picture_parse_specification("pictures/4.jpg")... OK
19 testing grabbag__picture_parse_specification("pictures/0.png")... OK
20 testing grabbag__picture_parse_specification("pictures/1.png")... OK
21 testing grabbag__picture_parse_specification("pictures/2.png")... OK
22 testing grabbag__picture_parse_specification("pictures/3.png")... OK
23 testing grabbag__picture_parse_specification("pictures/4.png")... OK
24 testing grabbag__picture_parse_specification("pictures/5.png")... OK
25 testing grabbag__picture_parse_specification("pictures/6.png")... OK
26 testing grabbag__picture_parse_specification("pictures/7.png")... OK
27 testing grabbag__picture_parse_specification("pictures/8.png")... OK
28 testing grabbag__picture_parse_specification("3|image/gif|||pictures/0.gif")... OK
29 testing grabbag__picture_parse_specification("4|image/gif|||pictures/1.gif")... OK
30 testing grabbag__picture_parse_specification("0|image/gif|||pictures/2.gif")... OK
31 testing grabbag__picture_parse_specification("3|image/jpeg|||pictures/0.jpg")... OK
32 testing grabbag__picture_parse_specification("3|image/jpeg|||pictures/4.jpg")... OK
33 testing grabbag__picture_parse_specification("3|image/png|||pictures/0.png")... OK
34 testing grabbag__picture_parse_specification("3|image/png|||pictures/1.png")... OK
35 testing grabbag__picture_parse_specification("3|image/png|||pictures/2.png")... OK
36 testing grabbag__picture_parse_specification("3|image/png|||pictures/3.png")... OK
37 testing grabbag__picture_parse_specification("3|image/png|||pictures/4.png")... OK
38 testing grabbag__picture_parse_specification("3|image/png|||pictures/5.png")... OK
39 testing grabbag__picture_parse_specification("3|image/png|||pictures/6.png")... OK
40 testing grabbag__picture_parse_specification("3|image/png|||pictures/7.png")... OK
41 testing grabbag__picture_parse_specification("999|image/png|||pictures/8.png")... OK
42 testing grabbag__picture_parse_specification("3|image/gif||320x240x3/2|pictures/0.gif")... OK