Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Commit

Permalink
Merge pull request #365 from jglick/branch-property-filtering-JENKINS…
Browse files Browse the repository at this point in the history
…-32670

[JENKINS-32670] Integration test
  • Loading branch information
jglick committed Mar 16, 2016
2 parents 5b4c683 + c4d91a5 commit d75fc7c
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -119,6 +119,7 @@ public class WorkflowMultiBranchProjectTest {
return p;
}

@Issue("JENKINS-32670")
@Test public void visibleBranchProperties() throws Exception {
WorkflowMultiBranchProject p = r.jenkins.createProject(WorkflowMultiBranchProject.class, "p");
Set<Class<? extends BranchProperty>> clazzes = new HashSet<Class<? extends BranchProperty>>();
Expand All @@ -128,6 +129,9 @@ public class WorkflowMultiBranchProjectTest {
// RateLimitBranchProperty & BuildRetentionBranchProperty hidden by JobPropertyStep.HideSuperfluousBranchProperties.
// UntrustedBranchProperty hidden because it applies only to Project.
assertEquals(Collections.<Class<? extends BranchProperty>>emptySet(), clazzes);
/* TODO uncomment when branch-api 1.5+:
assertEquals(Collections.<BranchPropertyStrategyDescriptor>emptyList(), r.jenkins.getDescriptorByType(BranchSource.DescriptorImpl.class).propertyStrategyDescriptors(p, r.jenkins.getDescriptorByType(SingleSCMSource.DescriptorImpl.class)));
*/
}

@SuppressWarnings("rawtypes")
Expand Down

0 comments on commit d75fc7c

Please sign in to comment.