geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r707039 - /geronimo/gshell/trunk/gshell-support/gshell-spring/src/test/java/org/apache/geronimo/gshell/spring/BeanContainerAwareProcessorTest.java
Date Wed, 22 Oct 2008 11:38:49 GMT
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



Mime
View raw message