use of com.intellij.javaee.web.framework.WebFrameworkVersion in project google-cloud-intellij by GoogleCloudPlatform.
the class AppEngineStandardSupportProviderTest method testAppEngineWithWeb_noManagedLibrariesSelected.
public void testAppEngineWithWeb_noManagedLibrariesSelected() {
setupAppEngine(new AppEngineStandardLibraryPanel(false), null);
selectFramework(WebFacet.ID);
selectVersion(WebFrameworkType.getInstance(), new WebFrameworkVersion(WebAppVersion.WebAppVersion_2_5));
addSupport();
getFacet(AppEngineStandardFacetType.ID);
assertFileExist("web/WEB-INF/web.xml");
assertFileExist("web/WEB-INF/appengine-web.xml");
final String moduleName = myModule.getName();
Artifact artifact = ArtifactsTestUtil.findArtifact(myProject, moduleName + ":war exploded");
ArtifactsTestUtil.assertLayout(artifact.getRootElement(), "<root>\n" + " javaee-resources:Web(" + moduleName + ")\n" + " WEB-INF/\n" + " classes/\n" + " module:" + moduleName + "\n");
assertRunConfigurationCreated(artifact);
}
Aggregations