use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateMvcPortlet.
@Test
public void testProjectTemplateMvcPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("mvc-portlet-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("mvc-portlet");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateSoyPortlet.
@Test
public void testProjectTemplateSoyPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("soy-portlet-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("soy-portlet");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateContentTargetingReport.
@Test
public void testProjectTemplateContentTargetingReport() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("content-targeting-report-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("content-targeting-report");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateLayoutTemplate.
@Test
public void testProjectTemplateLayoutTemplate() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("layout-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("layout-template");
IProject project = createAndBuild(op);
project.refreshLocal(IResource.DEPTH_INFINITE, _monitor);
assertTrue(project.getFile("build/libs/layout-test.war").exists());
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplateNpmAngularPortlet.
@Test
public void testProjectTemplateNpmAngularPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("npm-angular-portlet-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("npm-angular-portlet");
createAndBuild(op);
}
Aggregations