Commit bfbbc87
Resources / Runtime tests: Do not depend on higher-level plug-ins.
* PreferencesServiceTest is not deterministic but its behavior changes
depending on the presence of downstream plug-in
org.eclipse.core.resources. Take this into account.
* IResourceTest should not depend on downstream plug-in
org.eclipse.ui.ide (even inside a downstream repository).
Use a different (upstream) filter provider in the unit test instead.
These downstream plug-ins are currently only visible because Tycho adds
the full-blown UI test harness to the target platform unconditionally,
even if there is no such actual dependency [1]. This is a cleanup in
preparation for [2].
[1] eclipse-tycho/tycho#5349
[2] eclipse-tycho/tycho#53621 parent e030a67 commit bfbbc87
File tree
2 files changed
+20
-5
lines changed- resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources
- runtime/tests/org.eclipse.core.tests.runtime/src/org/eclipse/core/tests/internal/preferences
2 files changed
+20
-5
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1101 | 1101 | | |
1102 | 1102 | | |
1103 | 1103 | | |
1104 | | - | |
1105 | | - | |
1106 | | - | |
| 1104 | + | |
| 1105 | + | |
| 1106 | + | |
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
| |||
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| |||
222 | 223 | | |
223 | 224 | | |
224 | 225 | | |
225 | | - | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
229 | | - | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
230 | 245 | | |
231 | 246 | | |
232 | 247 | | |
| |||
0 commit comments