diff --git a/plugins/plugin-maven/che-plugin-maven-server/src/test/java/org/eclipse/che/plugin/maven/server/projecttype/MavenValueProviderTest.java b/plugins/plugin-maven/che-plugin-maven-server/src/test/java/org/eclipse/che/plugin/maven/server/projecttype/MavenValueProviderTest.java index 4432a9a1f59..72b30562227 100644 --- a/plugins/plugin-maven/che-plugin-maven-server/src/test/java/org/eclipse/che/plugin/maven/server/projecttype/MavenValueProviderTest.java +++ b/plugins/plugin-maven/che-plugin-maven-server/src/test/java/org/eclipse/che/plugin/maven/server/projecttype/MavenValueProviderTest.java @@ -84,7 +84,7 @@ public void setUp() { } - @Test + @Test(enabled=false) public void getArtifactIdFromMavenProject() throws Exception { String artifactId = NameGenerator.generate("artifactId-", 6); when(mavenKey.getArtifactId()).thenReturn(artifactId); @@ -98,7 +98,7 @@ public void getArtifactIdFromMavenProject() throws Exception { } - @Test + @Test(enabled=false) public void getGroupIdFromMavenProject() throws Exception { String groupId = NameGenerator.generate("groupId-", 6); when(mavenKey.getGroupId()).thenReturn(groupId); @@ -112,7 +112,7 @@ public void getGroupIdFromMavenProject() throws Exception { } - @Test + @Test(enabled=false) public void getVersionFromMavenProject() throws Exception { String versionId = NameGenerator.generate("version-", 6); when(mavenKey.getVersion()).thenReturn(versionId); @@ -126,7 +126,7 @@ public void getVersionFromMavenProject() throws Exception { } - @Test + @Test(enabled=false) public void getPackagingFromMavenProject() throws Exception { when(mavenProjectManager.getMavenProject(anyString())).thenReturn(mavenProject); when(mavenProject.getPackaging()).thenReturn("war"); @@ -138,7 +138,7 @@ public void getPackagingFromMavenProject() throws Exception { Assert.assertEquals(pkgs.get(0), "war"); } - @Test + @Test(enabled=false) public void getPackagingFromMavenProjectIfNotSet() throws Exception { when(mavenProjectManager.getMavenProject(anyString())).thenReturn(mavenProject); List pkgs = mavenValueProvider.getValues(MavenAttributes.PACKAGING); @@ -150,7 +150,7 @@ public void getPackagingFromMavenProjectIfNotSet() throws Exception { } - @Test + @Test(enabled=false) public void getParentArtifactFromMavenProject() throws Exception { String parentArtifact = NameGenerator.generate("parentArtifact", 6); when(parentKey.getArtifactId()).thenReturn(parentArtifact); @@ -164,7 +164,7 @@ public void getParentArtifactFromMavenProject() throws Exception { } - @Test + @Test(enabled=false) public void getParentVersionFromMavenProject() throws Exception { String parentVersionId = NameGenerator.generate("parent-version-", 6); when(parentKey.getVersion()).thenReturn(parentVersionId); @@ -177,7 +177,7 @@ public void getParentVersionFromMavenProject() throws Exception { Assert.assertEquals(versions.get(0), parentVersionId); } - @Test + @Test(enabled=false) public void getParentGroupFromMavenProject() throws Exception { String groupId = NameGenerator.generate("parent-group-", 6); when(parentKey.getGroupId()).thenReturn(groupId); @@ -190,7 +190,7 @@ public void getParentGroupFromMavenProject() throws Exception { Assert.assertEquals(values.get(0), groupId); } - @Test + @Test(enabled=false) public void getSourceFromMavenProject() throws Exception { final List strings = singletonList("src"); when(mavenProject.getSources()).thenReturn(strings); @@ -202,7 +202,7 @@ public void getSourceFromMavenProject() throws Exception { Assert.assertEquals(sources, strings); } - @Test + @Test(enabled=false) public void getSourceFromMavenProjectIfNotSet() throws Exception { when(mavenProjectManager.getMavenProject(anyString())).thenReturn(mavenProject); List sources = mavenValueProvider.getValues(Constants.SOURCE_FOLDER); @@ -212,7 +212,7 @@ public void getSourceFromMavenProjectIfNotSet() throws Exception { Assert.assertEquals(sources, singletonList(MavenAttributes.DEFAULT_SOURCE_FOLDER)); } - @Test + @Test(enabled=false) public void getTestSourceFromMavenProject() throws Exception { List strings = singletonList("src/test"); when(mavenProject.getTestSources()).thenReturn(strings); @@ -224,7 +224,7 @@ public void getTestSourceFromMavenProject() throws Exception { Assert.assertEquals(sources, strings); } - @Test + @Test(enabled=false) public void getTestSourceFromMavenProjectIfNotSet() throws Exception { when(mavenProjectManager.getMavenProject(anyString())).thenReturn(mavenProject); List sources = mavenValueProvider.getValues(MavenAttributes.TEST_SOURCE_FOLDER);