use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class MavenModuleProjectTests method testProjectTemplateNpmReactPortlet.
@Test
public void testProjectTemplateNpmReactPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("npm-react-portlet-test");
op.setProjectProvider("maven-module");
op.setProjectTemplateName("npm-react-portlet");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class MavenModuleProjectTests method testProjectTemplateContentTargetingReport.
@Test
public void testProjectTemplateContentTargetingReport() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("content-targeting-report-test");
op.setProjectProvider("maven-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 MavenModuleProjectTests method testProjectTemplateSoyPortlet.
@Test
public void testProjectTemplateSoyPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("soy-portlet-test");
op.setProjectProvider("maven-module");
op.setProjectTemplateName("soy-portlet");
createAndBuild(op);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class MavenModuleProjectTests method testNewLiferayMavenModuleMVCPortletProject.
@Test
public void testNewLiferayMavenModuleMVCPortletProject() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("foo");
op.setProjectProvider("maven-module");
op.setComponentName("Foo");
IProject project = create(op);
assertTrue(project.getFile("src/main/java/foo/portlet/FooPortlet.java").exists());
verifyProject(project);
}
use of com.liferay.ide.project.core.modules.NewLiferayModuleProjectOp in project liferay-ide by liferay.
the class MavenModuleProjectTests method testProjectTemplateNpmVuejsPortlet.
@Test
public void testProjectTemplateNpmVuejsPortlet() throws Exception {
NewLiferayModuleProjectOp op = NewLiferayModuleProjectOp.TYPE.instantiate();
op.setProjectName("npm-vuejs-portlet-test");
op.setProjectProvider("maven-module");
op.setProjectTemplateName("npm-vuejs-portlet");
createAndBuild(op);
}
Aggregations