use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateControlMenuEntry.
@Test
public void testProjectTemplateControlMenuEntry() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("control-menu-entry-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("control-menu-entry");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateFormField.
@Test
public void testProjectTemplateFormField() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("form-field-test");
op.setProjectProvider("gradle-module");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateSpringMvcPortlet.
@Test
public void testProjectTemplateSpringMvcPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("spring-mvc-portlet-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("spring-mvc-portlet");
IProject project = createAndBuild(op);
project.refreshLocal(IResource.DEPTH_INFINITE, _monitor);
assertTrue(project.getFile("build/libs/spring-mvc-portlet-test.war").exists());
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateNpmBillboardjsPortlet.
@Test
public void testProjectTemplateNpmBillboardjsPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("npm-billboardjs-portlet-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("npm-billboardjs-portlet");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateRest.
@Test
public void testProjectTemplateRest() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("rest-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("rest");
createAndBuild(op);
}
Aggregations