@Override
 @Before
 public void setUp() throws Exception {
   super.setUp();
   with(LambdaStandaloneSetup.class);
   typeSystem = get(LambdaXsemanticsSystem.class);
   stringProvider = get(LambdaStringRepresentation.class);
 }
Esempio n. 2
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   setInjector(
       Activator.getInstance()
           .getInjector("org.eclipse.xtext.ui.tests.refactoring.RefactoringTestLanguage"));
   getInjector().injectMembers(this);
   fragmentProvider.setUseNames(true);
 }
Esempio n. 3
0
 @Override
 public void tearDown() throws Exception {
   fragmentProvider.setUseNames(false);
   super.tearDown();
 }
Esempio n. 4
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   with(XtextTerminalsTestLanguageStandaloneSetup.class);
 }
 @Override
 public void setUp() throws Exception {
   super.setUp();
   with(XtextStandaloneSetup.class);
 }
 @Override
 public void setUp() throws Exception {
   super.setUp();
   with(IndentationAwareTestLanguageStandaloneSetup.class);
 }
Esempio n. 7
0
 @Override
 public void tearDown() throws Exception {
   expectedClass = null;
   expectedClassName = null;
   super.tearDown();
 }