mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Cosmetics.
This commit is contained in:
parent
379dcc20dd
commit
ea4ce17b7d
2 changed files with 8 additions and 15 deletions
|
@ -59,14 +59,11 @@ public class ExtractFunctionRefactoringTest extends RefactoringTest {
|
|||
if (fatalError) {
|
||||
assertConditionsFatalError(checkInitialConditions);
|
||||
return;
|
||||
}
|
||||
else{
|
||||
} else {
|
||||
assertConditionsOk(checkInitialConditions);
|
||||
setValues(info);
|
||||
executeRefactoring(refactoring);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
protected void executeRefactoring(CRefactoring refactoring) throws CoreException, Exception {
|
||||
|
@ -98,7 +95,6 @@ public class ExtractFunctionRefactoringTest extends RefactoringTest {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
protected void configureRefactoring(Properties refactoringProperties) {
|
||||
methodName = refactoringProperties.getProperty("methodname", "exp"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
@ -109,5 +105,4 @@ public class ExtractFunctionRefactoringTest extends RefactoringTest {
|
|||
visibility = VisibilityEnum.getEnumForStringRepresentation(refactoringProperties.getProperty("visibility", VisibilityEnum.v_private.toString())); //$NON-NLS-1$
|
||||
virtual = Boolean.valueOf(refactoringProperties.getProperty("virtual", "false")).booleanValue(); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -18,7 +18,6 @@ import org.eclipse.cdt.ui.tests.refactoring.RefactoringTester;
|
|||
|
||||
/**
|
||||
* @author Emanuel Graf
|
||||
*
|
||||
*/
|
||||
public class ExtractFunctionTestSuite extends TestSuite {
|
||||
|
||||
|
@ -33,5 +32,4 @@ public class ExtractFunctionTestSuite extends TestSuite {
|
|||
suite.addTest(RefactoringTester.suite("Extract Function Dublicates Test", "resources/refactoring/ExtractMethodDuplicates.rts"));
|
||||
return suite;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue