mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixed interference between test cases.
This commit is contained in:
parent
c2306c20e5
commit
35e8c70211
1 changed files with 3 additions and 3 deletions
|
@ -40,7 +40,7 @@ public class ResourceLookupTests extends TestCase {
|
|||
@Override
|
||||
protected void setUp() {
|
||||
final IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
|
||||
fProject= root.getProject("reslookup");
|
||||
fProject= root.getProject("reslookup_" + getName());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -65,7 +65,7 @@ public class ResourceLookupTests extends TestCase {
|
|||
}
|
||||
|
||||
public void testNameLookup() throws CoreException {
|
||||
IProject[] prjs= new IProject[]{fProject};
|
||||
IProject[] prjs= new IProject[] { fProject };
|
||||
|
||||
fProject.create(new NullProgressMonitor());
|
||||
fProject.open(new NullProgressMonitor());
|
||||
|
|
Loading…
Add table
Reference in a new issue