Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365336 - Make ValidatorTester injectable
Summary: Make ValidatorTester injectable
Status: CLOSED DUPLICATE of bug 394248
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 11:51 EST by Christian Dietrich CLA
Modified: 2016-04-29 10:20 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Dietrich CLA 2011-12-01 11:51:28 EST
Build Identifier: 2.1.1

ValidatorTester is not injectable.
change the constructor to 

@Inject
public ValidatorTester(T validator, Injector injector) {

}

should do the trick

Reproducible: Always
Comment 1 Christian Dietrich CLA 2016-04-29 10:20:14 EDT

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