Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Activated workflow tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Sep 6, 2015
1 parent fae8d7a commit 4890ac0
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/test/java/hudson/plugins/dry/DryWorkflowTest.java
Expand Up @@ -4,7 +4,6 @@
import org.jenkinsci.plugins.workflow.job.WorkflowJob;
import org.junit.BeforeClass;
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;
import org.jvnet.hudson.test.JenkinsRule;

Expand All @@ -19,7 +18,6 @@
* project with pmd-cpd configured.
*/
public class DryWorkflowTest {

@ClassRule
public static JenkinsRule jenkinsRule = new JenkinsRule();

Expand All @@ -33,7 +31,7 @@ public static void init() throws Exception {
/**
* Run a workflow job using {@link DryPublisher} and check for success.
*/
@Test @Ignore("not compatible with workflow 1.5")
@Test
public void dryPublisherWorkflowStep() throws Exception {
WorkflowJob job = jenkinsRule.jenkins.createProject(WorkflowJob.class, "dryPublisherWorkflowStep");
FilePath workspace = jenkinsRule.jenkins.getWorkspaceFor(job);
Expand All @@ -53,7 +51,7 @@ public void dryPublisherWorkflowStep() throws Exception {
/**
* Run a workflow job using {@link DryPublisher} with a failing threshold of 0.
*/
@Test @Ignore("not compatible with workflow 1.5")
@Test
public void dryPublisherWorkflowStepSetLimits() throws Exception {
WorkflowJob job = jenkinsRule.jenkins.createProject(WorkflowJob.class, "dryPublisherWorkflowStepSetLimits");
FilePath workspace = jenkinsRule.jenkins.getWorkspaceFor(job);
Expand All @@ -74,7 +72,7 @@ public void dryPublisherWorkflowStepSetLimits() throws Exception {
/**
* Run a workflow job using {@link DryPublisher} with a unstable threshold of 0.
*/
@Test @Ignore("not compatible with workflow 1.5")
@Test
public void dryPublisherWorkflowStepFailure() throws Exception {
WorkflowJob job = jenkinsRule.jenkins.createProject(WorkflowJob.class, "dryPublisherWorkflowStepFailure");
FilePath workspace = jenkinsRule.jenkins.getWorkspaceFor(job);
Expand Down

0 comments on commit 4890ac0

Please sign in to comment.