Skip to content

Commit

Permalink
Temporary disable test after pr#5180 (eclipse-che#5181)
Browse files Browse the repository at this point in the history
Signed-off-by: Vitalii Parfonov <vparfonov@codenvy.com>
  • Loading branch information
Vitalii Parfonov authored May 23, 2017
1 parent 6703575 commit 3758163
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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");
Expand All @@ -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<String> pkgs = mavenValueProvider.getValues(MavenAttributes.PACKAGING);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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);
Expand All @@ -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<String> strings = singletonList("src");
when(mavenProject.getSources()).thenReturn(strings);
Expand All @@ -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<String> sources = mavenValueProvider.getValues(Constants.SOURCE_FOLDER);
Expand All @@ -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<String> strings = singletonList("src/test");
when(mavenProject.getTestSources()).thenReturn(strings);
Expand All @@ -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<String> sources = mavenValueProvider.getValues(MavenAttributes.TEST_SOURCE_FOLDER);
Expand Down

0 comments on commit 3758163

Please sign in to comment.