mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
Added helpers to create the standard projects.
This commit is contained in:
parent
ed931ba8f9
commit
dd13cb982b
1 changed files with 18 additions and 3 deletions
|
@ -81,10 +81,25 @@ public class ProjectCreator extends TestCase {
|
|||
return project;
|
||||
}
|
||||
|
||||
public static IProject createCManagedProject(String projectName) throws Exception {
|
||||
return createProject(new Path("resources/zips/CManaged.zip"), projectName);
|
||||
}
|
||||
|
||||
public static IProject createCPPManagedProject(String projectName) throws Exception {
|
||||
return createProject(new Path("resources/zips/CPPManaged.zip"), projectName);
|
||||
}
|
||||
|
||||
public static IProject createCStandardProject(String projectName) throws Exception {
|
||||
return createProject(new Path("resources/zips/CStandard.zip"), projectName);
|
||||
}
|
||||
|
||||
public static IProject createCPPStandardProject(String projectName) throws Exception {
|
||||
return createProject(new Path("resources/zips/CPPStandard.zip"), projectName);
|
||||
}
|
||||
|
||||
public void test() throws Exception {
|
||||
IProject project = createProject(
|
||||
new Path("resources/zips/CPPManaged.zip"),
|
||||
"TestProject");
|
||||
IProject project = createCPPManagedProject("TestProject");
|
||||
assertNotNull(project);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue