use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleModuleProjectTests method testProjectTemplatePortletToolbarContributor.
@Test
public void testProjectTemplatePortletToolbarContributor() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("portlet-toolbar-contributor-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("portlet-toolbar-contributor");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class GradleProjectTests method testThemeProjectPluginDetection.
@Test
public void testThemeProjectPluginDetection() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("gradle-theme-test");
op.setProjectProvider("gradle-module");
op.setProjectTemplateName("theme");
op.execute(ProgressMonitorBridge.create(new NullProgressMonitor()));
IProject project = CoreUtil.getProject("gradle-theme-test");
assertNotNull(project);
Util.waitForBuildAndValidation();
IBundleProject bundleProject = LiferayCore.create(IBundleProject.class, project);
assertNotNull(bundleProject);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class MavenModuleProjectTests method testProjectTemplateNpmPortlet.
@Test
public void testProjectTemplateNpmPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("npm-portlet-test");
op.setProjectProvider("maven-module");
op.setProjectTemplateName("npm-portlet");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class MavenModuleProjectTests method testProjectTemplateRest.
@Test
public void testProjectTemplateRest() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("rest-test");
op.setProjectProvider("maven-module");
op.setProjectTemplateName("rest");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class MavenModuleProjectTests method testProjectTemplateNpmIsomorphicPortlet.
@Test
public void testProjectTemplateNpmIsomorphicPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("npm-isomorphic-portlet-test");
op.setProjectProvider("maven-module");
op.setProjectTemplateName("npm-isomorphic-portlet");
createAndBuild(op);
}
Aggregations