mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 07:35:24 +02:00
Cosmetics.
This commit is contained in:
parent
8677a111d1
commit
03f8b40b22
1 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ public class ToggleRefactoringTest extends RefactoringTest {
|
|||
assertConditionsOk(refactoring.checkFinalConditions(NULL_PROGRESS_MONITOR));
|
||||
changes.perform(NULL_PROGRESS_MONITOR);
|
||||
filesDoExist();
|
||||
for(String fileName: fileMap.keySet()) {
|
||||
for (String fileName: fileMap.keySet()) {
|
||||
IFile iFile = project.getFile(new Path(fileName));
|
||||
String code = getCodeFromIFile(iFile);
|
||||
String expectedSource = fileMap.get(fileName).getExpectedSource();
|
||||
|
@ -90,21 +90,21 @@ public class ToggleRefactoringTest extends RefactoringTest {
|
|||
}
|
||||
|
||||
private void filesDoExist() {
|
||||
for(String fileName: newfiles) {
|
||||
for (String fileName: newfiles) {
|
||||
IFile file = project.getFile(new Path(fileName));
|
||||
assertTrue(file.exists());
|
||||
}
|
||||
}
|
||||
|
||||
private void filesDoNotExist() {
|
||||
for(String fileName: newfiles) {
|
||||
for (String fileName: newfiles) {
|
||||
IFile file = project.getFile(new Path(fileName));
|
||||
assertFalse(file.exists());
|
||||
}
|
||||
}
|
||||
|
||||
private void removeFiles() throws CoreException {
|
||||
for(String fileName: newfiles) {
|
||||
for (String fileName: newfiles) {
|
||||
IFile file = project.getFile(new Path(fileName));
|
||||
file.delete(true, NULL_PROGRESS_MONITOR);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue