Lines 984-989
Link Here
|
984 |
this.workingCopy.commitWorkingCopy(true, null); |
984 |
this.workingCopy.commitWorkingCopy(true, null); |
985 |
assertFalse("Should not have unsaved changes", this.workingCopy.hasUnsavedChanges()); |
985 |
assertFalse("Should not have unsaved changes", this.workingCopy.hasUnsavedChanges()); |
986 |
} |
986 |
} |
|
|
987 |
|
988 |
/* |
989 |
* Ensures that a Java project named " " doesn't exist if a working copy with no resource is created. |
990 |
* (regression test for bug 138999 Regression: Fix for 128258 introduces regression in JavaProject.exists()) |
991 |
*/ |
992 |
public void testNewWorkingCopy09() throws CoreException { |
993 |
this.workingCopy = newExternalWorkingCopy( |
994 |
"X.java", |
995 |
"public class X {\n" + |
996 |
"}" |
997 |
); |
998 |
assertFalse("Java project named \" \" should not exist", getJavaProject(ExternalJavaProject.EXTERNAL_PROJECT_NAME).exists()); |
999 |
} |
987 |
|
1000 |
|
988 |
/** |
1001 |
/** |
989 |
* Ensures that creating a DOM AST and computing the bindings takes the owner's working copies into account. |
1002 |
* Ensures that creating a DOM AST and computing the bindings takes the owner's working copies into account. |