Commit bc83e4b
committed
Clear native notifications in tests
Add platform-specific notification cleanup for tests and tidy docs. Implement Windows toast history clearing (RoInitialize, WindowsCreateString, RoGetActivationFactory + IToastNotificationHistory::Clear) and include necessary WinRT headers (with correct include order). Keep Linux desktop cleanup in namespace. Replace the long Windows test sleep with a call to dismissNativeNotifications(), and shorten wait logic. Also add 'runtimeobject' to WIN32 test link libs in CMakeLists and simplify README icon docs to a single supported-formats line.1 parent 6fdb6b6 commit bc83e4b
3 files changed
Lines changed: 69 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 136 | + | |
140 | 137 | | |
141 | 138 | | |
142 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
14 | 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 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
15 | 74 | | |
16 | 75 | | |
17 | 76 | | |
| |||
24 | 83 | | |
25 | 84 | | |
26 | 85 | | |
| 86 | + | |
27 | 87 | | |
28 | 88 | | |
29 | 89 | | |
| |||
42 | 102 | | |
43 | 103 | | |
44 | 104 | | |
45 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
46 | 110 | | |
47 | 111 | | |
48 | 112 | | |
| |||
51 | 115 | | |
52 | 116 | | |
53 | 117 | | |
54 | | - | |
55 | | - | |
| 118 | + | |
56 | 119 | | |
57 | 120 | | |
58 | 121 | | |
| |||
0 commit comments