Commit c9454a2
committed
Limit access to junit platform engines
Currently the testruntime is exposed to multiple engines and the check
for compatibility does not work well in the case of JUnit 5/6 on the
classpath.
This now
- limit the dynamic import to a range of the currently only supported
junit 5
- remove the falsely check for compatible engines
- enhance the multi-bundle classloader to not expose META-INF/services/*
from bundles not strictly classloader compatible for the given service
interface1 parent e5ecc3a commit c9454a2
File tree
3 files changed
+37
-22
lines changed- ui/org.eclipse.pde.junit.runtime
- META-INF
- src/org/eclipse/pde/internal/junit/runtime
3 files changed
+37
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
Lines changed: 30 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
| 31 | + | |
28 | 32 | | |
29 | | - | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
32 | 41 | | |
33 | 42 | | |
34 | 43 | | |
| |||
63 | 72 | | |
64 | 73 | | |
65 | 74 | | |
| 75 | + | |
66 | 76 | | |
67 | | - | |
68 | | - | |
69 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
70 | 88 | | |
71 | 89 | | |
72 | 90 | | |
73 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
74 | 100 | | |
Lines changed: 6 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 156 | | |
165 | | - | |
| 157 | + | |
166 | 158 | | |
167 | 159 | | |
168 | 160 | | |
169 | 161 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
| 162 | + | |
175 | 163 | | |
176 | 164 | | |
177 | 165 | | |
| |||
204 | 192 | | |
205 | 193 | | |
206 | 194 | | |
207 | | - | |
| 195 | + | |
| 196 | + | |
208 | 197 | | |
209 | 198 | | |
210 | 199 | | |
| |||
0 commit comments