openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r765268 - in /incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests: ./ binding/ decorator/ dependent/ exception/ intercept/ library/ newcomp/ pfield/ producer/broken/ realization/ typedliteral/ xml/
Date Wed, 15 Apr 2009 16:52:14 GMT
Author: struberg
Date: Wed Apr 15 16:52:13 2009
New Revision: 765268

URL: http://svn.apache.org/viewvc?rev=765268&view=rev
Log:
testcode cleanup: remove unused function overrides and imports + harmonise exception handling in tests

Modified:
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/CurrentInjectedComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/DisposalInjectedComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTestWithMember.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PaymentProcessorComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PostConstructComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PreDestroyComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/Producer1ConsumerComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ProducerComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ScopeAdapterTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/SingletonComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedInjectedComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/UserComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/binding/BrokenBindingComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/decorator/DecoratorExceptionTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/dependent/DependentComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ExceptionComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ScopeTypeExceptionComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptorExceptionComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructDoubleInterceptorComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructInterceptorComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/library/LibraryComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/newcomp/NewComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/pfield/ProducerFieldComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/producer/broken/BrokenProducerTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/realization/RealizationComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/typedliteral/TypedLiteralComponentTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLAnnotTypeTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLFieldTest.java
    incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLTest.java

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/CurrentInjectedComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/CurrentInjectedComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/CurrentInjectedComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/CurrentInjectedComponentTest.java Wed Apr 15 16:52:13 2009
@@ -15,7 +15,6 @@
 
 import java.util.List;
 
-import javax.servlet.ServletContext;
 import javax.servlet.http.HttpSession;
 
 import junit.framework.Assert;
