use of org.eclipse.xtext.ui.refactoring.ui.IRenameSupport in project xtext-eclipse by eclipse.
the class RefactoringTest method testRenameJvmReference.
@Test
public void testRenameJvmReference() throws Exception {
setLanguageConfig(false, false);
IRenameSupport renameSupport = createRenameSupportForJvmReference();
assertNull(renameSupport);
}
use of org.eclipse.xtext.ui.refactoring.ui.IRenameSupport in project xtext-eclipse by eclipse.
the class RefactoringTest method testRenameElement.
@Test
public void testRenameElement() throws Exception {
setLanguageConfig(false, false);
IRenameSupport renameSupport = createRenameSupportForElement();
assertNull(renameSupport);
}
use of org.eclipse.xtext.ui.refactoring.ui.IRenameSupport in project xtext-eclipse by eclipse.
the class RefactoringTest method testRenameJvmReference_2.
@Test
public void testRenameJvmReference_2() throws Exception {
setLanguageConfig(true, true);
IRenameSupport renameSupport = createRenameSupportForJvmReference();
assertNotNull(renameSupport);
renameSupport.startDirectRefactoring();
waitForBuild();
assertXtextJvmRefRefactored();
assertJavaRefactored();
}
Aggregations