Skip to content
Permalink
Browse files

Merge pull request #365 from jglick/branch-property-filtering-JENKINS…

…-32670

[JENKINS-32670] Integration test
Originally-Committed-As: d75fc7c8999b6d1d7bb9d98ecd81d100c3f4ae7a
  • Loading branch information...
jglick committed Mar 16, 2016
2 parents 35ff2cf + 865d09b commit 45c2d5bd3001b062133d5308309884d5c4b31c8f
@@ -119,6 +119,7 @@
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>>();
@@ -128,6 +129,9 @@
// 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")

0 comments on commit 45c2d5b

Please sign in to comment.
You can’t perform that action at this time.