blob: ec8b0c5c1ae47167b45490892026bb270f8f4be0 [file] [log] [blame]
package org.jetbrains.idea.maven.plugins;
import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase;
/**
* @author Sergey Evdokimov
*/
public class MavenParameterGoalTest extends LightCodeInsightFixtureTestCase {
public void testCompletion() {
myFixture.configureByText("pom.xml", "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<project xmlns=\"http://maven.apache.org/POM/4.0.0\"\n" +
" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
" xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\">\n" +
" <modelVersion>4.0.0</modelVersion>\n" +
"\n" +
" <groupId>simpleMaven</groupId>\n" +
" <artifactId>simpleMaven</artifactId>\n" +
" <version>1.0</version>\n" +
"\n" +
" <build>\n" +
" <plugins>\n" +
" <plugin>\n" +
" <groupId>org.apache.maven.plugins</groupId>\n" +
" <artifactId>maven-changelog-plugin</artifactId>\n" +
" <configuration>\n" +
" <goal><caret></goal>\n" +
" </configuration>\n" +
" </plugin>\n" +
" </plugins>\n" +
" </build>\n" +
"\n" +
"</project>\n");
myFixture.completeBasic();
assertContainsElements(myFixture.getLookupElementStrings(), "clean", "compile", "package");
}
}