@@ -37,22 +36,12 @@
         super(CurrentInjectedComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @SuppressWarnings("unchecked")
     @Test
     public void testTypedComponent() throws Throwable

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/DisposalInjectedComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/DisposalInjectedComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/DisposalInjectedComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/DisposalInjectedComponentTest.java Wed Apr 15 16:52:13 2009
@@ -16,7 +16,6 @@
 import java.util.List;
 
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 
 import junit.framework.Assert;
 
@@ -39,11 +38,6 @@
         super(DisposalInjectedComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
@@ -51,11 +45,6 @@
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTest.java Wed Apr 15 16:52:13 2009
@@ -15,8 +15,6 @@
 
 import java.util.List;
 
-import javax.servlet.ServletContext;
-
 import junit.framework.Assert;
 
 import org.apache.webbeans.component.AbstractComponent;
@@ -35,22 +33,12 @@
         super(InjectedComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTestWithMember.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTestWithMember.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTestWithMember.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/InjectedComponentTestWithMember.java Wed Apr 15 16:52:13 2009
@@ -16,7 +16,6 @@
 import java.util.List;
 
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 import javax.servlet.http.HttpSession;
 
 import junit.framework.Assert;
@@ -39,11 +38,6 @@
         super(InjectedComponentTestWithMember.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
@@ -51,11 +45,6 @@
         this.container = ManagerImpl.getManager();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PaymentProcessorComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PaymentProcessorComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PaymentProcessorComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PaymentProcessorComponentTest.java Wed Apr 15 16:52:13 2009
@@ -15,15 +15,12 @@
 
 import java.util.List;
 
-import javax.context.RequestScoped;
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 
 import junit.framework.Assert;
 
 import org.apache.webbeans.component.AbstractComponent;
 import org.apache.webbeans.context.ContextFactory;
-import org.apache.webbeans.context.creational.CreationalContextImpl;
 import org.apache.webbeans.test.component.CheckWithCheckPayment;
 import org.apache.webbeans.test.component.CheckWithMoneyPayment;
 import org.apache.webbeans.test.component.IPayment;
@@ -32,7 +29,6 @@
 import org.junit.Before;
 import org.junit.Test;
 
-@SuppressWarnings("unchecked")
 public class PaymentProcessorComponentTest extends TestContext
 {
     Manager container = null;
@@ -42,22 +38,12 @@
         super(PaymentProcessorComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PostConstructComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PostConstructComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PostConstructComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PostConstructComponentTest.java Wed Apr 15 16:52:13 2009
@@ -16,7 +16,6 @@
 import java.util.List;
 
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 
 import junit.framework.Assert;
 
@@ -39,22 +38,12 @@
         super(PostConstructComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @SuppressWarnings("unchecked")
     @Test
     public void testTypedComponent() throws Throwable

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PreDestroyComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PreDestroyComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PreDestroyComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/PreDestroyComponentTest.java Wed Apr 15 16:52:13 2009
@@ -16,7 +16,6 @@
 import java.util.List;
 
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 
 import junit.framework.Assert;
 
@@ -40,11 +39,6 @@
         super(PreDestroyComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
@@ -52,11 +46,6 @@
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @SuppressWarnings("unchecked")
     @Test
     public void testTypedComponent() throws Throwable

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/Producer1ConsumerComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/Producer1ConsumerComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/Producer1ConsumerComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/Producer1ConsumerComponentTest.java Wed Apr 15 16:52:13 2009
@@ -16,7 +16,6 @@
 import java.util.List;
 
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 
 import junit.framework.Assert;
 
@@ -40,11 +39,6 @@
         super(Producer1ConsumerComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
@@ -52,11 +46,6 @@
         this.container = ManagerImpl.getManager();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ProducerComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ProducerComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ProducerComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ProducerComponentTest.java Wed Apr 15 16:52:13 2009
@@ -44,11 +44,6 @@
         super(ProducerComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ScopeAdapterTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ScopeAdapterTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ScopeAdapterTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/ScopeAdapterTest.java Wed Apr 15 16:52:13 2009
@@ -15,7 +15,6 @@
 
 import java.util.List;
 
-import javax.servlet.ServletContext;
 import javax.servlet.http.HttpSession;
 
 import junit.framework.Assert;
@@ -36,12 +35,6 @@
         super(ScopeAdapterTest.class.getName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-        // TODO Auto-generated method stub
-
-    }
-
     @Before
     public void init()
     {
@@ -49,11 +42,6 @@
 
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testDependent()
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/SingletonComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/SingletonComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/SingletonComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/SingletonComponentTest.java Wed Apr 15 16:52:13 2009
@@ -16,7 +16,6 @@
 import java.util.List;
 
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 import javax.servlet.http.HttpSession;
 
 import junit.framework.Assert;
@@ -40,11 +39,6 @@
         super(SingletonComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
@@ -52,11 +46,6 @@
         this.container = ManagerImpl.getManager();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @SuppressWarnings("unchecked")
     @Test
     public void testTypedComponent() throws Throwable

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedComponentTest.java Wed Apr 15 16:52:13 2009
@@ -18,7 +18,6 @@
 
 import javax.inject.Current;
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 
 import junit.framework.Assert;
 
@@ -40,11 +39,6 @@
         super(TypedComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
@@ -52,11 +46,6 @@
         this.container = ManagerImpl.getManager();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedInjectedComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedInjectedComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedInjectedComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/TypedInjectedComponentTest.java Wed Apr 15 16:52:13 2009
@@ -16,7 +16,6 @@
 import java.util.List;
 
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 import javax.servlet.http.HttpSession;
 
 import junit.framework.Assert;
@@ -41,11 +40,6 @@
         super(TypedInjectedComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
@@ -53,11 +47,6 @@
         this.container = ManagerImpl.getManager();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/UserComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/UserComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/UserComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/UserComponentTest.java Wed Apr 15 16:52:13 2009
@@ -16,7 +16,6 @@
 import java.util.List;
 
 import javax.inject.manager.Manager;
-import javax.servlet.ServletContext;
 import javax.servlet.http.HttpSession;
 
 import junit.framework.Assert;
@@ -39,11 +38,6 @@
         super(UserComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
@@ -51,11 +45,6 @@
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/binding/BrokenBindingComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/binding/BrokenBindingComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/binding/BrokenBindingComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/binding/BrokenBindingComponentTest.java Wed Apr 15 16:52:13 2009
@@ -13,10 +13,11 @@
  */
 package org.apache.webbeans.test.unittests.binding;
 
+import junit.framework.Assert;
+
 import org.apache.webbeans.test.component.binding.BindingWithNonBindingAnnotationTypeComponent;
 import org.apache.webbeans.test.component.binding.BindingWithNonBindingArrayTypeComponent;
 import org.apache.webbeans.test.servlet.TestContext;
-import org.apache.webbeans.util.Asserts;
 import org.junit.Before;
 import org.junit.Test;
 
@@ -37,41 +38,31 @@
     @Test
     public void testNonBindingArrayType()
     {
-        Exception exc = null;
-
         try
         {
             defineSimpleWebBean(BindingWithNonBindingArrayTypeComponent.class);
-
         }
         catch (Exception e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Asserts.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testNonBindingAnnotationType()
     {
-        Exception exc = null;
-
         try
         {
             defineSimpleWebBean(BindingWithNonBindingAnnotationTypeComponent.class);
-
         }
         catch (Exception e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Asserts.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/decorator/DecoratorExceptionTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/decorator/DecoratorExceptionTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/decorator/DecoratorExceptionTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/decorator/DecoratorExceptionTest.java Wed Apr 15 16:52:13 2009
@@ -61,84 +61,68 @@
     @Test
     public void testDelegateAttributeIsnotInterface()
     {
-        Exception exc = null;
         try
         {
             defineSimpleWebBeansDecorators(DelegateAttributeIsnotInterface.class);
         }
         catch (Exception e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Asserts.assertNotNull(exc);
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testMoreThanOneDelegateAttribute()
     {
-        Exception exc = null;
         try
         {
             defineSimpleWebBeansDecorators(MoreThanOneDelegateAttribute.class);
         }
         catch (Exception e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Asserts.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testApplyToSimpleWebBeanFinal()
     {
-        Exception excp = null;
-
-        Assert.assertNull(excp);
-
+        // TODO test is incomplete!
     }
 
     @Test
     public void testApplyToSimpleWebBeanFinalMethodsDecoratorImplements()
     {
-        Exception exc = null;
-
         try
         {
             defineSimpleWebBeansDecorators(PaymentDecorator.class);
             defineSimpleWebBean(CheckWithCheckPaymentDecoratorField.class);
-
         }
         catch (Exception e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testDelegateAttributeMustImplementAllDecoratedTypes()
     {
-        Exception exc = null;
         try
         {
             defineSimpleWebBeansDecorators(DelegateAttributeMustImplementAllDecoratedTypes.class);
         }
         catch (Exception e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Asserts.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
@@ -159,18 +143,15 @@
         }
         catch (Exception e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Asserts.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testResolveNonBindingTypeAnnotation()
     {
-        Exception exc = null;
         try
         {
 
@@ -184,18 +165,15 @@
         }
         catch (Exception e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Asserts.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testResolveApiTypesEmpty()
     {
-        Exception exc = null;
         try
         {
 
@@ -208,12 +186,10 @@
         }
         catch (Exception e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Asserts.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/dependent/DependentComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/dependent/DependentComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/dependent/DependentComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/dependent/DependentComponentTest.java Wed Apr 15 16:52:13 2009
@@ -36,24 +36,12 @@
         super(DependentComponentTest.class.getName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-        // TODO Auto-generated method stub
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-        // TODO Auto-generated method stub
-
-    }
-
     @Test
     public void testDependent()
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ExceptionComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ExceptionComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ExceptionComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ExceptionComponentTest.java Wed Apr 15 16:52:13 2009
@@ -73,30 +73,20 @@
 
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testComponentTypeException()
     {
-        WebBeansConfigurationException exc = null;
-
         try
         {
             clear();
             defineSimpleWebBean(ComponentTypeExceptionComponent.class);
-
         }
         catch (WebBeansConfigurationException e)
         {
             System.out.println(e.getMessage());
-            exc = e;
-
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
+        Assert.fail("expecting an exception!");
     }
 
     @Test
@@ -111,219 +101,150 @@
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testFinal()
     {
-        WebBeansConfigurationException exc = null;
-        try
-        {
-            clear();
-            defineSimpleWebBean(FinalComponent.class);
-
-        }
-        catch (WebBeansConfigurationException e)
-        {
-            System.out.println(e.getMessage());
-            exc = e;
-        }
-
-        Assert.assertNull(exc);
-
+        clear();
+        defineSimpleWebBean(FinalComponent.class);
     }
 
     @Test
     public void testAbstract()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             defineSimpleWebBean(AbstractComponent.class);
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testInner()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             defineSimpleWebBean(InnerInnerComponent.class);
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testHasFinalMethod()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             defineSimpleWebBean(HasFinalMethodComponent.class);
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void constructorTest()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             defineSimpleWebBean(MoreThanOneConstructureComponent.class);
-
+            Assert.fail("expecting an exception!");
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            // all ok
+            System.out.println("got expected exception: " + e.getMessage());
         }
 
-        Assert.assertNotNull(exc);
-        exc = null;
-
         try
         {
             clear();
             defineSimpleWebBean(MoreThanOneConstructureComponent2.class);
-
+            // all ok
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
         }
-        Assert.assertNotNull(exc);
-        exc = null;
-
-        try
-        {
-            clear();
-            defineSimpleWebBean(NoConstructureComponent.class);
 
-        }
-        catch (WebBeansConfigurationException e)
-        {
-            System.out.println(e.getMessage());
-            exc = e;
-        }
-        Assert.assertNull(exc);
+        clear();
+        defineSimpleWebBean(NoConstructureComponent.class);
     }
 
     @Test
     public void testStaticProducerMethod()
     {
-        WebBeansConfigurationException exc = null;
-        try
-        {
-            clear();
-            defineSimpleWebBean(ProducerTypeStaticComponent.class);
-
-        }
-        catch (WebBeansConfigurationException e)
-        {
-            System.out.println(e.getMessage());
-            exc = e;
-        }
-
-        Assert.assertNull(exc);
-
+        clear();
+        defineSimpleWebBean(ProducerTypeStaticComponent.class);
     }
 
     @Test
     public void testDisposeMethod()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             defineSimpleWebBean(MultipleDisposalMethodComponent.class);
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testNewInterface()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             defineSimpleWebBean(NewComponentInterfaceComponent.class);
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testNewBinding()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             defineSimpleWebBean(NewComponentBindingComponent.class);
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
@@ -349,297 +270,232 @@
     @Test
     public void testMoreThanOnePostConstruct()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<MoreThanOnePostConstructComponent> component = defineSimpleWebBean(MoreThanOnePostConstructComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testPostConstructHasParameter()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<PostContructMethodHasParameterComponent> component = defineSimpleWebBean(PostContructMethodHasParameterComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testPostConstructHasReturnType()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(PostContructMethodHasReturnTypeComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testPostConstructHasCheckedException()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(PostContructMethodHasCheckedExceptionComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testPostConstructHasStatic()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(PostContructMethodHasStaticComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testMoreThanOneAroundInvoke()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(MoreThanOneAroundInvokeComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testAroundInvokeWithSameMethodName()
     {
-        WebBeansConfigurationException exc = null;
-        try
-        {
-            clear();
-            defineSimpleWebBean(AroundInvokeWithSameMethodNameComponent.class);
-            Bean<?> comp = getComponents().get(0);
-
-            Assert.assertEquals(0, ((AbstractComponent<?>) comp).getInterceptorStack().size());
-
-        }
-        catch (WebBeansConfigurationException e)
-        {
-            System.out.println(e.getMessage());
-            exc = e;
-        }
-
-        Assert.assertNull(exc);
+        clear();
+        defineSimpleWebBean(AroundInvokeWithSameMethodNameComponent.class);
+        Bean<?> comp = getComponents().get(0);
 
+        Assert.assertEquals(0, ((AbstractComponent<?>) comp).getInterceptorStack().size());
     }
 
     @Test
     public void testAroundInvokeWithoutParameter()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(AroundInvokeWithoutParameterComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testAroundInvokeWithoutReturnType()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(AroundInvokeWithoutReturnTypeComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testAroundInvokeWithWrongReturnType()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(AroundInvokeWithWrongReturnTypeComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testAroundInvokeWithoutException()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(AroundInvokeWithoutExceptionComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testAroundInvokeWithStatic()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(AroundInvokeWithStaticMethodComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testAroundInvokeWithFinal()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(AroundInvokeWithFinalMethodComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testNoArgConstructorInterceptor()
     {
-        WebBeansConfigurationException exc = null;
         try
         {
             clear();
             AbstractComponent<?> component = defineSimpleWebBean(NoArgConstructorInterceptorComponent.class);
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
-
+        Assert.fail("expecting an exception!");
     }
 
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ScopeTypeExceptionComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ScopeTypeExceptionComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ScopeTypeExceptionComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/exception/ScopeTypeExceptionComponentTest.java Wed Apr 15 16:52:13 2009
@@ -53,11 +53,6 @@
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testComponentWithNonScopeStero()
     {
@@ -71,7 +66,6 @@
     @Test
     public void testComponentDefaultScopeWithNonScopeStero()
     {
-        WebBeansConfigurationException exc = null;
         clear();
         defineSimpleWebBean(ComponentDefaultScopeWithNonScopeStero.class);
         Bean<?> bean = getComponents().get(0);
@@ -92,21 +86,17 @@
     @Test
     public void testComponentWithDifferentScopeSteros()
     {
-        WebBeansConfigurationException exc = null;
         clear();
         try
         {
             defineSimpleWebBean(ComponentWithDifferentScopeSteros.class);
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
-
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
+        Assert.fail("expecting an exception!");
     }
 
     @Test
@@ -142,19 +132,17 @@
     @Test
     public void testComponentNonDefaultScopeWithDifferentScopeSteros()
     {
-        WebBeansConfigurationException exc = null;
         clear();
         try
         {
             defineSimpleWebBean(ComponentNonDefaultScopeWithDifferentScopeSteros.class);
-
         }
         catch (WebBeansConfigurationException e)
         {
-            exc = e;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
+        Assert.fail("expecting an exception!");
     }
 
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptComponentTest.java Wed Apr 15 16:52:13 2009
@@ -50,29 +50,10 @@
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testInterceptedComponent()
     {
-        WebBeansConfigurationException exc = null;
-
-        try
-        {
-            defineSimpleWebBean(InterceptedComponent.class);
-
-        }
-        catch (WebBeansConfigurationException e)
-        {
-            System.out.println(e.getMessage());
-            exc = e;
-
-        }
-
-        Assert.assertNull(exc);
+        defineSimpleWebBean(InterceptedComponent.class);
     }
 
     @Test

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptorExceptionComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptorExceptionComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptorExceptionComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/EJBInterceptorExceptionComponentTest.java Wed Apr 15 16:52:13 2009
@@ -13,8 +13,6 @@
  */
 package org.apache.webbeans.test.unittests.intercept;
 
-import javax.servlet.ServletContext;
-
 import junit.framework.Assert;
 
 import org.apache.webbeans.component.AbstractComponent;
@@ -33,42 +31,27 @@
         super(EJBInterceptorExceptionComponentTest.class.getName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testComponentTypeException()
     {
-        WebBeansConfigurationException exc = null;
-
         try
         {
             AbstractComponent<MultpleInterceptor> component = defineSimpleWebBean(MultpleInterceptor.class);
 
             EJBInterceptorConfig.configure(component.getReturnType(), component.getInterceptorStack());
-
         }
         catch (WebBeansConfigurationException e)
         {
-            System.out.println(e.getMessage());
-            exc = e;
-
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(exc);
+        Assert.fail("expecting an exception!");
     }
 
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructDoubleInterceptorComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructDoubleInterceptorComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructDoubleInterceptorComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructDoubleInterceptorComponentTest.java Wed Apr 15 16:52:13 2009
@@ -15,8 +15,6 @@
 
 import java.util.List;
 
-import javax.servlet.ServletContext;
-
 import junit.framework.Assert;
 
 import org.apache.webbeans.component.AbstractComponent;
@@ -37,22 +35,12 @@
         super(PostConstructDoubleInterceptorComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @SuppressWarnings("unchecked")
     @Test
     public void testTypedComponent() throws Throwable

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructInterceptorComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructInterceptorComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructInterceptorComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/intercept/PostConstructInterceptorComponentTest.java Wed Apr 15 16:52:13 2009
@@ -15,8 +15,6 @@
 
 import java.util.List;
 
-import javax.servlet.ServletContext;
-
 import junit.framework.Assert;
 
 import org.apache.webbeans.component.AbstractComponent;
@@ -36,22 +34,12 @@
         super(PostConstructInterceptorComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @SuppressWarnings("unchecked")
     @Test
     public void testTypedComponent() throws Throwable

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/library/LibraryComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/library/LibraryComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/library/LibraryComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/library/LibraryComponentTest.java Wed Apr 15 16:52:13 2009
@@ -15,8 +15,6 @@
 
 import java.util.List;
 
-import javax.servlet.ServletContext;
-
 import junit.framework.Assert;
 
 import org.apache.webbeans.component.AbstractComponent;
@@ -35,22 +33,12 @@
         super(LibraryComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/newcomp/NewComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/newcomp/NewComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/newcomp/NewComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/newcomp/NewComponentTest.java Wed Apr 15 16:52:13 2009
@@ -15,16 +15,10 @@
 
 import java.util.List;
 
-import javax.context.Contextual;
-import javax.context.CreationalContext;
-import javax.context.RequestScoped;
-import javax.servlet.ServletContext;
-
 import junit.framework.Assert;
 
 import org.apache.webbeans.component.AbstractComponent;
 import org.apache.webbeans.context.ContextFactory;
-import org.apache.webbeans.context.creational.CreationalContextFactory;
 import org.apache.webbeans.test.component.CheckWithCheckPayment;
 import org.apache.webbeans.test.component.IPayment;
 import org.apache.webbeans.test.component.dependent.DependentComponent;
@@ -42,10 +36,6 @@
         super(NewComponentTest.class.getName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-    }
-
     @Before
     public void init()
     {
@@ -53,12 +43,7 @@
 
     }
 
-    public void startTests(ServletContext ctx)
-    {
-    }
-
     @Test
-    @SuppressWarnings("unchecked")
     public void testDependent()
     {
         clear();

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/pfield/ProducerFieldComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/pfield/ProducerFieldComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/pfield/ProducerFieldComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/pfield/ProducerFieldComponentTest.java Wed Apr 15 16:52:13 2009
@@ -69,8 +69,6 @@
         Assert.assertNotNull(injectedComponentInstance);
         
         Assert.assertNotNull(injectedComponentInstance.getPaymentProcessorName());
-        
-        
     }
 
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/producer/broken/BrokenProducerTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/producer/broken/BrokenProducerTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/producer/broken/BrokenProducerTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/producer/broken/BrokenProducerTest.java Wed Apr 15 16:52:13 2009
@@ -41,120 +41,97 @@
     @Test
     public void testBroken1()
     {
-        Exception e = null;
-
         try
         {
             clear();
             defineSimpleWebBean(BrokenProducerComponent1.class);
-
         }
-        catch (Exception e1)
+        catch (Exception e)
         {
-            e = e1;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(e);
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testBroken2()
     {
-        Exception e = null;
-
         try
         {
             clear();
             defineSimpleWebBean(BrokenProducerComponent2.class);
-
         }
-        catch (Exception e1)
+        catch (Exception e)
         {
-            e = e1;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(e);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testBroken3()
     {
-        Exception e = null;
-
         try
         {
             clear();
             defineSimpleWebBean(BrokenProducerComponent3.class);
-
         }
-        catch (Exception e1)
+        catch (Exception e)
         {
-            e = e1;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(e);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testBroken4()
     {
-        Exception e = null;
-
         try
         {
             clear();
             defineSimpleWebBean(BrokenProducerComponent4.class);
-
         }
-        catch (Exception e1)
+        catch (Exception e)
         {
-            e = e1;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(e);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testBroken5()
     {
-        Exception e = null;
-
         try
         {
             clear();
             defineSimpleWebBean(BrokenProducerComponent5.class);
-
         }
-        catch (Exception e1)
+        catch (Exception e)
         {
-            e = e1;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(e);
-
+        Assert.fail("expecting an exception!");
     }
 
     @Test
     public void testBroken6()
     {
-        Exception e = null;
-
         try
         {
             clear();
             defineSimpleWebBean(BrokenProducerComponent6.class);
-
         }
-        catch (Exception e1)
+        catch (Exception e)
         {
-            e = e1;
+            System.out.println("got expected exception: " + e.getMessage());
+            return; // all ok!
         }
-
-        Assert.assertNotNull(e);
-
+        Assert.fail("expecting an exception!");
     }
 
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/realization/RealizationComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/realization/RealizationComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/realization/RealizationComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/realization/RealizationComponentTest.java Wed Apr 15 16:52:13 2009
@@ -66,6 +66,6 @@
         Bean<RealizationProducerFieldInjecterComponent> inejtecer = defineSimpleWebBean(RealizationProducerFieldInjecterComponent.class);
         RealizationProducerFieldInjecterComponent instance = getManager().getInstance(inejtecer);
         
-        //Assert.assertSame(component, instance.getComponent());
+        // TODO Assert.assertSame(component, instance.getComponent());
     }
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/typedliteral/TypedLiteralComponentTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/typedliteral/TypedLiteralComponentTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/typedliteral/TypedLiteralComponentTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/typedliteral/TypedLiteralComponentTest.java Wed Apr 15 16:52:13 2009
@@ -20,7 +20,6 @@
 import javax.inject.Current;
 import javax.inject.TypeLiteral;
 import javax.inject.manager.Bean;
-import javax.servlet.ServletContext;
 
 import junit.framework.Assert;
 
@@ -41,22 +40,12 @@
         super(TypedLiteralComponentTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
         super.init();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void testTypedComponent() throws Throwable
     {

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLAnnotTypeTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLAnnotTypeTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLAnnotTypeTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLAnnotTypeTest.java Wed Apr 15 16:52:13 2009
@@ -32,7 +32,7 @@
 
     public void init()
     {
-
+        // TODO is this intentionally that we do not call super.init() ?
     }
 
     @Test
@@ -50,12 +50,12 @@
     @Test
     public void testInterceptorBindingAnnotation()
     {
-
+        //X TODO
     }
 
     @Test
     public void testStereotypeAnnotation()
     {
-
+        //X TODO
     }
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLFieldTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLFieldTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLFieldTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLFieldTest.java Wed Apr 15 16:52:13 2009
@@ -35,11 +35,6 @@
         super(XMLFieldTest.class.getSimpleName());
     }
 
-    public void endTests(ServletContext ctx)
-    {
-
-    }
-
     @Before
     public void init()
     {
@@ -47,51 +42,35 @@
         this.container = ManagerImpl.getManager();
     }
 
-    public void startTests(ServletContext ctx)
-    {
-
-    }
-
     @Test
     public void nameSpacesNotDeclared()
     {
-        Throwable e = null;
-        try
-        {
-            InputStream stream = XMLFieldTest.class.getClassLoader().getResourceAsStream("org/apache/webbeans/test/xml/fieldTest.xml");
-            Assert.assertNotNull(stream);
-
-            /* Clear the manager component list */
-            clear();
-
-            this.xmlConfigurator.configure(stream, "fieldTest.xml");
-
-            ComponentForField cff = (ComponentForField) container.getInstanceByName("componentForField");
-
-            Assert.assertNotNull(cff);
-            Assert.assertEquals(35, cff.getIntField());
-            Assert.assertEquals(35.3f, cff.getFloatField());
-            Assert.assertEquals(35.5d, cff.getDoubleField());
-            Assert.assertEquals('a', cff.getCharField());
-            Assert.assertEquals(37, cff.getLongField());
-            Assert.assertEquals(1, cff.getByteField());
-            Assert.assertEquals(5, cff.getShortField());
-            Assert.assertEquals(true, cff.isBooleanField());
-            Assert.assertEquals("ENUM1", cff.getEnum1().name());
-            Assert.assertEquals("dskfj", cff.getStrField());
-            Assert.assertNotNull(cff.getDateField());
-            Assert.assertNotNull(cff.getCalendarField());
-            Assert.assertEquals(ComponentForField.class, cff.getClazzField());
-            Assert.assertNotNull(cff.getListStrField());
-            Assert.assertNotNull(cff.getListEnumField());
-
-        }
-        catch (Throwable e1)
-        {
-            e = e1;
-        }
+        InputStream stream = XMLFieldTest.class.getClassLoader().getResourceAsStream("org/apache/webbeans/test/xml/fieldTest.xml");
+        Assert.assertNotNull(stream);
+
+        /* Clear the manager component list */
+        clear();
+
+        this.xmlConfigurator.configure(stream, "fieldTest.xml");
 
-        Assert.assertNull(e);
+        ComponentForField cff = (ComponentForField) container.getInstanceByName("componentForField");
+
+        Assert.assertNotNull(cff);
+        Assert.assertEquals(35, cff.getIntField());
+        Assert.assertEquals(35.3f, cff.getFloatField());
+        Assert.assertEquals(35.5d, cff.getDoubleField());
+        Assert.assertEquals('a', cff.getCharField());
+        Assert.assertEquals(37, cff.getLongField());
+        Assert.assertEquals(1, cff.getByteField());
+        Assert.assertEquals(5, cff.getShortField());
+        Assert.assertEquals(true, cff.isBooleanField());
+        Assert.assertEquals("ENUM1", cff.getEnum1().name());
+        Assert.assertEquals("dskfj", cff.getStrField());
+        Assert.assertNotNull(cff.getDateField());
+        Assert.assertNotNull(cff.getCalendarField());
+        Assert.assertEquals(ComponentForField.class, cff.getClazzField());
+        Assert.assertNotNull(cff.getListStrField());
+        Assert.assertNotNull(cff.getListEnumField());
     }
 
 }

Modified: incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLTest.java
URL: http://svn.apache.org/viewvc/incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLTest.java?rev=765268&r1=765267&r2=765268&view=diff
==============================================================================
--- incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLTest.java (original)
+++ incubator/openwebbeans/trunk/webbeans-impl/src/test/java/org/apache/webbeans/test/unittests/xml/XMLTest.java Wed Apr 15 16:52:13 2009
@@ -29,7 +29,7 @@
 
 public class XMLTest extends TestContext
 {
-    Manager container = null;
+    private Manager container = null;
 
     public XMLTest()
     {



Mime
View raw message