mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Patch for Bogdan Gheorghe
Here is a patch that should get the build going again...
This commit is contained in:
parent
7ff5917dad
commit
f2feec1e3c
2 changed files with 7 additions and 7 deletions
|
@ -150,9 +150,9 @@ public class IndexManagerTests extends TestCase {
|
|||
cproject = project;
|
||||
cproject.open(null);
|
||||
}
|
||||
finally{
|
||||
return cproject;
|
||||
}
|
||||
|
||||
return cproject;
|
||||
|
||||
}
|
||||
|
||||
private IFile importFile(String fileName, String resourceLocation)throws Exception{
|
||||
|
|
|
@ -111,7 +111,7 @@ public class BaseSearchTest extends TestCase implements ICSearchConstants {
|
|||
}
|
||||
}
|
||||
|
||||
private IProject createProject(String projectName) {
|
||||
private IProject createProject(String projectName) throws CoreException {
|
||||
IWorkspaceRoot root = workspace.getRoot();
|
||||
IProject project = root.getProject(projectName);
|
||||
IProject cproject = null;
|
||||
|
@ -152,9 +152,9 @@ public class BaseSearchTest extends TestCase implements ICSearchConstants {
|
|||
cproject = project;
|
||||
cproject.open(null);
|
||||
}
|
||||
finally{
|
||||
return cproject;
|
||||
}
|
||||
|
||||
return cproject;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue