mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Cosmetics.
This commit is contained in:
parent
636fd192ac
commit
b937c5c50b
2 changed files with 6 additions and 9 deletions
|
@ -38,7 +38,6 @@ public class HideMethodRefactoringTest extends RefactoringTest {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void runTest() throws Throwable {
|
protected void runTest() throws Throwable {
|
||||||
|
|
||||||
IFile refFile = project.getFile(fileWithSelection);
|
IFile refFile = project.getFile(fileWithSelection);
|
||||||
CRefactoring refactoring = new HideMethodRefactoring(refFile,selection, null, cproject);
|
CRefactoring refactoring = new HideMethodRefactoring(refFile,selection, null, cproject);
|
||||||
RefactoringStatus checkInitialConditions = refactoring.checkInitialConditions(NULL_PROGRESS_MONITOR);
|
RefactoringStatus checkInitialConditions = refactoring.checkInitialConditions(NULL_PROGRESS_MONITOR);
|
||||||
|
@ -59,7 +58,6 @@ public class HideMethodRefactoringTest extends RefactoringTest {
|
||||||
assertConditionsOk(finalConditions);
|
assertConditionsOk(finalConditions);
|
||||||
}
|
}
|
||||||
createChange.perform(NULL_PROGRESS_MONITOR);
|
createChange.perform(NULL_PROGRESS_MONITOR);
|
||||||
|
|
||||||
compareFiles(fileMap);
|
compareFiles(fileMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,6 +66,5 @@ public class HideMethodRefactoringTest extends RefactoringTest {
|
||||||
warnings = new Integer(refactoringProperties.getProperty("warnings", "0")).intValue(); //$NON-NLS-1$//$NON-NLS-2$
|
warnings = new Integer(refactoringProperties.getProperty("warnings", "0")).intValue(); //$NON-NLS-1$//$NON-NLS-2$
|
||||||
errors = new Integer(refactoringProperties.getProperty("errors", "0")).intValue(); //$NON-NLS-1$//$NON-NLS-2$
|
errors = new Integer(refactoringProperties.getProperty("errors", "0")).intValue(); //$NON-NLS-1$//$NON-NLS-2$
|
||||||
fatalerrors = new Integer(refactoringProperties.getProperty("fatalerrors", "0")).intValue(); //$NON-NLS-1$//$NON-NLS-2$
|
fatalerrors = new Integer(refactoringProperties.getProperty("fatalerrors", "0")).intValue(); //$NON-NLS-1$//$NON-NLS-2$
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue