You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/10/22 13:38:49 UTC
svn commit: r707039 -
/geronimo/gshell/trunk/gshell-support/gshell-spring/src/test/java/org/apache/geronimo/gshell/spring/BeanContainerAwareProcessorTest.java
Author: jdillon
Date: Wed Oct 22 04:38:49 2008
New Revision: 707039
URL: http://svn.apache.org/viewvc?rev=707039&view=rev
Log:
Fix test
Modified:
geronimo/gshell/trunk/gshell-support/gshell-spring/src/test/java/org/apache/geronimo/gshell/spring/BeanContainerAwareProcessorTest.java
Modified: geronimo/gshell/trunk/gshell-support/gshell-spring/src/test/java/org/apache/geronimo/gshell/spring/BeanContainerAwareProcessorTest.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-spring/src/test/java/org/apache/geronimo/gshell/spring/BeanContainerAwareProcessorTest.java?rev=707039&r1=707038&r2=707039&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-spring/src/test/java/org/apache/geronimo/gshell/spring/BeanContainerAwareProcessorTest.java (original)
+++ geronimo/gshell/trunk/gshell-support/gshell-spring/src/test/java/org/apache/geronimo/gshell/spring/BeanContainerAwareProcessorTest.java Wed Oct 22 04:38:49 2008
@@ -19,8 +19,6 @@
package org.apache.geronimo.gshell.spring;
-import junit.framework.Assert;
-
/**
* Unit tests for the {@link BeanContainerAwareProcessor} class.
*
@@ -33,7 +31,6 @@
Target target = getBeanContainer().getBean("target", Target.class);
assertNotNull(target);
assertNotNull(target.container);
- assertTrue(target.initialized);
}
//
@@ -50,11 +47,5 @@
public void setBeanContainer(BeanContainer container) {
this.container = container;
}
-
- // @PostConstruct
- public void init() {
- initialized = true;
- Assert.assertNotNull(container);
- }
}
}
\ No newline at end of file