[java-identity-provider COMMIT] in /trunk/idp-core/src/test/java/net/shibboleth/idp/spring: BeanPostProcessorTest.jav...
noreply at shibboleth.net
noreply at shibboleth.net
Tue Feb 25 14:15:53 EST 2014
Author: tzeller
Date: Tue Feb 25 14:15:53 2014
New Revision: 5474
URL: http://svn.shibboleth.net/view/java-identity-provider?rev=5474&view=rev
Log:
JSPT-40 : Rename BeanPostProcessorTest to IdentifiableBeanPostProcessorTest.
Added:
trunk/idp-core/src/test/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessorTest.java
- copied, changed from r5462, trunk/idp-core/src/test/java/net/shibboleth/idp/spring/BeanPostProcessorTest.java
Modified:
trunk/idp-core/src/test/java/net/shibboleth/idp/spring/BeanPostProcessorTest.java
Copied: trunk/idp-core/src/test/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessorTest.java (from r5462, trunk/idp-core/src/test/java/net/shibboleth/idp/spring/BeanPostProcessorTest.java)
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-core/src/test/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessorTest.java?p2=trunk/idp-core/src/test/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessorTest.java&p1=trunk/idp-core/src/test/java/net/shibboleth/idp/spring/BeanPostProcessorTest.java&r1=5462&r2=5474&rev=5474&view=diff
==============================================================================
--- trunk/idp-core/src/test/java/net/shibboleth/idp/spring/BeanPostProcessorTest.java (original)
+++ trunk/idp-core/src/test/java/net/shibboleth/idp/spring/IdentifiableBeanPostProcessorTest.java Tue Feb 25 14:15:53 2014
@@ -34,7 +34,7 @@
* A test for {@link IdentifiableBeanPostProcessor}.
*/
@ContextConfiguration({"identifiableBeanPostProcessorTest.xml"})
-public class BeanPostProcessorTest extends AbstractTestNGSpringContextTests {
+public class IdentifiableBeanPostProcessorTest extends AbstractTestNGSpringContextTests {
@Test(expectedExceptions = {ComponentInitializationException.class, BeanCreationException.class,}) public void
defaultedIdentified() {
@@ -49,7 +49,6 @@
@Test public void nonDefaultedIdentified() {
IdentifiedComponent bean = applicationContext.getBean("NonDefaultIdentifiedBean", Identified.class);
Assert.assertEquals("NameForAnIdentifiedBean", bean.getId());
-
}
@Test public void nonDefaultedIdentifiable() {
@@ -60,7 +59,6 @@
@Test public void TautologousTest() {
IdentifiedComponent bean = applicationContext.getBean("TautologousName", Identifiable.class);
Assert.assertEquals("TautologousName", bean.getId());
-
}
public static class Identified extends AbstractIdentifiedInitializableComponent {
More information about the commits
mailing list