Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365336

Summary: Make ValidatorTester injectable
Product: [Modeling] TMF Reporter: Christian Dietrich <christian.dietrich.opensource>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

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 ***