Commit f49d663
committed
Extend icon deployment tests with a PNG icon
test_appdir: check whether the added 16x16 PNG icon (an export from
simple_icon.svg) is actually deployed to the 16x16 location
(the non-SVG branch in AppDir wasn't covered with a test before).
test_linuxdeploy: since this test doesn't involve looking into
the actual icon dimensions, the same icon is deployed as 32x32 and
128x128, in order to test the majority of the icon selection algorithm.1 parent 191de4b commit f49d663Copy full SHA for f49d663
4 files changed
+20-8Lines changed: 20 additions & 8 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- tests
- core
- data
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+3-2Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
| 11 | + |
11 | 12 | |
12 | 13 | |
13 | 14 | |
| ||
27 | 28 | |
28 | 29 | |
29 | 30 | |
30 | | - |
| 31 | + |
31 | 32 | |
32 | 33 | |
33 | 34 | |
|
Collapse file
+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
100 | 100 | |
101 | 101 | |
102 | 102 | |
103 | | - |
| 103 | + |
| 104 | + |
104 | 105 | |
105 | 106 | |
106 | | - |
| 107 | + |
| 108 | + |
107 | 109 | |
108 | 110 | |
109 | 111 | |
|
Collapse file
tests/core/test_linuxdeploy.cpp
Copy file name to clipboardExpand all lines: tests/core/test_linuxdeploy.cpp+13-4Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | | - |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
34 | 40 | |
35 | 41 | |
36 | 42 | |
| ||
70 | 76 | |
71 | 77 | |
72 | 78 | |
73 | | - |
74 | | - |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
75 | 84 | |
76 | 85 | |
77 | 86 | |
|
Collapse file
tests/data/simple_icon.png
Copy file name to clipboard102 Bytes- Display the source diff
- Display the rich diff
Loading
0 commit comments