Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 542505 - Enable PartRenderingEngineTests to run without dependency to InjectionEventTest
Summary: Enable PartRenderingEngineTests to run without dependency to InjectionEventTest
Status: CLOSED DUPLICATE of bug 546632
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.10   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-07 03:55 EST by Lars Vogel CLA
Modified: 2019-04-23 04:58 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2018-12-07 03:55:45 EST
https://bugs.eclipse.org/bugs/show_bug.cgi?id=422676#c2 explains the dependency the tests have.

It looks to me that PartRenderingEngineTests can be easily made run alone, if we set the default for the extended object supplier via ContextInjectionFactory.setDefault in PartRenderingEngineTests.
Comment 1 Eclipse Genie CLA 2018-12-07 04:00:39 EST
New Gerrit change created: https://git.eclipse.org/r/133637
Comment 2 Dani Megert CLA 2018-12-10 15:46:03 EST
(In reply to Lars Vogel from comment #0)
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=422676#c2 explains the
> dependency the tests have.
> 
> It looks to me that PartRenderingEngineTests can be easily made run alone,
> if we set the default for the extended object supplier via
> ContextInjectionFactory.setDefault in PartRenderingEngineTests.

And what is the advantage of such a change?
Comment 3 Lars Vogel CLA 2018-12-10 15:56:21 EST
(In reply to Dani Megert from comment #2)
> And what is the advantage of such a change?

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=422676#c2
Comment 4 Lars Vogel CLA 2019-04-23 04:58:00 EDT
Rolf is working on a complete solution via Bug 546632.

*** This bug has been marked as a duplicate of bug 546632 ***