[java-identity-provider COMMIT] /trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingpart...
noreply at shibboleth.net
noreply at shibboleth.net
Sat May 31 12:37:47 EDT 2014
Author: tzeller
Date: Sat May 31 12:37:46 2014
New Revision: 6012
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6012&view=rev
Log:
Fix class rename.
Modified:
trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/filter/NodeProcessingTest.java
Modified: trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/filter/NodeProcessingTest.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/filter/NodeProcessingTest.java?rev=6012&r1=6011&r2=6012&view=diff
==============================================================================
--- trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/filter/NodeProcessingTest.java (original)
+++ trunk/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/filter/NodeProcessingTest.java Sat May 31 12:37:46 2014
@@ -26,7 +26,7 @@
import net.shibboleth.utilities.java.support.resolver.ResolverException;
import org.opensaml.core.criterion.EntityIdCriterion;
-import org.opensaml.saml.metadata.EntitiesDescriptorGroupName;
+import org.opensaml.saml.metadata.EntityGroupName;
import org.opensaml.saml.metadata.resolver.MetadataResolver;
import org.opensaml.saml.metadata.resolver.filter.impl.EntitiesDescriptorNameProcessor;
import org.opensaml.saml.metadata.resolver.filter.impl.NodeProcessingMetadataFilter;
@@ -45,7 +45,7 @@
final NodeProcessingMetadataFilter filter = (NodeProcessingMetadataFilter) resolver.getMetadataFilter();
Assert.assertEquals(filter.getNodeProcessors().size(), 0);
}
-
+
@Test public void both() throws IOException, ResolverException {
final MetadataResolver resolver = getBean(MetadataResolver.class, true, "nodeproc/both.xml");
@@ -53,14 +53,13 @@
Assert.assertEquals(filter.getNodeProcessors().size(), 2);
Assert.assertEquals(filter.getNodeProcessors().get(0).getClass(), EntitiesDescriptorNameProcessor.class);
Assert.assertEquals(filter.getNodeProcessors().get(1).getClass(), KeyAuthorityNodeProcessor.class);
-
- final EntityDescriptor entity =
+
+ final EntityDescriptor entity =
resolver.resolveSingle(new CriteriaSet(new EntityIdCriterion("https://sp.example.org/sp/shibboleth")));
Assert.assertNotNull(entity);
- final List<EntitiesDescriptorGroupName> groups =
- entity.getObjectMetadata().get(EntitiesDescriptorGroupName.class);
+ final List<EntityGroupName> groups = entity.getObjectMetadata().get(EntityGroupName.class);
Assert.assertEquals(groups.size(), 1);
Assert.assertEquals(groups.get(0).getName(), "Example");
}
-
+
}
More information about the commits
mailing list